http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2363

*** shadow/2363 Wed Jun 27 11:30:43 2001
--- shadow/2363.tmp.6963        Wed Jun 27 11:30:43 2001
***************
*** 0 ****
--- 1,34 ----
+ +============================================================================+
+ | XMLScanner::sendCharData() can send the wrong length to the handler        |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2363                        Product: Xerces-C                |
+ |       Status: NEW                         Version: 1.5                     |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Major                    OS/Version: Other                   |
+ |     Priority: Other                     Component: Miscellaneous           |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                  |
+ |  Reported By: [EMAIL PROTECTED]                                    |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ If whitespace normalization is done, the amount of data sent to the handler can 
+ shrink.  The current code always uses the original length of the data.  Here's 
+ a diff for the fix:
+ 
+ cvs diff XMLScanner2.cpp (in directory V:\xml-xerces\c\src\internal\)
+ Index: XMLScanner2.cpp
+ ===================================================================
+ RCS file: /home/cvs/xml-xerces/c/src/internal/XMLScanner2.cpp,v
+ retrieving revision 1.38
+ diff -r1.38 XMLScanner2.cpp
+ 845c845
+ <     const unsigned int len = toSend.getLen();
+ ---
+ >     unsigned int len = toSend.getLen();
+ 898a899
+ >                     len = toFill.getLen();
+ 
+ *****CVS exited normally with code 1*****
\ No newline at end of file

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

Reply via email to