The problem is found in JAXP RI 1.4.5. There is an error occurred if the following feature is set on DocumentBuilderFactory, SAXParserFactory. http://apache.org/xml/features/standard-uri-conformant The steps of using the attached test program: 1. unzip 001.zip 2. cd TP folder 3. launch go.bat The errors below can be seen. ----- DOM : NG Feature 'http://apache.org/xml/features/standard-uri-conformant' is not recognized. SAX : NG Feature 'http://apache.org/xml/features/standard-uri-conformant' is not recognized. ----- We expect the correct output as follows with the TP. ----- DOM : OK SAX : OK ----- The diff for the fix is under src folder.
|