John Phoenix created XERCESJ-1626:
-------------------------------------
Summary: Java SAX parser returns corrupted data from an XML file
containing a long comments
Key: XERCESJ-1626
URL: https://issues.apache.org/jira/browse/XERCESJ-1626
Project: Xerces2-J
Issue Type: Bug
Components: SAX
Environment: Windows XP jdk1.7.0_45
Reporter: John Phoenix
Priority: Minor
I am using SAX parser with validation enabled (though this doesn't seem to make
any difference) to read a configuration file for my application. I have placed
a number of explanatory comments into the XML file to remind me how to create
the configuration. Some of these are around 30 lines in length. With the
comments present, the configuration data returned by the SAX parser contains
some corrupted elements, though these do not immediately follow the comment.
With the long comments removed, the data appears to be read correctly.
I can supply XML and XSD files that display the issue, and even a NetBeans
project that shows the problem if that would help.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]