[ http://nagoya.apache.org/jira/browse/XALANJ-1698?page=history ]

Henry Zongaro updated XALANJ-1698:
----------------------------------

    Priority: Major

> <xsl:attribute name="a:b" namespace=""> gives error
> ---------------------------------------------------
>
>          Key: XALANJ-1698
>          URL: http://nagoya.apache.org/jira/browse/XALANJ-1698
>      Project: XalanJ2
>         Type: Bug
>   Components: Xalan
>     Versions: CurrentCVS
>  Environment: Operating System: All
> Platform: All
>     Reporter: Richard Cao
>     Assignee: Brian Minchau
>  Attachments: 24007.patch.txt, 78385m.xsl, 78385m.xsl
>
> This bug is for both XalanJ Interpretive and XSLTC.
> <xsl:attribute name="a:b" xmlns:a="">value</xsl:attribute>
> raises the error "Prefixed namespace bindings may not be empty." According to
> the XSL Specs 7.1.3 [1], 3rd paragraph:
> "If the namespace attribute is present, then it also is interpreted as an
> attribute value template. ... If the string is empty, then the expanded-name 
> of
> the attribute has a null namespace URI." 
> After discussion with Henry Zongaro, we think that since there is no 
> namespace,
> there shouldn't be a prefix, so the prefix "a" should be discarded. That is, 
> we
> just get an attribute "b".
> [1] http://www.w3.org/TR/xslt#creating-attributes

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to