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=5392>.
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=5392

Prefixed name with xsl:attribute namespace="" gives bad XML

           Summary: Prefixed name with xsl:attribute namespace="" gives bad
                    XML
           Product: XalanC
           Version: 1.2.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XalanC
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


See test cases namespace118, 129, 133, and namespaceerr19. In each case, there
is some variation on
<xsl:attribute name="prefix:localpart" namespace="">
The first three cases use the prefixed name without emitting a namespace-decl
for the prefix; the err19 case has an illegal xmlns:prefix="" declaration.

Xalan-J raises an error for these cases, but other prominent processors are
more willing to change the prefix or omit it to get the attribute in the
correct namespace. The spec isn't really clear about whether this is a
discretionary choice.

Reply via email to