DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24007>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24007 <xsl:attribute name="a:b" namespace=""> gives error ------- Additional Comments From [EMAIL PROTECTED] 2003-10-22 15:49 ------- I agree with Santiago. Any XML document that contains... <?xml version="1.0"?> <element xmlns:a="" /> is invalid XML, whether it's a stylesheet or not. As for the test case Santiago suggests, look at this: <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <!-- FileName: namespace118 --> <!-- Document: http://www.w3.org/TR/xslt --> <!-- DocVersion: 19991116 --> <!-- Section: 2.4 --> <!-- Discretionary: name="attribute-name-not-QName" choice="ignore" --> <!-- Creator: David Marston --> <!-- Purpose: Use a prefixed attribute name with no declaration for prefix; try to reset namespace to null. Net result: no prefix. --> <xsl:output method="xml" indent="no" encoding="UTF-8"/> <xsl:template match="/"> <out> <xsl:attribute name="zoo:monkey" namespace="">crazy</xsl:attribute> </out> </xsl:template> </xsl:stylesheet> Notice the entry for "discretionary" - we (Xalan) try to make the best output we can, given confusing input. A conformant processor could implement the other choice, to raise an error. Also see namespace129 and 133 for other variations
