dmarston 00/12/29 11:53:51
Modified: test/tests/conf/namespace/err namespaceerr10.xsl
namespaceerr02.xsl namespaceerr03.xsl
namespaceerr04.xsl namespaceerr05.xsl
namespaceerr06.xsl namespaceerr07.xsl
namespaceerr08.xsl namespaceerr09.xsl
namespaceerr01.xsl
Log:
Improve comments
Revision Changes Path
1.2 +1 -0
xml-xalan/test/tests/conf/namespace/err/namespaceerr10.xsl
Index: namespaceerr10.xsl
===================================================================
RCS file:
/home/cvs/xml-xalan/test/tests/conf/namespace/err/namespaceerr10.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespaceerr10.xsl 2000/12/17 21:24:18 1.1
+++ namespaceerr10.xsl 2000/12/29 19:53:50 1.2
@@ -7,6 +7,7 @@
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.3 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test for meaningful message when attempting to use namespace
wildcard (*) -->
<!-- ExpectedException: XSLT: ElemTemplateElement error: Can not resolve
namespace prefix: -->
1.2 +4 -3
xml-xalan/test/tests/conf/namespace/err/namespaceerr02.xsl
Index: namespaceerr02.xsl
===================================================================
RCS file:
/home/cvs/xml-xalan/test/tests/conf/namespace/err/namespaceerr02.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespaceerr02.xsl 2000/12/17 21:24:18 1.1
+++ namespaceerr02.xsl 2000/12/29 19:53:50 1.2
@@ -1,15 +1,16 @@
-<?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">
- <!-- FileName: NSPCerr02 -->
+ <!-- FileName: namespaceerr02 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 7.1.1 Literal Result Elements -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test missing attribute in namespace-alias. -->
<!-- ExpectedException: Missing namespace URI for specified prefix -->
<!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException:
Missing namespace URI for specified prefix -->
-
+
<xsl:namespace-alias stylesheet-prefix="axsl"/>
<xsl:template match="/">
1.2 +3 -2
xml-xalan/test/tests/conf/namespace/err/namespaceerr03.xsl
Index: namespaceerr03.xsl
===================================================================
RCS file:
/home/cvs/xml-xalan/test/tests/conf/namespace/err/namespaceerr03.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespaceerr03.xsl 2000/12/17 21:24:18 1.1
+++ namespaceerr03.xsl 2000/12/29 19:53:50 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"
xmlns:axsl="http://www.w3.org/1999/XSL/TransAlias">
- <!-- FileName: NSPCerr03 -->
+ <!-- FileName: namespaceerr03 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 7.1.1 Literal Result Elements -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test missing attribute in namespace-alias. -->
<!-- ExpectedException: XSLT: Missing namespace URI for specified prefix
-->
<!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException:
Missing namespace URI for specified prefix -->
1.2 +4 -4
xml-xalan/test/tests/conf/namespace/err/namespaceerr04.xsl
Index: namespaceerr04.xsl
===================================================================
RCS file:
/home/cvs/xml-xalan/test/tests/conf/namespace/err/namespaceerr04.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespaceerr04.xsl 2000/12/17 21:24:18 1.1
+++ namespaceerr04.xsl 2000/12/29 19:53:50 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">
- <!-- FileName: nspcerr04 -->
+ <!-- FileName: namespaceerr04 -->
<!-- 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 TOP-LEVEL elements, apparent
code path
@@ -38,7 +39,6 @@
<xsl:namespace-alias stylesheet-prefix="bogus" result-prefix="xsl"
ped:k="k"/>
<xsl:decimal-format decimal-separator="," grouping-separator=" " ped:l="l"/>
-
<xsl:template match="docs" ped:m="m">
<bogus:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<bogus:template match="/">
@@ -54,5 +54,5 @@
</bogus:template>
</bogus:stylesheet>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +4 -3
xml-xalan/test/tests/conf/namespace/err/namespaceerr05.xsl
Index: namespaceerr05.xsl
===================================================================
RCS file:
/home/cvs/xml-xalan/test/tests/conf/namespace/err/namespaceerr05.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespaceerr05.xsl 2000/12/17 21:24:18 1.1
+++ namespaceerr05.xsl 2000/12/29 19:53:50 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"
xmlns:axsl="http://www.w3.org/1999/XSL/TransAlias">
- <!-- FileName: NSPCerr05 -->
+ <!-- FileName: namespaceerr05 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 7.1.1 Literal Result Elements -->
- <!-- Purpose: Test placement of namespace-alias inside atemplate, which is
illegal. -->
+ <!-- Creator: David Marston -->
+ <!-- Purpose: Test placement of namespace-alias inside a template, which
is illegal. -->
<!-- ExpectedException: Must put xsl:namespace-alias outside any template.
-->
<!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException: Must
put xsl:namespace-alias outside any template. -->
1.2 +2 -1
xml-xalan/test/tests/conf/namespace/err/namespaceerr06.xsl
Index: namespaceerr06.xsl
===================================================================
RCS file:
/home/cvs/xml-xalan/test/tests/conf/namespace/err/namespaceerr06.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespaceerr06.xsl 2000/12/17 21:24:18 1.1
+++ namespaceerr06.xsl 2000/12/29 19:53:50 1.2
@@ -3,10 +3,11 @@
xmlns:baz1="http://xsl.lotus.com/ns1"
xmlns:baz2="http://xsl.lotus.com/ns2">
- <!-- FileName: NSPCerr06 -->
+ <!-- FileName: namespaceerr06 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 Node Set Functions. -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of 'local-name()' with too many arguments. -->
<!-- ExpectedException: local-name() has too many arguments. -->
1.2 +2 -1
xml-xalan/test/tests/conf/namespace/err/namespaceerr07.xsl
Index: namespaceerr07.xsl
===================================================================
RCS file:
/home/cvs/xml-xalan/test/tests/conf/namespace/err/namespaceerr07.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespaceerr07.xsl 2000/12/17 21:24:18 1.1
+++ namespaceerr07.xsl 2000/12/29 19:53:50 1.2
@@ -3,10 +3,11 @@
xmlns:baz1="http://xsl.lotus.com/ns1"
xmlns:baz2="http://xsl.lotus.com/ns2">
- <!-- FileName: NSPCerr07 -->
+ <!-- FileName: namespaceerr07 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 Node Set Functions. -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of 'namespace-uri()' with too many arguments. -->
<!-- ExpectedException: namespace-uri() has too many arguments. -->
1.2 +3 -2
xml-xalan/test/tests/conf/namespace/err/namespaceerr08.xsl
Index: namespaceerr08.xsl
===================================================================
RCS file:
/home/cvs/xml-xalan/test/tests/conf/namespace/err/namespaceerr08.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespaceerr08.xsl 2000/12/17 21:24:18 1.1
+++ namespaceerr08.xsl 2000/12/29 19:53:50 1.2
@@ -3,10 +3,11 @@
xmlns:baz1="http://xsl.lotus.com/ns1"
xmlns:baz2="http://xsl.lotus.com/ns2">
- <!-- FileName: NSPCerr08 -->
+ <!-- FileName: namespaceerr08 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
- <!-- Section: 4.1 Node Set Functions. -->
+ <!-- Section: 4.1 Node Set Functions -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of 'name()' with too many arguments. -->
<!-- ExpectedException: name() has too many arguments. -->
1.2 +3 -2
xml-xalan/test/tests/conf/namespace/err/namespaceerr09.xsl
Index: namespaceerr09.xsl
===================================================================
RCS file:
/home/cvs/xml-xalan/test/tests/conf/namespace/err/namespaceerr09.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespaceerr09.xsl 2000/12/17 21:24:18 1.1
+++ namespaceerr09.xsl 2000/12/29 19:53:50 1.2
@@ -3,11 +3,12 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:em="http://www.psol.com/xtension/1.0">
- <!-- FileName: NSPCerr09 -->
+ <!-- FileName: namespaceerr09 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.3 -->
- <!-- Purpose: Test for meaningful message when pattern begins with : (has
null namespace) -->
+ <!-- Creator: David Marston -->
+ <!-- Purpose: Test for meaningful message when expression begins with :
(has null namespace) -->
<!-- ExpectedException: Extra illegal tokens: 'foo' -->
<xsl:template match = "doc">
1.2 +4 -3
xml-xalan/test/tests/conf/namespace/err/namespaceerr01.xsl
Index: namespaceerr01.xsl
===================================================================
RCS file:
/home/cvs/xml-xalan/test/tests/conf/namespace/err/namespaceerr01.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namespaceerr01.xsl 2000/12/17 21:24:18 1.1
+++ namespaceerr01.xsl 2000/12/29 19:53:50 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: NSPCerr01 -->
+ <!-- FileName: namespaceerr01 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.1 XSLT Namespace -->
+ <!-- Creator: David Marston -->
<!-- Purpose: It is an error for an element from XSLT namespace to have
attributes
with expanded-names that have null namespace URI's. -->
<!-- ExpectedException: XSL Error: xsl:copy-of has an illegal attribute:
-->
@@ -14,5 +15,5 @@
<xsl:copy-of select="doc" test="0"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>