From kde-commits Wed May 31 23:43:37 2006 From: Frans Englich Date: Wed, 31 May 2006 23:43:37 +0000 To: kde-commits Subject: tests/kxpathtests/tests Message-Id: <1149119017.705472.11188.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=114911903209705 SVN commit 547150 by englich: Fix tests for the optional validate/schema import features. M +16 -14 schemaimport.xml M +31 -1 validate.xml --- trunk/tests/kxpathtests/tests/schemaimport.xml #547149:547150 @@ -1,43 +1,45 @@ import(::)schema(::) "http://example.com/"; 1 eq 1 + >import(::)schema(::) "http://example.com/NSNOTRECOGNIZED"; 1 eq 1 import(::)schema(::) "http://example.com/" at "example.com/"; 1 eq 1 + >import(::)schema(::) "http://example.com/NSNOTRECOGNIZED" at "example.com/DOESNOTEXIST"; 1 eq 1 import(::)schema(::)"http://example.com/"(::)at(::)"example.com/", + >import(::)schema(::)"http://example.com/NSNOTRECOGNIZED"(::)at(::)"example.com/DOESNOTEXIST", (::)"example.com/2",(::)"example.com/3"; 1 eq 1 import(::)schema(::)"http://example.com/"(::)at(::)"example.com/", + >import(::)schema(::)"http://example.com/NSNOTRECOGNIZED"(::)at(::)"example.com/DOESNOTEXIST", (::)"example.com/2", "example.com/3"; 1 eq 1 import(::)schema(::)namespace(::)prefix(::)=(::)"http://example.com/"(::) - at(::)"example.com/",(::)"example.com/2", "example.com/3"; 1 eq 1 + >import(::)schema(::)namespace(::)prefix(::)=(::)"http://example.com/NSNOTRECOGNIZED"(::) + at(::)"example.com/DOESNOTEXIST",(::)"example.com/2DOESNOTEXIST", + "example.com/3DOESNOTEXIST"; 1 eq 1 import(::)schema(::)(::)default(::)element(::)namespace - (::)"http://example.com/"(::) - at(::)"example.com/",(::)"example.com/2", "example.com/3"; 1 eq 1 + (::)"http://example.com/NSNOTRECOGNIZED"(::) + at(::)"example.com/DOESNOTEXIST",(::)"example.com/2DOESNOTEXIST", + "example.com/3DOESNOTEXIST"; 1 eq 1 + errorCode="XQTY0030 XQST0075"> validate { 1 } + + + validate { () } + + + + validate lax { 1 } + + + + validate strict { 1 } + + + + validate lax { } + + + + validate strict { } + + + + validate { } +