ilene 2003/03/25 12:30:33
Added: test/tests/conf/mdocs mdocs19.xml mdocs19.xsl mdocs19a.xml
test/tests/conf-gold/mdocs mdocs19.out
Log:
Committing Christine Li's ([EMAIL PROTECTED]) testcase for bugzilla #18210.
Revision Changes Path
1.1 xml-xalan/test/tests/conf/mdocs/mdocs19.xml
Index: mdocs19.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<doc>
<defaultcontent>
<section>1</section>
<section>2</section>
<section>3</section>
<section>4</section>
<section>5</section>
<section>6</section>
</defaultcontent>
</doc>
1.1 xml-xalan/test/tests/conf/mdocs/mdocs19.xsl
Index: mdocs19.xsl
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<!-- FileName: mdocs19 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 12.1 Multiple Source Documents E14 -->
<!-- AdditionalSpec:
http://www.w3.org/1999/11/REC-xslt-19991116-errata/#E14 -->
<!-- Creator: Christine Li -->
<!-- Purpose: Test document() function: Provides multiple input sources. -->
<!-- Two arguments: string, node-set. The second node-set is empty -->
<!-- It is an error, recover by returning an empty node-set -->
<xsl:template match="defaultcontent">
<out>
<xsl:copy-of select="document('mdocs19a.xml',empty)"/>
</out>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/conf/mdocs/mdocs19a.xml
Index: mdocs19a.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<doc>
<body/>
</doc>
1.1 xml-xalan/test/tests/conf-gold/mdocs/mdocs19.out
Index: mdocs19.out
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<out/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]