pauldick 01/12/14 09:36:57
Added: test/tests/conf/attribset attribset45.xml attribset45.xsl
attribset46.xml attribset46.xsl impattset45a.xsl
impattset45b.xsl impattset46a.xsl impattset46b.xsl
Log:
Simple testcase of import precedence with attribute sets.
Revision Changes Path
1.1 xml-xalan/test/tests/conf/attribset/attribset45.xml
Index: attribset45.xml
===================================================================
<?xml version="1.0" ?>
<doc/>
1.1 xml-xalan/test/tests/conf/attribset/attribset45.xsl
Index: attribset45.xsl
===================================================================
<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="impattset45a.xsl" />
<xsl:import href="impattset45b.xsl" />
<!-- FileName: attribset45 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 12.1 -->
<!-- Creator: Richard Titmuss ([EMAIL PROTECTED]) -->
<!-- Purpose: Basic test of import precedence with attribute sets -->
<xsl:template match="/">
<out>
<foo xsl:use-attribute-sets="bar" />
</out>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/conf/attribset/attribset46.xml
Index: attribset46.xml
===================================================================
<?xml version="1.0" ?>
<doc/>
1.1 xml-xalan/test/tests/conf/attribset/attribset46.xsl
Index: attribset46.xsl
===================================================================
<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="impattset46a.xsl" />
<xsl:import href="impattset46b.xsl" />
<!-- FileName: attribset45 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 12.1 -->
<!-- Creator: Paul Dick -->
<!-- Purpose: Basic test of import precedence based on Richard Titmuss's test
with attribute sets. Here the imported attribute sets have additional
non-
conflicting attributes as well. -->
<xsl:template match="/">
<out>
<foo xsl:use-attribute-sets="bar" />
</out>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/conf/attribset/impattset45a.xsl
Index: impattset45a.xsl
===================================================================
<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:attribute-set name="bar">
<xsl:attribute name="baz">one</xsl:attribute>
</xsl:attribute-set>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/conf/attribset/impattset45b.xsl
Index: impattset45b.xsl
===================================================================
<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:attribute-set name="bar">
<xsl:attribute name="baz">two</xsl:attribute>
</xsl:attribute-set>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/conf/attribset/impattset46a.xsl
Index: impattset46a.xsl
===================================================================
<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:attribute-set name="bar">
<xsl:attribute name="baz">one</xsl:attribute>
<xsl:attribute name="foo">ten</xsl:attribute>
</xsl:attribute-set>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/conf/attribset/impattset46b.xsl
Index: impattset46b.xsl
===================================================================
<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:attribute-set name="bar">
<xsl:attribute name="baz">two</xsl:attribute>
<xsl:attribute name="poo">twenty</xsl:attribute>
</xsl:attribute-set>
</xsl:stylesheet>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]