dbertoni 01/03/11 07:58:32
Modified: c/src/XalanSourceTree XalanSourceTreeDocument.cpp
Log:
Removed bogus assert and changed default allocation sizes.
Revision Changes Path
1.12 +3 -6
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeDocument.cpp
Index: XalanSourceTreeDocument.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeDocument.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- XalanSourceTreeDocument.cpp 2001/03/02 19:08:38 1.11
+++ XalanSourceTreeDocument.cpp 2001/03/11 15:58:31 1.12
@@ -87,11 +87,11 @@
XalanDocument(),
m_firstChild(0),
m_documentElement(0),
- m_attributeAllocator(100),
+ m_attributeAllocator(200),
m_attributeNSAllocator(50),
m_commentAllocator(20),
- m_elementAllocator(100),
- m_elementNSAllocator(100),
+ m_elementAllocator(200),
+ m_elementNSAllocator(200),
m_piAllocator(25),
m_textAllocator(100),
m_textIWSAllocator(100),
@@ -942,9 +942,6 @@
if (length(theNamespace) == 0)
{
- // the prefix was returned by getNamespaceForPrefix()...
- assert(length(m_stringBuffer) == 0);
-
return m_attributeAllocator.create(
m_stringPool.get(theName),
m_stringPool.get(theValue),
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]