TRINIDAD-987 add 'scoped-id-holder' and 'multi-scoped-id-holder' to transform.xsl and transform12.xsl
done on trunk
diff --git a/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl b/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl
index d06e7f5..c8012b0 100644
--- a/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl
+++ b/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl
@@ -58,6 +58,8 @@
<!ELEMENT property-editor (#PCDATA)>
<!ELEMENT short-description (#PCDATA)>
<!ELEMENT translatable (#PCDATA)>
+ <!ELEMENT scoped-id-holder (#PCDATA)>
+ <!ELEMENT multi-scoped-id-holder (#PCDATA)>
<!ELEMENT unsupported-agents (#PCDATA)>
<!ATTLIST component-metadata component-type CDATA #IMPLIED>
]>
@@ -395,7 +397,7 @@
</xsl:element>
</xsl:template>
- <xsl:template match="//javaee:property-extension[mfp:property-values|mfp:group|mfp:translatable|mfp:property-editor|mfp:expert|mfp:unsupported-agents|*[namespace-uri() != 'http://java.sun.com/xml/ns/javaee' and namespace-uri() !='http://myfaces.apache.org/maven-faces-plugin']]" >
+ <xsl:template match="//javaee:property-extension[mfp:property-values|mfp:group|mfp:translatable|mfp:scoped-id-holder|mfp:multi-scoped-id-holder|mfp:property-editor|mfp:expert|mfp:unsupported-agents|*[namespace-uri() != 'http://java.sun.com/xml/ns/javaee' and namespace-uri() !='http://myfaces.apache.org/maven-faces-plugin']]" >
<xsl:element name="property-extension" >
<xsl:element name="property-metadata" >
<xsl:apply-templates/>
@@ -872,6 +874,18 @@
<xsl:value-of select="text()" />
</xsl:element>
</xsl:template>
+
+ <xsl:template match="//mfp:property-metadata/mfp:scoped-id-holder" >
+ <xsl:element name="scoped-id-holder" >
+ <xsl:value-of select="text()" />
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="//mfp:property-metadata/mfp:multi-scoped-id-holder" >
+ <xsl:element name="multi-scoped-id-holder" >
+ <xsl:value-of select="text()" />
+ </xsl:element>
+ </xsl:template>
<xsl:template match="//mfp:accepts-child-components" >
<xsl:element name="accepts-child-components" >
diff --git a/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl b/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl
index 70916ef..eb3e652 100644
--- a/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl
+++ b/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl
@@ -377,7 +377,7 @@
</xsl:element>
</xsl:template>
- <xsl:template match="//javaee:property-extension[mfp:property-values|mfp:group|mfp:translatable|mfp:property-editor|mfp:expert|mfp:unsupported-agents|*[namespace-uri() != 'http://java.sun.com/xml/ns/javaee' and namespace-uri() !='http://myfaces.apache.org/maven-faces-plugin']]" >
+ <xsl:template match="//javaee:property-extension[mfp:property-values|mfp:group|mfp:translatable|mfp:scoped-id-holder|mfp:multi-scoped-id-holder|mfp:property-editor|mfp:expert|mfp:unsupported-agents|*[namespace-uri() != 'http://java.sun.com/xml/ns/javaee' and namespace-uri() !='http://myfaces.apache.org/maven-faces-plugin']]" >
<xsl:element name="property-extension" >
<xsl:element name="property-metadata" >
<xsl:apply-templates/>
@@ -853,6 +853,19 @@
<xsl:value-of select="text()" />
</xsl:element>
</xsl:template>
+
+ <xsl:template match="//mfp:property-metadata/mfp:scoped-id-holder" >
+ <xsl:element name="scoped-id-holder" >
+ <xsl:value-of select="text()" />
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="//mfp:property-metadata/mfp:multi-scoped-id-holder" >
+ <xsl:element name="multi-scoped-id-holder" >
+ <xsl:value-of select="text()" />
+ </xsl:element>
+ </xsl:template>
+
<xsl:template match="//mfp:accepts-child-components" >
<xsl:element name="accepts-child-components" >
<xsl:value-of select="text()" />