You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by pa...@apache.org on 2001/08/02 21:41:30 UTC
cvs commit: xml-xalan/test/tests/capi/domcomtests domcomtests16.xsl domcomtests16.xml domcomtests15.xsl domcomtests15.xml domcomtests14.xsl domcomtests14.xml domcomtests13.xsl domcomtests13.xml domcomtests12.xsl domcomtests12.xml domcomtests11.xsl domcomtests11.xml domcomtests10.xsl domcomtests10.xml domcomtests09.xsl domcomtests09.xml domcomtests08.xsl domcomtests08.xml domcomtests07.xsl domcomtests07.xml domcomtests06.xsl domcomtests06.xml domcomtests05.xsl domcomtests05.xml domcomtests04.xsl domcomtests04.xml domcomtests03.xsl domcomtests03.xml domcomtests02.xsl domcomtests02.xml domcomtests01.xsl domcomtests01.xml
pauldick 01/08/02 12:41:30
Added: test/tests/capi/domcomtests domcomtests16.xsl
domcomtests16.xml domcomtests15.xsl
domcomtests15.xml domcomtests14.xsl
domcomtests14.xml domcomtests13.xsl
domcomtests13.xml domcomtests12.xsl
domcomtests12.xml domcomtests11.xsl
domcomtests11.xml domcomtests10.xsl
domcomtests10.xml domcomtests09.xsl
domcomtests09.xml domcomtests08.xsl
domcomtests08.xml domcomtests07.xsl
domcomtests07.xml domcomtests06.xsl
domcomtests06.xml domcomtests05.xsl
domcomtests05.xml domcomtests04.xsl
domcomtests04.xml domcomtests03.xsl
domcomtests03.xml domcomtests02.xsl
domcomtests02.xml domcomtests01.xsl
domcomtests01.xml
Log:
Test cases for domcom code
Revision Changes Path
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests16.xsl
Index: domcomtests16.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml"/>
<!-- FileName: -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.2 -->
<!-- Purpose: Test has no exceptions. -->
<xsl:template match="/">
<root>
<data1 attr1="hello" attr2="goodbye"/>
<data2 attr1="goodbye" attr2="hello"/>
This is a test
</root>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests16.xml
Index: domcomtests16.xml
===================================================================
<?xml version="1.0"?>
<doc>
<element/>
</doc>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests15.xsl
Index: domcomtests15.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml"/>
<!-- FileName: -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.2 -->
<!-- Purpose: Test has no exceptions. -->
<xsl:template match="/">
<root>
<data1 attr1="hello" attr2="goodbye"/>
<data2 attr1="goodbye" attr2="hello"/>
<extraNode/>
</root>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests15.xml
Index: domcomtests15.xml
===================================================================
<?xml version="1.0"?>
<doc>
<element/>
</doc>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests14.xsl
Index: domcomtests14.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:cnn="http://www.bad.com"
exclude-result-prefixes="cnn">
<xsl:output method="xml"/>
<!-- FileName: -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.2 -->
<!-- Purpose: Test has no exceptions. -->
<xsl:template match="/">
<root>
<data1 attr1="hello" attr2="goodbye">
<data2 attr1="goodbye" attr2="hello">
<data3 attr1="What in the world">DANIEL</data3></data2>
<cnn:data4 attr1="olleh" cnn:attr2="eybdoog">DICK</cnn:data4>
</data1>
This is a test
</root>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests14.xml
Index: domcomtests14.xml
===================================================================
<?xml version="1.0"?>
<doc>
<element/>
</doc>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests13.xsl
Index: domcomtests13.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:tnt="http://www.cnn.org"
exclude-result-prefixes="tnt">
<xsl:output method="xml"/>
<!-- FileName: dtod -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.2 -->
<!-- Purpose: Test has no exceptions. -->
<xsl:template match="/">
<root>
<tnt:data attr1="What in the world">DANIEL</tnt:data>
<espn:data xmlns:espn="http://www.espn.com" espn2:attr1="hello" xmlns:espn2="http://www.espn2.com">ESPN and ESPN2</espn:data>
<data2 attr1="olleh" xyz:attr2="eybdoog" xmlns:xyz="http://www.xyz.com">DICK</data2>
This is a test
</root>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests13.xml
Index: domcomtests13.xml
===================================================================
<?xml version="1.0"?>
<doc>
<element/>
</doc>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests12.xsl
Index: domcomtests12.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:cnn="http://www.bad.com"
exclude-result-prefixes="cnn">
<xsl:output method="xml"/>
<!-- FileName: -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.2 -->
<!-- Purpose: Test has no exceptions. -->
<xsl:template match="/">
<root>
<data1 attr1="hello" attr2="goodbye">BEN</data1>
<data2 attr1="goodbye" attr2="hello">
<data3 attr1="What in the world">DANIEL</data3></data2>
<data4 attr1="olleh" cnn:attr2="eybdoog">DICK</data4>
This is a test
</root>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests12.xml
Index: domcomtests12.xml
===================================================================
<?xml version="1.0"?>
<doc>
<element/>
</doc>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests11.xsl
Index: domcomtests11.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:cnn="http://www.cnn.com">
<xsl:output method="xml"/>
<!-- FileName: -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.2 -->
<!-- Purpose: Test has no exceptions. -->
<xsl:template match="/">
<root>
<data1 attr1="hello" attr2="goodbye"/>
<data2 attr1="goodbye" attr2="hello"/>
<data3 attr1="hello" attr2="goodbye"/>
<data4 attr1="goodbye" attr2="hello"/>
<data5 attr1="hello" attr2="goodbye"/>
<data6 attr1="goodbye" attr2="hello"/>
<data7 attr1="hello" attr2="goodbye"/>
<data8 attr1="goodbye" attr2="hello"/>
<data9 attr1="hello" attr2="goodby"/>
<data10 attr1="goodbye" attr2="hello"/>
<data11 attr1="hello" attr2="goodbye"/>
<data12 attr1="goodbye" attr2="hello"/>
<data13 attr1="What in the world"/>
<data14 attr1="olleh" xyz:attr2="eybdoog" xmlns:xyz="http://www.xyz.com">Duck</data14>
</root>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests11.xml
Index: domcomtests11.xml
===================================================================
<?xml version="1.0"?>
<doc>
<element/>
</doc>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests10.xsl
Index: domcomtests10.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:cnn="http://www.cnn.com">
<xsl:output method="xml"/>
<!-- FileName: -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.2 -->
<!-- Purpose: Test has no exceptions. -->
<xsl:template match="/">
<root>
<data1 attr1="hello" attr2="goodbye">
<data2 attr1="goodbye" attr2="hello">
<data3 attr1="hello" attr2="goodbye">
<data4 attr1="goodbye" attr2="hello">
<data5 attr1="hello" attr2="goodbye">
<data6 attr1="goodbye" attr2="hello">
<data7 attr1="hello" attr2="goodbye">
<data8 attr1="goodbye" attr2="hello">
<data9 attr1="hello" attr2="goodby">
<data10 attr1="goodbye" attr2="hello">
<data11 attr1="hello" attr2="goodbye">
<data12 attr1="goodbye" attr2="hello">
<data13 attr1="What in the world">
<data14 attr1="olleh" xyz:attr2="eybdoog" xmlns:xyz="http://www.xyz.com">Duck</data14>
</data13>
</data12>
</data11>
</data10>
</data9>
</data8>
</data7>
</data6>
</data5>
</data4>
</data3>
</data2>
</data1>
</root>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests10.xml
Index: domcomtests10.xml
===================================================================
<?xml version="1.0"?>
<doc>
<element/>
</doc>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests09.xsl
Index: domcomtests09.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:cnn="http://www.cnn.com">
<xsl:output method="xml"/>
<!-- FileName: -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.2 -->
<!-- Purpose: Test has no exceptions. -->
<xsl:template match="/">
<root>
<data1 attr1="hello" attr2="goodbye"/>
<data2 attr1="goodbye" attr2="hello"/>
<data3 attr1="hello" attr2="goodbye"/>
<data4 attr1="goodbye" attr2="hello"/>
<data5 attr1="hello" attr2="goodbye"/>
<data6 attr1="goodbye" attr2="hello"/>
<data7 attr1="hello" attr2="goodbye"/>
<data8 attr1="goodbye" attr2="hello"/>
<data9 attr1="hello" attr2="bad"/>
<data10 attr1="goodbye" attr2="hello"/>
<data11 attr1="hello" attr2="goodbye"/>
<data12 attr1="goodbye" attr2="hello"/>
<data13 attr1="What in the world"/>
<data14 attr1="olleh" xyz:attr2="eybdoog" xmlns:xyz="http://www.xyz.com">Duck</data14>
</root>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests09.xml
Index: domcomtests09.xml
===================================================================
<?xml version="1.0"?>
<doc>
<element/>
</doc>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests08.xsl
Index: domcomtests08.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:cnn="http://www.cnn.com">
<xsl:output method="xml"/>
<!-- FileName: -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.2 -->
<!-- Purpose: Test has no exceptions. -->
<xsl:template match="/">
<root>
<data1 attr1="hello" attr2="goodbye">
<data2 attr1="goodbye" attr2="hello">
<data3 attr1="hello" attr2="goodbye">
<data4 attr1="goodbye" attr2="hello">
<data5 attr1="hello" attr2="goodbye">
<data6 attr1="goodbye" attr2="hello">
<data7 attr1="hello" attr2="goodbye">
<data8 attr1="goodbye" attr2="hello">
<data9 attr1="hello" attr2="bad">
<data10 attr1="goodbye" attr2="hello">
<data11 attr1="hello" attr2="goodbye">
<data12 attr1="goodbye" attr2="hello">
<data13 attr1="What in the world">
<data14 attr1="olleh" xyz:attr2="eybdoog" xmlns:xyz="http://www.xyz.com">Duck</data14>
</data13>
</data12>
</data11>
</data10>
</data9>
</data8>
</data7>
</data6>
</data5>
</data4>
</data3>
</data2>
</data1>
</root>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests08.xml
Index: domcomtests08.xml
===================================================================
<?xml version="1.0"?>
<doc>
<element/>
</doc>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests07.xsl
Index: domcomtests07.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:cnn="http://www.cnn.com">
<xsl:output method="xml"/>
<!-- FileName: -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.2 -->
<!-- Purpose: Test has no exceptions. -->
<xsl:template match="/">
<root>
<data1 attr1="hello" attr2="goodbye">BEN</data1>
<data2 attr1="goodbye" attr2="hello">
<cnn:data3 attr1="What in the world">DANIEL</cnn:data3></data2>
<data4 attr1="olleh" xyz:attr2="eybdoog" xmlns:xyz="http://www.xyz.com">DICK</data4>
This is a test
</root>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests07.xml
Index: domcomtests07.xml
===================================================================
<?xml version="1.0"?>
<doc>
<element/>
</doc>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests06.xsl
Index: domcomtests06.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:cnn="http://www.cnn.com">
<xsl:output method="xml"/>
<!-- FileName: -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.2 -->
<!-- Purpose: Test has no exceptions. -->
<xsl:template match="/">
<root>
<data1 attr1="hello" attr2="goodbye">BEN</data1>
<data2 attr1="goodbye" attr2="hello">
<cnn:data3 attr1="What in the world">DANIEL</cnn:data3></data2>
<data4 attr1="olleh" xyz:attr2="eybdoog" xmlns:xyz="http://www.xyz.com">DICK</data4>
This is a test
</root>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests06.xml
Index: domcomtests06.xml
===================================================================
<?xml version="1.0"?>
<doc>
<element/>
</doc>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests05.xsl
Index: domcomtests05.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:cnn="http://www.cnn.com">
<xsl:output method="xml"/>
<!-- FileName: -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.2 -->
<!-- Purpose: Test has no exceptions. -->
<xsl:template match="/">
<root>
<data1 attr1="hello" attr2="goodbye">BEN</data1>
<data2 attr2="hello">
<cnn:data3 attr1="What in the world">DANIEL</cnn:data3></data2>
<data4 attr1="olleh" xyz:attr2="eybdoog" xmlns:xyz="http://www.xyz.com">DICK</data4>
This is a test
</root>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests05.xml
Index: domcomtests05.xml
===================================================================
<?xml version="1.0"?>
<doc>
<element/>
</doc>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests04.xsl
Index: domcomtests04.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:cnn="http://www.cnn.com">
<xsl:output method="xml"/>
<!-- FileName: -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.2 -->
<!-- Purpose: Test has no exceptions. -->
<xsl:template match="/">
<root>
<data1 attr1="hello" attr2="goodbye">BEN</data1>
<data2 attr1="goodbye" attr2="hello">
<cnn:data3 attr1="What in the world">DANIEL</cnn:data3></data2>
<data4 attr1="olleh" xyz:attr2="eybdoog" xmlns:xyz="http://www.xyz.com">DICK</data4>
This is a test
</root>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests04.xml
Index: domcomtests04.xml
===================================================================
<?xml version="1.0"?>
<doc>
<element/>
</doc>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests03.xsl
Index: domcomtests03.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:cnn="http://www.cnn.com">
<xsl:output method="xml"/>
<!-- FileName: -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.2 -->
<!-- Purpose: Test has no exceptions. -->
<xsl:template match="/">
<roo>
<data1 attr1="hello" attr2="goodbye">BEN</data1>
<data2 attr1="goodbye" attr2="hello">
<cnn:data3 attr1="What in the world">DANIEL</cnn:data3></data2>
<data4 attr1="olleh" xyz:attr2="eybdoog" xmlns:xyz="http://www.xyz.com">DICK</data4>
This is a test
</roo>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests03.xml
Index: domcomtests03.xml
===================================================================
<?xml version="1.0"?>
<doc>
<element/>
</doc>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests02.xsl
Index: domcomtests02.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:cnn="http://www.cnn.com">
<xsl:output method="xml"/>
<!-- FileName: -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.2 -->
<!-- Purpose: Test has no exceptions. -->
<xsl:template match="/">
<root>
<data1 attr1="hello" attr2="goodbye">BEN</data1>
<data2 attr1="goodbye" attr2="hello">
<cnn:data3 attr1="What in the world">DANIEL</cnn:data3></data2>
<data4 attr1="olleh" xyz:attr2="eybdoog" xmlns:xyz="http://www.xyz.com">DICK</data4>
This is a test
</root>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests02.xml
Index: domcomtests02.xml
===================================================================
<?xml version="1.0"?>
<doc>
<element/>
</doc>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests01.xsl
Index: domcomtests01.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:cnn="http://www.cnn.com">
<xsl:output method="xml"/>
<!-- FileName: -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.2 -->
<!-- Purpose: Test has no exceptions. -->
<xsl:template match="/">
<root>
<cnn:data attr1="What in the world">DANIEL</cnn:data>
<espn:data xmlns:espn="http://www.espn.com" espn2:attr1="hello" xmlns:espn2="http://www.espn2.com">ESPN and ESPN2</espn:data>
<data2 attr1="olleh" xyz:attr2="eybdoog" xmlns:xyz="http://www.xyz.com">DICK</data2>
This is a test
</root>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/capi/domcomtests/domcomtests01.xml
Index: domcomtests01.xml
===================================================================
<?xml version="1.0"?>
<doc>
<element/>
</doc>
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org