You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2001/06/26 22:08:47 UTC

[Bug 2336] - Large data problem with SAX: characters method chops value when offset at end of buffer

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

*** shadow/2336	Tue Jun 26 12:56:20 2001
--- shadow/2336.tmp.9195	Tue Jun 26 13:08:47 2001
***************
*** 2,9 ****
  | Large data problem with SAX: characters method chops value when offset at  |
  +----------------------------------------------------------------------------+
  |        Bug #: 2336                        Product: Xerces-J                |
! |       Status: NEW                         Version: 1.4.1                   |
! |   Resolution:                            Platform: PC                      |
  |     Severity: Major                    OS/Version: Windows NT/2K           |
  |     Priority: Other                     Component: SAX                     |
  +----------------------------------------------------------------------------+
--- 2,9 ----
  | Large data problem with SAX: characters method chops value when offset at  |
  +----------------------------------------------------------------------------+
  |        Bug #: 2336                        Product: Xerces-J                |
! |       Status: RESOLVED                    Version: 1.4.1                   |
! |   Resolution: INVALID                    Platform: PC                      |
  |     Severity: Major                    OS/Version: Windows NT/2K           |
  |     Priority: Other                     Component: SAX                     |
  +----------------------------------------------------------------------------+
***************
*** 78,80 ****
--- 78,91 ----
  
  I was unable to find another reference to this problem, but I
  would be surprised if others haven't encountered it.
+ 
+ ------- Additional Comments From elena@apache.org  2001-06-26 13:08 -------
+ See sax.DocumentHandler.characters(...):
+      * <p>The Parser will call this method to report each chunk of
+      * character data.  SAX parsers may return all contiguous character
+      * data in a single chunk, or they may split it into several
+      * chunks; however, all of the characters in any single event
+      * must come from the same external entity, so that the Locator
+      * provides useful information.</p>
+ Spliting characters() is not a bug. It is up to an application to combine it 
+ into a single chunk.
\ No newline at end of file

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org