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=3421 *** shadow/3421 Tue Sep 4 14:21:28 2001 --- shadow/3421.tmp.29243 Tue Sep 4 14:21:29 2001 *************** *** 0 **** --- 1,29 ---- + +============================================================================+ + | xsl:element should raise error on namespace="" with prefix | + +----------------------------------------------------------------------------+ + | Bug #: 3421 Product: XalanJ2 | + | Status: NEW Version: 2.2.x | + | Resolution: Platform: Other | + | Severity: Normal OS/Version: Other | + | Priority: Other Component: Xalan | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + If the stylesheet has + <xsl:element name="prefix:anything" namespace="" ... + then it is a request to generate the illegal sequence + <prefix:anything xmlns:prefix=""> + (See XML Namespaces Rec, 3rd paragraph in part 2.0) + + We can either ignore the prefix or throw an error. Scott wants to throw an + error, because we have a general design principle that we can't know what the + stylesheet writer expects about the namespace. They may want a human-readable + prefix and may have made a mistake in the namespace="" attribute. + + The error message should say something like "Attempt to generate a namespace + prefix requires non-null URI."
