[ http://issues.apache.org/jira/browse/XERCESJ-1169?page=comments#action_12417339 ]
Tom Oehser commented on XERCESJ-1169: ------------------------------------- Note, the zip file should be unzipped in a src/ directory, it will create a package, which includes DTDs etc. that are needed by the test. There is one .java and one .xml file, the .java has a simple entity resolver to pull the DTDs with the classloader from the same package. It should be fairly easy to reproduce it... -Tom > With XMLGrammarCachingConfiguration, some Text nodes are completely missing > from the DOM. > ----------------------------------------------------------------------------------------- > > Key: XERCESJ-1169 > URL: http://issues.apache.org/jira/browse/XERCESJ-1169 > Project: Xerces2-J > Type: Bug > Versions: 2.8.0 > Environment: Java-1.4.2_09, Eclipse_3.2RC7, JUnit, tests parsing complex > document with embedded XML DSIG using namespaces. > Reporter: Tom Oehser > Attachments: reproduceXercesGrammarCachingBug.zip > > I am parsing a document which has an XML DSIG signature, when I turn on > System.setProperty( "org.apache.xerces.xni.parser.XMLParserConfiguration", > "org.apache.xerces.parsers.XMLGrammarCachingConfiguration"); > sometimes (I think the first time is fine, the second time and higher it > fails) the "SignatureValue" Element node has child Text node. Parsing > without the Caching configuration is find, there is always a Text node under > the SignatureValue Element node. Parsing with the CachingConfiguration, the > first time it has a Text child node, the next time and thereafter, there is > no child of the SignatureValue node at all. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
