[
https://issues.apache.org/jira/browse/XERCESJ-224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Glavassevich resolved XERCESJ-224.
------------------------------------------
Assignee: (was: Xerces-J Developers Mailing List)
Resolution: Cannot Reproduce
Cannot reproduce with the soon to be released Xerces-J 2.10.0. Perhaps the hang
was due to a bug in the (ancient) JDK / VM that the reporter had at the time.
> DOM parser hangs
> ----------------
>
> Key: XERCESJ-224
> URL: https://issues.apache.org/jira/browse/XERCESJ-224
> Project: Xerces2-J
> Issue Type: Bug
> Components: DOM (Level 3 Core)
> Affects Versions: 2.0.1
> Environment: Operating System: Windows NT/2K
> Platform: PC
> Reporter: Stan Hendryx
> Attachments: Ruletrace.xml
>
>
> I just installed the Xerces-J 2.0.1 binaries zip package, and ran the
> samples.dom.Counter successfully on the provided data/personal.xml file. I
> put
> another xml file in the same data directory, and ran it again on that file,
> without validation or any other command line options, and the parser hangs --
> no errors or warnings reported. Nothing. I'm using the default parser,
> dom.wrappers.Xerces. The file is a XMI 1.1/UML 1.3 model interchange file,
> which was validated by Rational Rose 2001 Enterprise Edition. There is no
> DOCTYPE declaration in the file. It is about 1500 lines, has a few hundred
> elements, and uses two standard OMG namespaces, for xmi and uml. I tried it
> with the -n option; same result, it still hangs. It doesn't recognize the -np
> option at all; it looks for a file named "-np". I tried it on another XML
> file
> I generated, that is much simpler, 418 elements, no namespaces, and it works
> OK. I'm suspicious that the namespaces may be causing the problem.
> My JVM is J2RE 1.2.2 IBM build win122-2000720. My machine is a 600 MHz PIII,
> 384MB of RAM, running WinNT 4.0.
> I confirmed it is the parser, not the traversals, that is hanging, by putting
> some System.out.println statements in the dom/Counter.java source. It starts
> the parse, but hangs and never finishes, even after waiting about an hour.
> I can send you the xml file that is causing the problem, if you would like
> it.
> I had hoped to use Xerces to validate XMI files, DTD's and XML Schema's that
> I
> generate. I've heard only positive things about Xerces, and was very
> surprised
> to get no output whatsoever from the parser on my file. I do hope you can
> help
> me find out what the problem is, and fix it.
> Thank you very much,
> Stan Hendryx
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]