DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7020>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7020

DOM parser hangs

           Summary: DOM parser hangs
           Product: Xerces2-J
           Version: 2.0.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: DOM
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to