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/09/10 14:01:39 UTC

[jira] Created: (XERCESC-1271) Problems parsing large XML strings

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-1271

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-1271
    Summary: Problems parsing large XML strings
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Xerces-C++

   Assignee: 
   Reporter: Fred Preston

    Created: Fri, 10 Sep 2004 5:00 AM
    Updated: Fri, 10 Sep 2004 5:00 AM
Environment: n/a

Description:
When testing with large XML strings, xerces falls over when the size of the XML exceeds the 16 * 1024 limit that is hardwired into the XMLReader.hpp file (375:kCharBufSize        = 16 * 1024).  Would it be possible to dynamically allocate space for this and other buffers (fCharBuf and fCharSizeBuf) and then to extend them using the realloc function when necessary.  This also applies to the fRawByteBuf buffer that is also limited in size.


---------------------------------------------------------------------
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


[jira] Commented: (XERCESC-1271) Problems parsing large XML strings

Posted by xe...@xml.apache.org.
The following comment has been added to this issue:

     Author: Fred Preston
    Created: Thu, 16 Sep 2004 9:22 AM
       Body:
Hi David,
Thank-you for the prompt reply.  I will endeavour to overcome the limitations of the API.

Best Regards,

Fred Preston.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/XERCESC-1271?page=comments#action_53151

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-1271

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-1271
    Summary: Problems parsing large XML strings
       Type: Bug

     Status: Resolved
   Priority: Major
 Resolution: INCOMPLETE

    Project: Xerces-C++

   Assignee: 
   Reporter: Fred Preston

    Created: Fri, 10 Sep 2004 5:00 AM
    Updated: Thu, 16 Sep 2004 9:22 AM
Environment: n/a

Description:
When testing with large XML strings, xerces falls over when the size of the XML exceeds the 16 * 1024 limit that is hardwired into the XMLReader.hpp file (375:kCharBufSize        = 16 * 1024).  Would it be possible to dynamically allocate space for this and other buffers (fCharBuf and fCharSizeBuf) and then to extend them using the realloc function when necessary.  This also applies to the fRawByteBuf buffer that is also limited in size.


---------------------------------------------------------------------
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


[jira] Commented: (XERCESC-1271) Problems parsing large XML strings

Posted by xe...@xml.apache.org.
The following comment has been added to this issue:

     Author: Vitaly Prapirny
    Created: Thu, 16 Sep 2004 7:45 AM
       Body:
You are using 2.2.0 version of xerces. Could you please try the 2.5.0 one ?
As I said earlier samples/tests (DOMCount, SAX2Count) from 2.5.0 distribution doesn't demonstrate this kind of problems and parse xml from your example file (AxisBench_Tx.txt) flawlessly. XML from AxisBench_Rx.txt is not wellformed though.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/XERCESC-1271?page=comments#action_53143

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-1271

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-1271
    Summary: Problems parsing large XML strings
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Xerces-C++

   Assignee: 
   Reporter: Fred Preston

    Created: Fri, 10 Sep 2004 5:00 AM
    Updated: Thu, 16 Sep 2004 7:45 AM
Environment: n/a

Description:
When testing with large XML strings, xerces falls over when the size of the XML exceeds the 16 * 1024 limit that is hardwired into the XMLReader.hpp file (375:kCharBufSize        = 16 * 1024).  Would it be possible to dynamically allocate space for this and other buffers (fCharBuf and fCharSizeBuf) and then to extend them using the realloc function when necessary.  This also applies to the fRawByteBuf buffer that is also limited in size.


---------------------------------------------------------------------
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


[jira] Commented: (XERCESC-1271) Problems parsing large XML strings

Posted by xe...@xml.apache.org.
The following comment has been added to this issue:

     Author: Fred Preston
    Created: Thu, 16 Sep 2004 7:25 AM
       Body:
When parsing the 78th infos block, the parser crashes as follows:-

+-------------------------------------------------------------------+
| Unhandled exception in AxisBench.exe (KERNEL32.DLL):0xE06D7363:   |
| Microsoft C++ Exception.                                          |
+-------------------------------------------------------------------+

KERNEL32! 7c57e592()
AXISTRANSPORT_D! 00398db9()
AXISTRANSPORT_D! 003828a8()
AXISXMLPARSER_D! 0032453e()
xercesc_2_2::XMLReader::refreshRawBuffer() line 1547 + 46 bytes
xercesc_2_2::XMLReader::xcodeMoreChars(unsigned short * const 0x00ffe5e4, unsigned char * const 0x010065e8, const unsigned int 16384) line 1585
xercesc_2_2::XMLReader::refreshCharBuffer() line 530 + 42 bytes
xercesc_2_2::XMLReader::getName(xercesc_2_2::XMLBuffer & {...}, const unsigned char 0) line 657 + 8 bytes
xercesc_2_2::ReaderMgr::getName(xercesc_2_2::XMLBuffer & {...}) line 387
xercesc_2_2::IGXMLScanner::scanStartTagNS(unsigned char & 1) line 1934 + 27 bytes
xercesc_2_2::IGXMLScanner::scanNext(xercesc_2_2::XMLPScanToken & {...}) line 368
xercesc_2_2::SAX2XMLReaderImpl::parseNext(xercesc_2_2::XMLPScanToken & {...}) line 651
AXISXMLPARSER_D! 0032c215()
axiscpp::SoapDeSerializer::getElementAsString(axiscpp::SoapDeSerializer * const 0x002f8ab0, const char * 0x00438680 `string', const char * 0x00000000) line 2433 + 21 bytes
Axis_DeSerialize_BenchBasicDataType(BenchBasicDataType * 0x01207e0c, axiscpp::IWrapperSoapDeSerializer * 0x002f8ab0) line 48 + 21 bytes
axiscpp::SoapDeSerializer::getCmplxArray(axiscpp::SoapDeSerializer * const 0x002f8ab0, void * 0x00401451 Axis_DeSerialize_BenchBasicDataType(class BenchBasicDataType *,class axiscpp::IWrapperSoapDeSerializer *), void * 0x004011ea Axis_Create_BenchBasicDataType(class BenchBasicDataType *,bool,int), void * ...) line 587 + 13 bytes
Axis_DeSerialize_BenchDataType(BenchDataType * 0x00311000, axiscpp::IWrapperSoapDeSerializer * 0x002f8ab0) line 46 + 50 bytes
axiscpp::SoapDeSerializer::getCmplxObject(axiscpp::SoapDeSerializer * const 0x002f8ab0, void * 0x004012b2 Axis_DeSerialize_BenchDataType(class BenchDataType *,class axiscpp::IWrapperSoapDeSerializer *), void * 0x0040102d Axis_Create_BenchDataType(class BenchDataType *,bool,int), void * 0x004010b4 Axis_Delete_BenchDataType(class BenchDataType *,bool,int), const char * ...) line 1106
axiscpp::Call::getCmplxObject(axiscpp::Call * const 0x002f26d8, void * 0x004012b2 Axis_DeSerialize_BenchDataType(class BenchDataType *,class axiscpp::IWrapperSoapDeSerializer *), void * 0x0040102d Axis_Create_BenchDataType(class BenchDataType *,bool,int), void * 0x004010b4 Axis_Delete_BenchDataType(class BenchDataType *,bool,int), const char * 0x00438200 `string', ...) line 601 + 4
AxisBench::doBenchRequest(BenchDataType * 0x003139e0) line 59 + 45 bytes
main(int 1, char * * 0x003117a0) line 102 + 12 bytes
mainCRTStartup() line 206 + 25 bytes

And the reason it runs out of data is because there is no space left in the XMLByte fRawByteBuf[kRawBufSize]; buffer.  When kRawBufSize is increased, from 16 * 1024 to 160 * 1024 all is well.

---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/XERCESC-1271?page=comments#action_53142

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-1271

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-1271
    Summary: Problems parsing large XML strings
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Xerces-C++

   Assignee: 
   Reporter: Fred Preston

    Created: Fri, 10 Sep 2004 5:00 AM
    Updated: Thu, 16 Sep 2004 7:25 AM
Environment: n/a

Description:
When testing with large XML strings, xerces falls over when the size of the XML exceeds the 16 * 1024 limit that is hardwired into the XMLReader.hpp file (375:kCharBufSize        = 16 * 1024).  Would it be possible to dynamically allocate space for this and other buffers (fCharBuf and fCharSizeBuf) and then to extend them using the realloc function when necessary.  This also applies to the fRawByteBuf buffer that is also limited in size.


---------------------------------------------------------------------
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


[jira] Closed: (XERCESC-1271) Problems parsing large XML strings

Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
     [ http://nagoya.apache.org/jira/browse/XERCESC-1271?page=history ]
     
Alberto Massari closed XERCESC-1271:
------------------------------------


> Problems parsing large XML strings
> ----------------------------------
>
>          Key: XERCESC-1271
>          URL: http://nagoya.apache.org/jira/browse/XERCESC-1271
>      Project: Xerces-C++
>         Type: Bug
>  Environment: n/a
>     Reporter: Fred Preston
>  Attachments: AxisBench_Rx.txt, AxisBench_Tx.txt
>
> When testing with large XML strings, xerces falls over when the size of the XML exceeds the 16 * 1024 limit that is hardwired into the XMLReader.hpp file (375:kCharBufSize        = 16 * 1024).  Would it be possible to dynamically allocate space for this and other buffers (fCharBuf and fCharSizeBuf) and then to extend them using the realloc function when necessary.  This also applies to the fRawByteBuf buffer that is also limited in size.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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


[jira] Commented: (XERCESC-1271) Problems parsing large XML strings

Posted by xe...@xml.apache.org.
The following comment has been added to this issue:

     Author: Fred Preston
    Created: Thu, 16 Sep 2004 8:57 AM
       Body:
Hi Alberto,
Thanks for the reply and possible solution.  Unfortunately, we cannot break up an XML message that we are receiving so arbitrarily.  The message must be received and processed 'complete'.  The code that uses XERCES is another apache product, AXISC++.  I can send you the source, but it's available to download on this site.

Best regards,

Fred Preston.

---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/XERCESC-1271?page=comments#action_53148

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-1271

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-1271
    Summary: Problems parsing large XML strings
       Type: Bug

     Status: Resolved
   Priority: Major
 Resolution: INCOMPLETE

    Project: Xerces-C++

   Assignee: 
   Reporter: Fred Preston

    Created: Fri, 10 Sep 2004 5:00 AM
    Updated: Thu, 16 Sep 2004 8:57 AM
Environment: n/a

Description:
When testing with large XML strings, xerces falls over when the size of the XML exceeds the 16 * 1024 limit that is hardwired into the XMLReader.hpp file (375:kCharBufSize        = 16 * 1024).  Would it be possible to dynamically allocate space for this and other buffers (fCharBuf and fCharSizeBuf) and then to extend them using the realloc function when necessary.  This also applies to the fRawByteBuf buffer that is also limited in size.


---------------------------------------------------------------------
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


[jira] Commented: (XERCESC-1271) Problems parsing large XML strings

Posted by xe...@xml.apache.org.
The following comment has been added to this issue:

     Author: Vitaly Prapirny
    Created: Fri, 10 Sep 2004 6:14 AM
       Body:
DOMPrint sample from xerces 2.5.0 works with 12Mb XML document just fine.
Could you explain what did you mean when you said that "xerces falls over when the size of the XML exceeds the 16 * 1024 limit" ?
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/XERCESC-1271?page=comments#action_53014

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-1271

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-1271
    Summary: Problems parsing large XML strings
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Xerces-C++

   Assignee: 
   Reporter: Fred Preston

    Created: Fri, 10 Sep 2004 5:00 AM
    Updated: Fri, 10 Sep 2004 6:14 AM
Environment: n/a

Description:
When testing with large XML strings, xerces falls over when the size of the XML exceeds the 16 * 1024 limit that is hardwired into the XMLReader.hpp file (375:kCharBufSize        = 16 * 1024).  Would it be possible to dynamically allocate space for this and other buffers (fCharBuf and fCharSizeBuf) and then to extend them using the realloc function when necessary.  This also applies to the fRawByteBuf buffer that is also limited in size.


---------------------------------------------------------------------
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


[jira] Updated: (XERCESC-1271) Problems parsing large XML strings

Posted by xe...@xml.apache.org.
The following issue has been updated:

    Updater: Fred Preston (mailto:prestonf@uk.ibm.com)
       Date: Thu, 16 Sep 2004 7:02 AM
    Comment:
This is the servers XML response to the client XML
    Changes:
             Attachment changed to AxisBench_Rx.txt
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/XERCESC-1271?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-1271

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-1271
    Summary: Problems parsing large XML strings
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Xerces-C++

   Assignee: 
   Reporter: Fred Preston

    Created: Fri, 10 Sep 2004 5:00 AM
    Updated: Thu, 16 Sep 2004 7:02 AM
Environment: n/a

Description:
When testing with large XML strings, xerces falls over when the size of the XML exceeds the 16 * 1024 limit that is hardwired into the XMLReader.hpp file (375:kCharBufSize        = 16 * 1024).  Would it be possible to dynamically allocate space for this and other buffers (fCharBuf and fCharSizeBuf) and then to extend them using the realloc function when necessary.  This also applies to the fRawByteBuf buffer that is also limited in size.


---------------------------------------------------------------------
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


[jira] Commented: (XERCESC-1271) Problems parsing large XML strings

Posted by xe...@xml.apache.org.
The following comment has been added to this issue:

     Author: David Bertoni
    Created: Thu, 16 Sep 2004 9:13 AM
       Body:
Your code is violating the design of the interface you're implementing.  If you have more data than the maximum size of the buffer the parser provides, you are responsible for buffering the remaining data somewhere and feeding it to parser as it requests it.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/XERCESC-1271?page=comments#action_53149

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-1271

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-1271
    Summary: Problems parsing large XML strings
       Type: Bug

     Status: Resolved
   Priority: Major
 Resolution: INCOMPLETE

    Project: Xerces-C++

   Assignee: 
   Reporter: Fred Preston

    Created: Fri, 10 Sep 2004 5:00 AM
    Updated: Thu, 16 Sep 2004 9:13 AM
Environment: n/a

Description:
When testing with large XML strings, xerces falls over when the size of the XML exceeds the 16 * 1024 limit that is hardwired into the XMLReader.hpp file (375:kCharBufSize        = 16 * 1024).  Would it be possible to dynamically allocate space for this and other buffers (fCharBuf and fCharSizeBuf) and then to extend them using the realloc function when necessary.  This also applies to the fRawByteBuf buffer that is also limited in size.


---------------------------------------------------------------------
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


[jira] Resolved: (XERCESC-1271) Problems parsing large XML strings

Posted by xe...@xml.apache.org.
Message:

   The following issue has been resolved as INCOMPLETE.

   Resolver: Alberto Massari
       Date: Thu, 16 Sep 2004 7:52 AM

Hi Fred,
from what I can see, the problem lies in your code.

The last lines in the stack trace are

AXISTRANSPORT_D! 00398db9()
AXISTRANSPORT_D! 003828a8()
AXISXMLPARSER_D! 0032453e()
xercesc_2_2::XMLReader::refreshRawBuffer() line 1547 + 46 bytes
xercesc_2_2::XMLReader::xcodeMoreChars(unsigned short * const 0x00ffe5e4, unsigned 

so it means that you installed a custom entity resolver, that refreshRawBuffer is invoking with a call to

fStream->readBytes(&fRawByteBuf[bytesLeft], kRawBufSize - bytesLeft)

I guess that the fStream object is reading from the network and storing the entire packet it got into the provided buffer, ignoring the value of the second argument that tells you the maximum amount of data that should be stored in the buffer.
You should check for that value and queue the extra data for a later retrieval.

If you think I am wrong, please reopen the bug and post the source code for the InputSource-derived object you are using.

Alberto
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-1271

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-1271
    Summary: Problems parsing large XML strings
       Type: Bug

     Status: Resolved
   Priority: Major
 Resolution: INCOMPLETE

    Project: Xerces-C++

   Assignee: 
   Reporter: Fred Preston

    Created: Fri, 10 Sep 2004 5:00 AM
    Updated: Thu, 16 Sep 2004 7:52 AM
Environment: n/a

Description:
When testing with large XML strings, xerces falls over when the size of the XML exceeds the 16 * 1024 limit that is hardwired into the XMLReader.hpp file (375:kCharBufSize        = 16 * 1024).  Would it be possible to dynamically allocate space for this and other buffers (fCharBuf and fCharSizeBuf) and then to extend them using the realloc function when necessary.  This also applies to the fRawByteBuf buffer that is also limited in size.


---------------------------------------------------------------------
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


[jira] Updated: (XERCESC-1271) Problems parsing large XML strings

Posted by xe...@xml.apache.org.
The following issue has been updated:

    Updater: Fred Preston (mailto:prestonf@uk.ibm.com)
       Date: Thu, 16 Sep 2004 7:01 AM
    Comment:
This is the message that is transmitted by the client to the server
    Changes:
             Attachment changed to AxisBench_Tx.txt
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/XERCESC-1271?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-1271

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-1271
    Summary: Problems parsing large XML strings
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Xerces-C++

   Assignee: 
   Reporter: Fred Preston

    Created: Fri, 10 Sep 2004 5:00 AM
    Updated: Thu, 16 Sep 2004 7:01 AM
Environment: n/a

Description:
When testing with large XML strings, xerces falls over when the size of the XML exceeds the 16 * 1024 limit that is hardwired into the XMLReader.hpp file (375:kCharBufSize        = 16 * 1024).  Would it be possible to dynamically allocate space for this and other buffers (fCharBuf and fCharSizeBuf) and then to extend them using the realloc function when necessary.  This also applies to the fRawByteBuf buffer that is also limited in size.


---------------------------------------------------------------------
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