diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2003-02-27 23:24:53 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2003-02-27 23:24:53 +0000 |
commit | 7b72ee5cfc00e18fd773db3b9c8edcf4057c564a (patch) | |
tree | 52094c7393825984935a64d3429f1ca744e8163a /test | |
parent | 463a5479a825acf0df4501446d4dcd6b10f7e248 (diff) | |
download | platform_external_libxml2-7b72ee5cfc00e18fd773db3b9c8edcf4057c564a.tar.gz platform_external_libxml2-7b72ee5cfc00e18fd773db3b9c8edcf4057c564a.tar.bz2 platform_external_libxml2-7b72ee5cfc00e18fd773db3b9c8edcf4057c564a.zip |
fixed a node dump crash on attributes fixed an URI test bug and get better
* tree.c: fixed a node dump crash on attributes
* test/xsdtest/xsdtest.xml test/xsdtest/xsdtest.xsl: fixed
an URI test bug and get better output.
Daniel
Diffstat (limited to 'test')
-rw-r--r-- | test/xsdtest/xsdtest.xml | 3 | ||||
-rw-r--r-- | test/xsdtest/xsdtest.xsl | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/test/xsdtest/xsdtest.xml b/test/xsdtest/xsdtest.xml index 2fe94b65..45d0be1d 100644 --- a/test/xsdtest/xsdtest.xml +++ b/test/xsdtest/xsdtest.xml @@ -21,10 +21,11 @@ <datatype name="anyURI"> <valid>foobar</valid> <valid>http://www.example.com</valid> -<valid>http://www.example.co%6d</valid> +<valid>http://ji%6d@www.example.com</valid> <valid>nosuchscheme:stuff</valid> <invalid>foo$bar:stuff</invalid> <invalid>f%oobar</invalid> +<invalid>http://www.example.co%6d</invalid> </datatype> <datatype name="integer"> <valid>10</valid> diff --git a/test/xsdtest/xsdtest.xsl b/test/xsdtest/xsdtest.xsl index 1290b168..d57adf23 100644 --- a/test/xsdtest/xsdtest.xsl +++ b/test/xsdtest/xsdtest.xsl @@ -12,6 +12,8 @@ </xsl:template> <xsl:template match="datatype"> +<testSuite> +<documentation>Datatype <xsl:value-of select="@name"/></documentation> <testCase> <requires datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"/> <correct> @@ -27,6 +29,7 @@ <xsl:apply-templates select="valid|invalid"/> </testCase> <xsl:apply-templates select="equiv/class|length|lessThan|incomparable"/> +</testSuite> </xsl:template> <xsl:template match="valid"> |