[ 
http://issues.apache.org/jira/browse/XALANJ-739?page=comments#action_12319059 ] 

Brian Minchau commented on XALANJ-739:
--------------------------------------

XALANJ-1829 was marked  as a duplicate of this issue.

> Prefixed attrib in different namespace from its element bad
> -----------------------------------------------------------
>
>          Key: XALANJ-739
>          URL: http://issues.apache.org/jira/browse/XALANJ-739
>      Project: XalanJ2
>         Type: Bug
>   Components: Xalan
>     Versions: 2.2.0
>  Environment: Operating System: Other
> Platform: Other
>     Reporter: david_marston
>     Assignee: Morris Kwan
>     Priority: Minor
>  Attachments: bug5389.patch, new.patch
>
> See the attribset40 test, summarized here:
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0"
>             xmlns:bdd="http://bdd.test.com";>
> <xsl:template match="/">
>   <out>
>     <bdd:jam>
>       <xsl:attribute name="bdd:attr" 
>         namespace="http://xyz.com";>jaminben</xsl:attribute>
>     </bdd:jam>
>   </out>
> </xsl:template>
> </xsl:stylesheet>
> The bug: by attempting to re-use the "bdd" prefix, the namespace of the 
> element
> is tied to the same URI as the attribute. We must generate a new prefix for 
> the
> attribute, as Xalan-C++ does.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to