PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3040 *** shadow/3040 Wed Aug 8 05:04:10 2001 --- shadow/3040.tmp.3091 Wed Aug 8 05:04:10 2001 *************** *** 0 **** --- 1,37 ---- + +============================================================================+ + | Xerces accepts namespace declarations with NS prefix and empty namespace n | + +----------------------------------------------------------------------------+ + | Bug #: 3040 Product: Xerces-J | + | Status: NEW Version: 1.4.2 | + | Resolution: Platform: Other | + | Severity: Normal OS/Version: Other | + | Priority: Other Component: SAX | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: http://www.w3.org/TR/1999/REC-xml-names-19990114/#ns-decl | + +============================================================================+ + | DESCRIPTION | + Xerces accepts NS declarations of the form of: + + <test xmlns:x='' /> + + However, the empty string is not a valid namespace name. It's only allowed in + namespace "undeclarations" where the (unqualified) default namespace is reset. + + Quote from <http://www.w3.org/TR/1999/REC-xml-names-19990114/#ns-decl>: + + [Definition:] If the attribute name matches PrefixedAttName, then the NCName + gives the namespace prefix, used to associate element and attribute names with + the namespace name in the attribute value in the scope of the element to which + the declaration is attached. In such declarations, the namespace name may not + be empty. + + [Definition:] If the attribute name matches DefaultAttName, then the namespace + name in the attribute value is that of the default namespace in the scope of + the element to which the declaration is attached. In such a default + declaration, the attribute value may be empty. Default namespaces and + overriding of declarations are discussed in "5. Applying Namespaces to Elements + and Attributes". \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
