You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by xe...@xml.apache.org on 2004/10/04 11:06:32 UTC
[jira] Closed: (XERCESC-1030) Parse fails for documents with 32+ namespaces
Message:
The following issue has been closed.
Resolver: Alberto Massari
Date: Mon, 4 Oct 2004 2:05 AM
Duplicate of #866; actually, the 32 namespace limit the bug is referring is related to the start/end of a namespace scope, so it will be hit in an XML file with more than N levels where each of the element defines M xmlns attributes (where MxN > 32), like in the testcase attached to #866
Alberto
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XERCESC-1030
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XERCESC-1030
Summary: Parse fails for documents with 32+ namespaces
Type: Bug
Status: Closed
Resolution: DUPLICATE
Project: Xerces-C++
Components:
DOM
Versions:
2.2.0
Assignee:
Reporter: Francois Stehlin
Created: Tue, 28 Oct 2003 1:29 AM
Updated: Mon, 4 Oct 2004 2:05 AM
Environment: Operating System: All
Platform: All
Description:
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...
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org