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=24168>.
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=24168

Parse fails for documents with 32+ namespaces

           Summary: Parse fails for documents with 32+ namespaces
           Product: Xerces-C++
           Version: 2.2.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: DOM
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Every time I load a document that has at least 32 namespaces, the parser 
throws an error (I don't use validation).
I tried with Xerces C 2.2.0 and 2.3.0

The error occurs in framework/XMLBufferMgr.cpp at line 181.
For a temporary fix, I changed line 19 from 'fBufCount(32)' to 'fBufCount
(512)'.

Here is the context if the call:
 XMLBufferMgr::bidOnBuffer()
 SAX2XMLReaderImpl::startElement Line 933
 IGXMLScanner::scanStartTagNS Line 2489

A better fix would probably be to use an STL container...

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

Reply via email to