[jdom-interest] Help! Is this a bug? Is there something going on in the encoding?
Kem Morehead
kmorehead at idiominc.com
Tue Oct 3 16:35:05 PDT 2000
Hi, I was wondering if anyone could help me with this. I have the following
in an xml file (it's in UTF-8):
<XData><![CDATA[§2.]]></XData></NodeSegment><NodeSegment><ID>5</ID><MimeType
>text/plain</MimeType><XData><![CDATA[101, consisting
]]></XData>
When I do getText() on the XData element I am returned this:
??></XData></NodeSegment><NodeSegment><ID>5</ID><MimeType>text/plain</MimeTy
pe><XData><![CDATA[101, consisting
It seems to be missing the end of the CDATA and therefore the end of the
XData element until it catches up on the end of the next CDATA and the end
of the XData element. Is there something in the conversion that I assume
you're doing from utf8 to ucs2? Is it something I'm doing?
I've attached the actual xml file.
Thanks in advance.
kem
<<foo.xml>>
-------------------------------------------------
Kem Morehead, software engineer
Idiom, Inc. [www.idiominc.com]
781.464.6113
kmorehead at idiominc.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.xml
Type: application/octet-stream
Size: 863 bytes
Desc: not available
Url : http://jdom.org/pipermail/jdom-interest/attachments/20001003/a0bfcd74/foo.obj
More information about the jdom-interest
mailing list