dmarston 00/12/29 11:52:32
Modified: test/tests/conf/namespace namespace35.xsl incnspc13.xsl
namespace01.xsl namespace02.xsl namespace03.xsl
namespace04.xsl namespace05.xsl namespace06.xsl
namespace07.xsl namespace09.xsl namespace10.xsl
namespace11.xsl namespace12.xsl namespace13.xsl
namespace14.xsl namespace15.xsl namespace17.xsl
namespace18.xsl namespace19.xsl namespace20.xsl
namespace21.xsl namespace22.xsl namespace23.xsl
namespace24.xsl namespace25.xsl namespace26.xsl
namespace27.xsl namespace28.xsl namespace29.xsl
namespace30.xsl namespace31.xsl namespace32.xsl
namespace33.xsl namespace34.xsl impnspc13.xsl
Log:
Improve comments
Revision Changes Path
1.2 +2 -1 xml-xalan/test/tests/conf/namespace/namespace35.xsl
Index: namespace35.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace35.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace35.xsl 2000/12/17 21:28:43 1.1
+++ namespace35.xsl 2000/12/29 19:52:20 1.2
@@ -10,8 +10,9 @@
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Get xmlns declaration attached to outermost LRE.
- Still unclear if prefix "axsl" should also be literal. -->
+ Prefix "axsl" should also be literal. -->
<xsl:template match="/">
<axsl:template match="/"/>
1.2 +5 -5 xml-xalan/test/tests/conf/namespace/incnspc13.xsl
Index: incnspc13.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/incnspc13.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- incnspc13.xsl 2000/12/17 21:28:42 1.1
+++ incnspc13.xsl 2000/12/29 19:52:20 1.2
@@ -2,13 +2,13 @@
<jad:transform xmlns:jad="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<jad:output method="xml"/>
- <!-- FileName: NSPC13inc -->
+ <!-- FileName: incnspc13 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19991008 -->
- <!-- Section: 2.1 XSLT Namespace. -->
- <!-- Purpose: This stylesheet is being included by nspc13 which has the
namespace
+ <!-- DocVersion: 19991116 -->
+ <!-- Section: 2.1 XSLT Namespace -->
+ <!-- Purpose: This stylesheet is being included by namespace13 which has
the namespace
prefix set to 'jad'. Testing that this setup with two different
namespaces
- is not evil. -->
+ is allowed. -->
<jad:template match="doc">
<out>
1.2 +4 -3 xml-xalan/test/tests/conf/namespace/namespace01.xsl
Index: namespace01.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace01.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace01.xsl 2000/12/17 21:28:42 1.1
+++ namespace01.xsl 2000/12/29 19:52:20 1.2
@@ -1,11 +1,12 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output indent="yes"/>
- <!-- FileName: NSPC01 -->
+ <!-- FileName: namespace01 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Apply namespaces to attributes -->
<xsl:template match="/">
@@ -22,5 +23,5 @@
</p>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +6 -6 xml-xalan/test/tests/conf/namespace/namespace02.xsl
Index: namespace02.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace02.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace02.xsl 2000/12/17 21:28:42 1.1
+++ namespace02.xsl 2000/12/29 19:52:20 1.2
@@ -1,14 +1,14 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output indent="yes"/>
- <!-- FileName: NSPC02 -->
+ <!-- FileName: namespace02 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
- <!-- Purpose: Apply namespaces to elements. We differ from XT here due to
the
- fact that we declare necessary namespace nodes on parent nodes of
- subelements, this allows for simplier tracking of namespace nodes. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Apply namespaces to elements. Location of declaration is
+ allowed to vary, as long as it's in scope when needed. -->
<xsl:template match="/">
<out xmlns:anamespace="foo.com">
@@ -18,5 +18,5 @@
</p>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +2 -1 xml-xalan/test/tests/conf/namespace/namespace03.xsl
Index: namespace03.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace03.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace03.xsl 2000/12/17 21:28:42 1.1
+++ namespace03.xsl 2000/12/29 19:52:20 1.2
@@ -3,10 +3,11 @@
xmlns:space="http://fictitious.com"
version="1.0">
- <!-- FileName: NSPC03 -->
+ <!-- FileName: namespace03 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 7.1.3 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Adding an attribute to an element replaces any existing
attribute of that element with the same expanded-name. For attribute L,
there is only a local name. Attribute Q has a namespace. -->
1.2 +2 -1 xml-xalan/test/tests/conf/namespace/namespace04.xsl
Index: namespace04.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace04.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace04.xsl 2000/12/17 21:28:42 1.1
+++ namespace04.xsl 2000/12/29 19:52:20 1.2
@@ -2,10 +2,11 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:bogus="http://bogus">
- <!-- FileName: NSPC04 -->
+ <!-- FileName: namespace04 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test that default namespaces do not apply directly to
attributes. -->
<xsl:template match="[EMAIL PROTECTED]">
1.2 +2 -1 xml-xalan/test/tests/conf/namespace/namespace05.xsl
Index: namespace05.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace05.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace05.xsl 2000/12/17 21:28:42 1.1
+++ namespace05.xsl 2000/12/29 19:52:20 1.2
@@ -7,8 +7,9 @@
<!-- FileName: NSPC05 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19991008 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 2.1 XSLT Namespace. -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Stylesheets are free to use any prefix, provided there is a
namespace
declaration that binds the prefix to the URI of XSLT namespace. -->
1.2 +5 -4 xml-xalan/test/tests/conf/namespace/namespace06.xsl
Index: namespace06.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace06.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace06.xsl 2000/12/17 21:28:42 1.1
+++ namespace06.xsl 2000/12/29 19:52:20 1.2
@@ -1,12 +1,13 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0" lotus:foo="baz"
xmlns:lotus="http://www.lotus.com">
- <!-- FileName: Nspc06 -->
+ <!-- FileName: namespace06 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.1 XSLT Namespace -->
- <!-- Purpose: Testing an attribute not from the XSLT namespace,
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Testing an attribute not from the XSLT namespace,
which is legal provided that the expanded name of the attribute
has a non-null namespace URI. -->
@@ -15,5 +16,5 @@
<xsl:copy-of select="doc" foo:test="0"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +3 -2 xml-xalan/test/tests/conf/namespace/namespace07.xsl
Index: namespace07.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace07.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace07.xsl 2000/12/17 21:28:42 1.1
+++ namespace07.xsl 2000/12/29 19:52:20 1.2
@@ -3,10 +3,11 @@
xmlns:baz1="http://xsl.lotus.com/ns1"
xmlns:baz2="http://xsl.lotus.com/ns2">
- <!-- FileName: NSPC07 -->
+ <!-- FileName: namespace07 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
- <!-- Section: 4.1 Node Set Functions. -->
+ <!-- Section: 4.1 Node Set Functions -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test of 'local-name()' function on an element. -->
<xsl:template match="baz2:doc">
1.2 +2 -1 xml-xalan/test/tests/conf/namespace/namespace09.xsl
Index: namespace09.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace09.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace09.xsl 2000/12/17 21:28:43 1.1
+++ namespace09.xsl 2000/12/29 19:52:20 1.2
@@ -3,10 +3,11 @@
xmlns:baz1="http://xsl.lotus.com/ns1"
xmlns:baz2="http://xsl.lotus.com/ns2">
- <!-- FileName: NSPC09 -->
+ <!-- FileName: namespace09 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 Node Set Functions. -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test of 'local-name()' function on attribute in non-default
namespace. -->
<xsl:template match="baz2:doc">
1.2 +3 -2 xml-xalan/test/tests/conf/namespace/namespace10.xsl
Index: namespace10.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace10.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace10.xsl 2000/12/17 21:28:43 1.1
+++ namespace10.xsl 2000/12/29 19:52:20 1.2
@@ -3,10 +3,11 @@
xmlns:baz1="http://xsl.lotus.com/ns1"
xmlns:baz2="http://xsl.lotus.com/ns2">
- <!-- FileName: NSPC10 -->
+ <!-- FileName: namespace10 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19991008 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 Node Set Functions. -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test of 'namespace-uri' function. -->
<xsl:template match="baz2:doc">
1.2 +3 -2 xml-xalan/test/tests/conf/namespace/namespace11.xsl
Index: namespace11.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace11.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace11.xsl 2000/12/17 21:28:43 1.1
+++ namespace11.xsl 2000/12/29 19:52:20 1.2
@@ -4,10 +4,11 @@
xmlns:baz2="http://xsl.lotus.com/ns2"
exclude-result-prefixes="baz1 baz2">
- <!-- FileName: NSPC11 -->
+ <!-- FileName: namespace11 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
- <!-- Section: 4.1 Node Set Functions. -->
+ <!-- Section: 4.1 Node Set Functions -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test of 'namespace-uri()' function, with hyphenated node
name. -->
<xsl:template match="baz2:doc-one">
1.2 +2 -1 xml-xalan/test/tests/conf/namespace/namespace12.xsl
Index: namespace12.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace12.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace12.xsl 2000/12/17 21:28:43 1.1
+++ namespace12.xsl 2000/12/29 19:52:20 1.2
@@ -3,10 +3,11 @@
xmlns:baz1="http://xsl.lotus.com/ns1"
xmlns:baz2="http://xsl.lotus.com/ns2">
- <!-- FileName: NSPC12 -->
+ <!-- FileName: namespace12 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 Node Set Functions. -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test of 'namespace-uri()' function on an element. -->
<xsl:template match="baz2:doc">
1.2 +3 -2 xml-xalan/test/tests/conf/namespace/namespace13.xsl
Index: namespace13.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace13.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace13.xsl 2000/12/17 21:28:43 1.1
+++ namespace13.xsl 2000/12/29 19:52:20 1.2
@@ -6,10 +6,11 @@
<ped:output method="xml"/>
- <!-- FileName: NSPC13 -->
+ <!-- FileName: namespace13 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19991008 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 2.1 XSLT Namespace. -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Stylesheets are free to use any prefix, provided there is a
namespace
declaration that binds the prefix to the URI of XSLT namespace. -->
1.2 +4 -3 xml-xalan/test/tests/conf/namespace/namespace14.xsl
Index: namespace14.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace14.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace14.xsl 2000/12/17 21:28:43 1.1
+++ namespace14.xsl 2000/12/29 19:52:20 1.2
@@ -6,10 +6,11 @@
<xsl:variable name="joe">2</xsl:variable>
<ped:param name="sam" select="' x 4'"/>
- <!-- FileName: NSPC14 -->
+ <!-- FileName: namespace14 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19991008 -->
- <!-- Section: 2.1 XSLT Namespace. -->
+ <!-- DocVersion: 19991116 -->
+ <!-- Section: 2.1 XSLT Namespace -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Have more than one prefix bound to the URI of XSLT
namespace. -->
<ped:template match="doc">
1.2 +3 -2 xml-xalan/test/tests/conf/namespace/namespace15.xsl
Index: namespace15.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace15.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace15.xsl 2000/12/17 21:28:43 1.1
+++ namespace15.xsl 2000/12/29 19:52:20 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
- xmlns:help="xsl.lotus.com/help">
+ xmlns:help="xsl.lotus.com/help">
- <!-- FileName: nspc15 -->
+ <!-- FileName: namespace15 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.2 Stylesheet Element. -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Stylesheet elements may contain any element not from the
XSLT namespace, provided that the expanded name of the element has
a non-null namespace URI. -->
1.2 +6 -5 xml-xalan/test/tests/conf/namespace/namespace17.xsl
Index: namespace17.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace17.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace17.xsl 2000/12/17 21:28:43 1.1
+++ namespace17.xsl 2000/12/29 19:52:20 1.2
@@ -1,14 +1,15 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
- xmlns:anamespace="foo.com"
- exclude-result-prefixes="anamespace">
+ xmlns:anamespace="foo.com"
+ exclude-result-prefixes="anamespace">
<xsl:output indent="yes"/>
- <!-- FileName: NSPC17 -->
+ <!-- FileName: namespace17 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test xsl:exclude-result-prefixes, stylesheet level -->
<xsl:template match="/">
@@ -16,5 +17,5 @@
<p><xsl:attribute name="test"
namespace="foo.com">true</xsl:attribute></p>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +4 -3 xml-xalan/test/tests/conf/namespace/namespace18.xsl
Index: namespace18.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace18.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace18.xsl 2000/12/17 21:28:43 1.1
+++ namespace18.xsl 2000/12/29 19:52:21 1.2
@@ -1,10 +1,11 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: nspc18 -->
+ <!-- FileName: namespace18 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test exclude-result-prefixes, attribute level -->
<xsl:template match="/">
@@ -14,5 +15,5 @@
</p>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +6 -6 xml-xalan/test/tests/conf/namespace/namespace19.xsl
Index: namespace19.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace19.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace19.xsl 2000/12/17 21:28:43 1.1
+++ namespace19.xsl 2000/12/29 19:52:21 1.2
@@ -1,17 +1,17 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
- xmlns:axsl="http://www.w3.org/1999/XSL/TransAlias">
+ xmlns:axsl="http://www.w3.org/1999/XSL/TransAlias">
<xsl:output method="xml" indent="yes"/>
- <!-- FileName: nspc19 -->
+ <!-- FileName: namespace19 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 7.1.1 Literal Result Elements -->
- <!-- Purpose: Test basic functionality of namespace-alias. Where xsl
elements
- are created by using Literal Result Elements. nspc24 is very similar,
but
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test basic functionality of namespace-alias. Where XSL
elements
+ are created by using Literal Result Elements. namespace24 is very
similar, but
it creates the axsl:stylesheet element via xsl:element. -->
-
<xsl:namespace-alias stylesheet-prefix="axsl" result-prefix="xsl"/>
1.2 +2 -1 xml-xalan/test/tests/conf/namespace/namespace20.xsl
Index: namespace20.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace20.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace20.xsl 2000/12/17 21:28:43 1.1
+++ namespace20.xsl 2000/12/29 19:52:21 1.2
@@ -5,10 +5,11 @@
xmlns="bubba.com"
exclude-result-prefixes="ped #default">
- <!-- FileName: nspc20 -->
+ <!-- FileName: namespace20 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 7.1.1 Literal Result Elements -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test exclude-result-prefixes. -->
<xsl:template match="doc">
1.2 +2 -1 xml-xalan/test/tests/conf/namespace/namespace21.xsl
Index: namespace21.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace21.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace21.xsl 2000/12/17 21:28:43 1.1
+++ namespace21.xsl 2000/12/29 19:52:21 1.2
@@ -4,10 +4,11 @@
xmlns:em="http://www.psol.com/xtension/1.0"
xmlns="http://www.w3.org/TR/REC-html40">
-<!-- FileName: nspc21-->
+<!-- FileName: namespace21-->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: Namespace Test -->
+<!-- Creator: Paul Dick -->
<!-- Purpose: Match namespace between stylesheet, in a select, and input.
Prefixes differ but the URIs are the same. -->
1.2 +5 -5 xml-xalan/test/tests/conf/namespace/namespace22.xsl
Index: namespace22.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace22.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace22.xsl 2000/12/17 21:28:43 1.1
+++ namespace22.xsl 2000/12/29 19:52:21 1.2
@@ -1,16 +1,16 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
- xmlns:lotus="http://www.lotus.com"
- xmlns="http://www.w3.org/TR/REC-html40">
+ xmlns:lotus="http://www.lotus.com"
+ xmlns="http://www.w3.org/TR/REC-html40">
- <!-- FileName: nspc22-->
+ <!-- FileName: namespace22-->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 7.1 Creating Elements (Namespace Node Inhertiance) -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Determine how namespaces are inherited down to succeeding
elements.
- Currently this is not an atomic test. This needs more investagation.
-->
+ Currently this is not an atomic test. This needs more investagation.
-->
-
<xsl:template match = "doc">
<root>
<xsl:text>
</xsl:text>
1.2 +7 -7 xml-xalan/test/tests/conf/namespace/namespace23.xsl
Index: namespace23.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace23.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace23.xsl 2000/12/17 21:28:43 1.1
+++ namespace23.xsl 2000/12/29 19:52:21 1.2
@@ -1,13 +1,14 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
- xmlns:bogus="http://www.bogus_ns.com"
- xmlns:lotus="http://www.lotus.com"
- xmlns:ped="www.ped.com">
+ xmlns:bogus="http://www.bogus_ns.com"
+ xmlns:lotus="http://www.lotus.com"
+ xmlns:ped="www.ped.com">
- <!-- FileName: nspc23 -->
+ <!-- FileName: namespace23 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.1 XSLT Namespace -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Testing an attribute not from the XSLT namespace, which is
legal provided that the expanded name of the attribute has a non-null
namespace URI. This tests for many xslt elements, apparent code path
@@ -39,7 +40,6 @@
<xsl:namespace-alias stylesheet-prefix="bogus" result-prefix="xsl"
ped:k="k"/>
<xsl:decimal-format decimal-separator="," grouping-separator=" " lotus:l="l"
/>
-
<xsl:template match="/">
<bogus:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<bogus:template match="/">
@@ -49,5 +49,5 @@
</bogus:template>
</bogus:stylesheet>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +4 -4 xml-xalan/test/tests/conf/namespace/namespace24.xsl
Index: namespace24.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace24.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace24.xsl 2000/12/17 21:28:43 1.1
+++ namespace24.xsl 2000/12/29 19:52:21 1.2
@@ -1,6 +1,6 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
- xmlns:axsl="http://www.w3.org/1999/XSL/TransAlias">
+ xmlns:axsl="http://www.w3.org/1999/XSL/TransAlias">
<xsl:output method="xml" indent="yes"/>
@@ -8,9 +8,9 @@
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991118 -->
<!-- Section: 7.1.1 Literal Result Elements -->
- <!-- Purpose: Test basic functionality of namespace-alias. Where xsl
elements
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test basic functionality of namespace-alias. Where XSL
elements
are created by using xsl:element command. -->
-
<xsl:namespace-alias stylesheet-prefix="axsl" result-prefix="xsl"/>
1.3 +3 -3 xml-xalan/test/tests/conf/namespace/namespace25.xsl
Index: namespace25.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace25.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- namespace25.xsl 2000/12/21 03:19:54 1.2
+++ namespace25.xsl 2000/12/29 19:52:21 1.3
@@ -2,12 +2,12 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:foo="aaa">
- <!-- FileName: nspc25 -->
+ <!-- FileName: namespace25 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 7.1.1 Literal Result Elements -->
- <!-- Purpose: Simple case of creating LRE with nested namespace
- declarations. Bugzilla[105]. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Simple case of creating LRE with nested namespace
declarations. -->
<xsl:template match="/">
<foo:stuff xmlns:foo="bbb">
1.2 +2 -1 xml-xalan/test/tests/conf/namespace/namespace26.xsl
Index: namespace26.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace26.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace26.xsl 2000/12/17 21:28:43 1.1
+++ namespace26.xsl 2000/12/29 19:52:21 1.2
@@ -3,10 +3,11 @@
xmlns:baz1="http://xsl.lotus.com/ns1"
xmlns:baz2="http://xsl.lotus.com/ns2">
- <!-- FileName: NSPC26 -->
+ <!-- FileName: namespace26 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 Node Set Functions. -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of 'local-name()' with zero arguments. -->
<xsl:template match="baz2:doc">
1.2 +2 -1 xml-xalan/test/tests/conf/namespace/namespace27.xsl
Index: namespace27.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace27.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace27.xsl 2000/12/17 21:28:43 1.1
+++ namespace27.xsl 2000/12/29 19:52:21 1.2
@@ -3,10 +3,11 @@
xmlns:baz1="http://xsl.lotus.com/ns1"
xmlns:baz2="http://xsl.lotus.com/ns2">
- <!-- FileName: NSPC27 -->
+ <!-- FileName: namespace27 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 Node Set Functions. -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of 'namespace-uri()' with no arguments. -->
<xsl:template match="baz2:doc">
1.2 +3 -2 xml-xalan/test/tests/conf/namespace/namespace28.xsl
Index: namespace28.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace28.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace28.xsl 2000/12/17 21:28:43 1.1
+++ namespace28.xsl 2000/12/29 19:52:21 1.2
@@ -1,11 +1,12 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: NSPC28 -->
+ <!-- FileName: namespace28 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
<!-- Purpose: Test of local-name on namespace axis. -->
+ <!-- Creator: David Marston -->
<!-- The local-name() function should work on this axis, returning the
same value as name().
The XML parser has freedom to present namespaces in any order it wants.
The input should have only one namespace if you want consistent results
across parsers. -->
1.2 +3 -2 xml-xalan/test/tests/conf/namespace/namespace29.xsl
Index: namespace29.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace29.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace29.xsl 2000/12/17 21:28:43 1.1
+++ namespace29.xsl 2000/12/29 19:52:21 1.2
@@ -1,10 +1,11 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: NSPC29 -->
+ <!-- FileName: namespace29 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test name functions on processing instructions. -->
<xsl:template match="/">
1.2 +3 -2 xml-xalan/test/tests/conf/namespace/namespace30.xsl
Index: namespace30.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace30.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace30.xsl 2000/12/17 21:28:43 1.1
+++ namespace30.xsl 2000/12/29 19:52:21 1.2
@@ -1,10 +1,11 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: NSPC30 -->
+ <!-- FileName: namespace30 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test name functions on comments. -->
<xsl:template match="/">
1.2 +3 -2 xml-xalan/test/tests/conf/namespace/namespace31.xsl
Index: namespace31.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace31.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace31.xsl 2000/12/17 21:28:43 1.1
+++ namespace31.xsl 2000/12/29 19:52:21 1.2
@@ -1,10 +1,11 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: NSPC31 -->
+ <!-- FileName: namespace31 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test name functions on text nodes. -->
<xsl:template match="/">
1.2 +2 -2 xml-xalan/test/tests/conf/namespace/namespace32.xsl
Index: namespace32.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace32.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace32.xsl 2000/12/17 21:28:43 1.1
+++ namespace32.xsl 2000/12/29 19:52:21 1.2
@@ -3,12 +3,12 @@
xmlns:tst="test"
exclude-result-prefixes="tst">
- <!-- FileName: nspc32 -->
+ <!-- FileName: namespace32 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 5.4 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test of local-name() on default namespace declaration. -->
-
<xsl:template match="/tst:a">
<out>
1.2 +2 -1 xml-xalan/test/tests/conf/namespace/namespace33.xsl
Index: namespace33.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace33.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace33.xsl 2000/12/17 21:28:43 1.1
+++ namespace33.xsl 2000/12/29 19:52:21 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0" >
- <!-- FileName: NSPC33 -->
+ <!-- FileName: namespace33 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of namespace-uri() on namespaces. -->
<xsl:template match="/">
1.2 +4 -3 xml-xalan/test/tests/conf/namespace/namespace34.xsl
Index: namespace34.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace34.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespace34.xsl 2000/12/17 21:28:43 1.1
+++ namespace34.xsl 2000/12/29 19:52:21 1.2
@@ -1,12 +1,13 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
- xmlns:tst="test"
- exclude-result-prefixes="tst">
+ xmlns:tst="test"
+ exclude-result-prefixes="tst">
- <!-- FileName: NSPC34 -->
+ <!-- FileName: namespace34 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 5.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of namespace-uri() on default namespace declaration. -->
<!-- Part 4 of the Namespaces in XML spec says "The prefix xmlns is used
only for
namespace bindings and is not itself bound to any namespace name. -->
1.2 +5 -5 xml-xalan/test/tests/conf/namespace/impnspc13.xsl
Index: impnspc13.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/impnspc13.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- impnspc13.xsl 2000/12/17 21:28:43 1.1
+++ impnspc13.xsl 2000/12/29 19:52:21 1.2
@@ -2,13 +2,13 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="xml"/>
- <!-- FileName: NSPC13imp -->
+ <!-- FileName: impnspc13 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19991008 -->
- <!-- Section: 2.1 XSLT Namespace. -->
- <!-- Purpose: This stylesheet is being imported by nspc13 which has the
namespace
+ <!-- DocVersion: 19991116 -->
+ <!-- Section: 2.1 XSLT Namespace -->
+ <!-- Purpose: This stylesheet is being imported by namespace13 which has
the namespace
prefix set to 'ped'. Testing that this setup with two different
namespaces
- is not evil. -->
+ is allowed. -->
<xsl:template match="doc" priority="1.0">
<out>