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/03/22 10:10:27 UTC
[Bug 1078] New - The default SAXParser is not namespace aware
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1078
*** shadow/1078 Thu Mar 22 01:10:26 2001
--- shadow/1078.tmp.24004 Thu Mar 22 01:10:26 2001
***************
*** 0 ****
--- 1,26 ----
+ +============================================================================+
+ | The default SAXParser is not namespace aware |
+ +----------------------------------------------------------------------------+
+ | Bug #: 1078 Product: Xerces-J |
+ | Status: NEW Version: 1.3.0 |
+ | Resolution: Platform: PC |
+ | Severity: Normal OS/Version: |
+ | Priority: Component: JAXP |
+ +----------------------------------------------------------------------------+
+ | Assigned To: xerces-j-dev@xml.apache.org |
+ | Reported By: laurent.bihanic@atosorigin.com |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ When trying to replace Crimson (from JAXP1.1 ref. impl.) by Xerces 1.3.1 our
+ application fails to parse documents because empty local names are reported to
+ the ContentHandlers.
+ The problem might be solved by setting the namespaceAware property to true on
+ the SAXParserFactory prior allocating the parser.
+
+ We think Xerces should default namespaceAware to true as SAX2.0 specification
+ (in ContentHandler#startElement) states that:
+ "the Namespace URI and local name are required when the namespaces property is
+ true (the default)"
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org