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/04/27 16:40:43 UTC

[Bug 1554] New - firing of ignorableWhitespace event differs depending on value set in feature http://xml.org/sax/features/validation

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

*** shadow/1554	Fri Apr 27 07:40:43 2001
--- shadow/1554.tmp.20609	Fri Apr 27 07:40:43 2001
***************
*** 0 ****
--- 1,34 ----
+ +============================================================================+
+ | firing of ignorableWhitespace event differs depending on value set in feat |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1554                        Product: Xerces-J                |
+ |       Status: NEW                         Version: 1.3.1                   |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: Windows NT/2K           |
+ |     Priority:                           Component: SAX                     |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: xerces-j-dev@xml.apache.org                                  |
+ |  Reported By: usabailey@hotmail.com                                        |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ Depending on the value set in feature http://xml.org/sax/features/validation, 
+ the ignorable whitespace does not fire consistantly.
+ 
+ When this value is set to true, the ignorableWhitespace event fires as expected.
+ When this value is set to false, the ignorable whitespace in a document is 
+ sometimes returned in the character event.
+ 
+ I have tested this using both Xerces versions 1.3.1 and 2.0.0.alpha
+ 
+ My application is extending the org.xml.sax.helpers.DefaultHandler class for 
+ handling the Xerces events.  The XML document I am validating my XML document 
+ against a Schema, and this problem does not appear to be present when 
+ validating against a DTD.
+ 
+ However, when I validate against a DTD using version 2.0.0.alpha, I do receive 
+ an Exception java.net.MalformedURLException: unknown protocol: y
+ after the startDocument event fires and before the first startElement event 
+ fires (Separate bug report to be submitted).

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