DO NOT REPLY [Bug 37998] New: - org.apache.xerces.validators.common.Grammar.buildSyntaxTree

[email protected]
Newsgroups gmane.text.xml.commons.devel
Message-ID <[email protected]/bugzilla/>
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37998>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37998

           Summary: org.apache.xerces.validators.common.Grammar.buildSyntaxT
                    ree
           Product: XmlCommons
           Version: 1.x
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DOM
        AssignedTo: [email protected]
        ReportedBy: [email protected]


In my JAVA Code, I am trying to parse a large XML file using a DOM parser. It 
keeps giving outOfMemory error on a solaris machine. When i run it on a linux 
machine, it gives me the following exceptions. When i remove some of the 
elements from the XML message, it parses it fine.
Can you please help me fix this problem.

Exception in thread "main" java.lang.StackOverflowError
        at org.apache.xerces.validators.common.Grammar.buildSyntaxTree
(Grammar.java:771)
        at org.apache.xerces.validators.common.Grammar.buildSyntaxTree
(Grammar.java:771)
        at org.apache.xerces.validators.common.Grammar.buildSyntaxTree
(Grammar.java:771)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.