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 { } +