You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Dmitry Hayes (JIRA)" <xa...@xml.apache.org> on 2007/02/06 18:19:06 UTC

[jira] Created: (XALANC-632) @use-attribute-sets attribute has to have no effect on xsl:copy when the context item is a documen node.

@use-attribute-sets attribute has to have no effect on xsl:copy when the context item is a documen node.
--------------------------------------------------------------------------------------------------------

                 Key: XALANC-632
                 URL: https://issues.apache.org/jira/browse/XALANC-632
             Project: XalanC
          Issue Type: Bug
          Components: XalanC
    Affects Versions: CurrentCVS
         Environment: Tested on Win32 
            Reporter: Dmitry Hayes
             Fix For: CurrentCVS


The testcase : 
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
xmlns:my="http://www.examples.com/my" xmlns:your="http://www.examples.com/my"
exclude-result-prefixes="my your"
version="1.0">

<xsl:template match="/">
	<out>
		<xsl:copy use-attribute-sets="my:set"/>
	</out>
</xsl:template>

<xsl:attribute-set name="my:set">
	<xsl:attribute name="att1">
		<xsl:value-of select="'A1'"/>
	</xsl:attribute>
</xsl:attribute-set>

</xsl:stylesheet>



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Assigned: (XALANC-632) @use-attribute-sets attribute has to have no effect on xsl:copy when the context item is a documen node.

Posted by "David Bertoni (JIRA)" <xa...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XALANC-632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Bertoni reassigned XALANC-632:
------------------------------------

    Assignee: David Bertoni

> @use-attribute-sets attribute has to have no effect on xsl:copy when the context item is a documen node.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: XALANC-632
>                 URL: https://issues.apache.org/jira/browse/XALANC-632
>             Project: XalanC
>          Issue Type: Bug
>          Components: XalanC
>    Affects Versions: CurrentCVS
>         Environment: Tested on Win32 
>            Reporter: Dmitry Hayes
>            Assignee: David Bertoni
>             Fix For: CurrentCVS
>
>         Attachments: patch.diff
>
>
> The testcase : 
> <?xml version="1.0"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
> xmlns:my="http://www.examples.com/my" xmlns:your="http://www.examples.com/my"
> exclude-result-prefixes="my your"
> version="1.0">
> <xsl:template match="/">
> 	<out>
> 		<xsl:copy use-attribute-sets="my:set"/>
> 	</out>
> </xsl:template>
> <xsl:attribute-set name="my:set">
> 	<xsl:attribute name="att1">
> 		<xsl:value-of select="'A1'"/>
> 	</xsl:attribute>
> </xsl:attribute-set>
> </xsl:stylesheet>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org