You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Hemant Bhatt <he...@sansuisoftware.com> on 2003/08/12 08:14:18 UTC
Error In using greek alphabets in XML file:
UTFDataFormatException error
hello everyone.
sorry for asking a very basic doubt.
i want to use greek alphabets in CDATA section like
<SubTitle xml:lang="en">
<![CDATA[ ?$ ]]>
</SubTitle>
but the parser gives an error, how to handle it? otherwise the document is
well formed.
attached to the mail is XML file which gives error.
Error encountered is::
Fatal Error at file
"/PareshHD/DoNotDelete!!!!!/Hemant/xerces-c-src_2_3_0/bin/2nd.xml", line 1,
column 39
Message: An exception occurred! Type:UTFDataFormatException,
Message:invalid byte 2 ($) of a 5-byte sequence.
changing "en" to other values also gives same error ..
i m using code warrior version 8.0 on mac classic.
one more doubt.....
what exactly does this DOMImplementationRegistry::getDOMImplementation
function do??
in one example it uses XString::transcode("Core") as input parameter,
in other it uses XString::transcode("LS" array of 100 size),
and in one it uses static const XMLCh gLS[] = {chLatin_L, chLatin_S, chNull}
as parameter.
i couldnt find some documentation for that.
plz help me on this.
thanx in advance.
regards,
hemant
Enjoy life to its maximum, it comes only once in a lifetime!!!