Dear Sander,

Spot on! There is a protocol stack we use before which removed considerable text.

Thank you for your answer and time!

Have a nice one,

Georgios.

Sander Bos wrote:

Dear Georgios,



<card id="c1" title="Yahoo! Espa&#241;a">
</card>

This &#241; is the spanish 'n' character with the '~' on top of it and completely valid to escape according to the standards. Xerces-J as soon as it reaches this statement goes like this:

org.xml.sax.SAXParseException: Element type "card" must be followed by either attribute specifications, ">" or "/>".



I tried your example XML fragment with our application which runs on top of Xerces 2.6.2, and it parsed fine for me, and yes the fragment does look wellformed. Are you sure this is really the fragment that fails. And if so, are you sure that removing &#241; removes the problem? And if so, are you sure there is no process beforehand that processes the input above into somethin that is no longer wellformed. E.g. is there nothing in you application that adds or removes quotes, because that is one way to get the error you are gettting.

Kind regards,

--Sander.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to