[Expat-discuss] Query on UTF8 encoded data in a CDATA section.

Tony Ku Tony.Ku at reuters.com
Mon Nov 15 01:43:30 CET 2004


Hi Karl,
 
   I have an XML file in which there are some Japanese characters
encoded in UTF8 format inside a <!CDATA[[..........]]> section. However
I noticed if there is an opening bracket '[' as one of the leading bytes
in the UTF8 data, then the parser complains, saying it cannot find the
corresponding closing bracket. I thought everything inside the CDATA
section should be ignore? Wonder if you are able shed some light on
this. Thanks.
 
Regards,
Tony


-----------------------------------------------------------------
        Visit our Internet site at http://www.reuters.com

Get closer to the financial markets with Reuters Messaging - for more
information and to register, visit http://www.reuters.com/messaging

Any views expressed in this message are those of  the  individual
sender,  except  where  the sender specifically states them to be
the views of Reuters Ltd.



More information about the Expat-discuss mailing list