Q

Does the SAX Parser follow all the XML specifications?

According to XML specifications, character range #xF900 to #xFFFE is not valid. But I tried to use some characters in this range and my SAXParser did not throw any error (I'm using SAX 2.0 - Xerces 3.2.1 - XML4J). Does the SAX Parser not follow all the specifications or is it a bug in the parser?
According to the W3C Recommendation spec., Extensible Markup Language (XML) 1.0, "Characters in the compatibility area (i.e. with character code greater than #xF900 and less than #xFFFE) are not allowed in XML names". XML4J 3.2.1 has not been reported as having a bug for this. If you are noticing this problem in your XML names, you may want to try the latest release (4.0.1) of XML4J to see if this fixes the problem.
This was last published in July 2002

Dig Deeper on Java Web Services

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchSoftwareQuality

SearchCloudApplications

SearchAWS

TheServerSide

SearchWinDevelopment

Close