|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] CDATA processing problem using Xerces-J validating parser
I have a XML doc instance that contains CDATA section:
"<![CDATA[" and ends with "]]>"
Parsers validating this XML are supposed to ignore the
CDATA. XML Spy validates the XML instance fine using
its corresponding XSD which defines the CDATA as
a xsd:string.
Now when I use in run-time Xeres-J parser it seems to
be processing the CDATA and obviously fails to
validate the CDATA section since it has all types of
illegal characters in it:
Here is the error I get:
org.xml.sax.SAXException: Data not belonging to any element encountered: 32.com Record
Any ideas why this is a problem.
I believe this may be a Xerces 1.4 parser. Does xerces support
correct handling of CDATA???
thanks
Do you Yahoo!? http://pa.yahoo.com/*http://rd.yahoo.com/evt=1207/*http://promo.yahoo.com/sbc/ - Now only $29.95 per month!
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








