myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arjun Vade (JIRA)" <>
Subject [jira] [Updated] (TRINIDAD-2271) The immediate child element of <fmd:global-metadata>, <javaee:property-extension> & <mfp:component-metadata> is not copied over
Date Mon, 28 May 2012 06:48:23 GMT


Arjun Vade updated TRINIDAD-2271:

    Status: Patch Available  (was: Open)
> The immediate child element of <fmd:global-metadata>, <javaee:property-extension>
& <mfp:component-metadata> is not copied over
> -------------------------------------------------------------------------------------------------------------------------------
>                 Key: TRINIDAD-2271
>                 URL:
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Build, Plugins
>            Reporter: Arjun Vade
> Our transform20.xsl permits unknown namespaced elements under property-extension, global-metadata
and component-metadata. While copying these unknown namespace elements, the immediate child
element of these above mentioned nodes is left out and only sub-children nodes are copied
> E.g. In transform20.xsl, we have this code
>   <xsl:template match="fmd:global-metadata/*[
>     namespace-uri() != ''
>     and namespace-uri() !=''
>     and namespace-uri() !='']">
>     <xsl:copy-of select="*"/>
>   </xsl:template>
> With "fmd:global-metadata/*" we are already referring to child element of fmd:global-metadata.
And then when we select "*" in <xsl:copy-of select="*"/>, we are copying over the child
of the child. Thus, the immediate child element of global-metadata element is left out.
> The fix is to replace "*" with "." in <xsl:copy-of select="*"/>

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message