You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2015/01/12 21:18:48 UTC
[1/5] jena git commit: Remove duplicated test package
org.apache.jena.iri.test
Repository: jena
Updated Branches:
refs/heads/master ecdcd0d9c -> 2941cf754
http://git-wip-us.apache.org/repos/asf/jena/blob/e89146d8/jena-iri/src/test/resources/org/apache/jena/iri/test/uris.xml
----------------------------------------------------------------------
diff --git a/jena-iri/src/test/resources/org/apache/jena/iri/test/uris.xml b/jena-iri/src/test/resources/org/apache/jena/iri/test/uris.xml
deleted file mode 100644
index bd7ddc1..0000000
--- a/jena-iri/src/test/resources/org/apache/jena/iri/test/uris.xml
+++ /dev/null
@@ -1,463 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<uris>
- <uri base="http://host/" relative="../foo" />
- <uri base="http://host/xyz" relative="../foo" />
-
- <uri base='http://www.example.org/a/b/c/d' relative='d/z?x=a'/>
- <uri base='http://www.example.org/a/b/c/d' relative='http://example.com/A'/>
- <uri base='http://www.example.org/a/b/c/d/' relative=''/>
- <uri base='http://www.example.org/a/b/c/d/' relative='.'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='../../C/D'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='../../c/d/'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='../../c/d/X#bar'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='../../c/d/e/f/g/'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='../../c/d/z?x=a'/>
- <uri base='http://www.example.org./a/b/c/d/' relative='http://ex.org/../../c/d/z?x=a'/>
- <uri absolute='http://ex.org./../../c/d/z?x=a'/>
-
- <uri base='http://www.example.org/a/b/c/d/' relative='http://ex.org/c/./d/z?x=a'/>
-
- <uri absolute='http://ex.org/c/./d/z?x=a'/>
-
-
- <uri absolute='mailto:'/>
- <uri absolute='mailto:?subject=test'/>
-
- <uri absolute='file:C:\DOCUME~1\jjchplb\LOCALS~1\Temp\hedgehog6739.rdf'/>
- <uri base='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-charmod-uris/test001.rdf' relative='http://example.org/#André'/>
- <uri base='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-charmod-uris/test002.rdf' relative='http://example.org/#Andr%C3%A9'/>
- <uri base='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-difference-between-ID-and-about/test2.rdf' relative='#Dürst'/>
- <uri absolute='h^ttp:prop'/>
- <uri absolute='h^ttp:title'/>
- <uri absolute='ht#tp://jjc3.org/demo.mp3#frag'/>
- <uri absolute='ht^tp:'/>
- <uri absolute='ht^tp://www.w3.org/demo.mp3'/>
- <uri absolute='ht^tp:Foo'/>
- <uri absolute='http:'/>
- <uri absolute='http://46229EFFE16A9BD60B9F1BE88B2DB047ADDED785/demo.mp3'/>
- <uri absolute='http://example.org/#Andreĭ'/>
- <uri absolute='http://example.org/#André'/>
- <uri absolute='http://example.org/	'/>
- <uri absolute='http://example.org/

'/>
- <uri absolute='http://example.org/
'/>
- <uri absolute='http://example.org/<b>boo'/>
- <uri absolute='http://example.org/"'/>
- <uri absolute='http://André.example.org/foo'/>
- <uri absolute='http://andré.example.org/foo'/>
- <uri absolute='http://xn--andr--ep-.example.org/foo'/>
-
-
- <uri absolute='Http://example.org/'/>
- <uri absolute='Http://example.org/prop'/>
- <uri absolute='NC:ispinfo'/>
- <uri absolute='NC:trickMe'/>
- <uri absolute='_:a'/>
- <uri absolute='_:aa'/>
- <uri absolute='app://calendar/event'/>
- <uri absolute='chrome://messenger/content/mailPrefsOverlay.xul'/>
- <uri absolute='domain:a'/>
- <uri absolute='domain:aol.com'/>
- <uri absolute='eh:/'/>
- <uri absolute='eh://'/>
- <uri absolute='eh://R'/>
- <uri absolute='eh:/O'/>
- <uri absolute='eh:/a'/>
- <uri absolute='eh:/bark'/>
- <uri absolute='file:///C:/Documents and Settings/jjchplb/Local Settings/Temp/test-load-with-41.rdf'/>
- <uri absolute='file:///C:/eclipse/workspace/jena2/testing/ARQ/Construct/reif-result-1.rdf'/>
- <uri absolute='file:///test01'/>
- <uri absolute='file:///test02'/>
- <uri absolute='file:///test03'/>
- <uri absolute='file:///test04'/>
- <uri absolute='file:///test05'/>
- <uri absolute='file:///testutf8'/>
- <uri absolute='file:/C:/a'/>
- <uri absolute='file:/C:/orel/orel0_5.owl#'/>
- <uri absolute='file:/C:/orel/orel0_5.owl#Agent'/>
- <uri absolute='file:/C:/orel/orel0_5.owl'/>
- <uri absolute='file:C:\DOCUME~1\jjchplb\LOCALS~1\Temp\hedgehog6739.rdf'/>
- <uri absolute='file:doc/inference/data/owlDemoSchema.xml'/>
- <uri absolute='file:etc/ont-policy-test.rdf'/>
- <uri absolute='file:testing/ontology/list5.rdf#e'/>
- <uri absolute='file:vocabularies/rdf-schema.rdf'/>
- <uri absolute='ftp://net.fred.org/'/>
- <uri absolute='ftp://net.fred.org/P'/>
- <uri absolute='ftp:ftp/'/>
- <uri absolute='ftp:ftp/P'/>
-
- <uri absolute='h^ttp:'/>
- <uri absolute='h^ttp:prop'/>
- <uri absolute='h^ttp:title'/>
- <uri absolute='ht#tp://jjc3.org/demo.mp3#frag'/>
- <uri absolute='ht^tp:'/>
- <uri absolute='ht^tp://www.w3.org/demo.mp3'/>
- <uri absolute='ht^tp:Foo'/>
- <uri absolute='http:'/>
- <uri absolute='http://46229EFFE16A9BD60B9F1BE88B2DB047ADDED785/demo.mp3'/>
- <uri absolute='http://NoHTML.example.org'/>
- <uri absolute='http://a.com/ontology#'/>
- <uri absolute='http://a.com/ontology'/>
- <uri absolute='http://aldabaran.hpl.hp.com/rdftest/test18/'/>
- <uri absolute='http://bar.com/irrelevant'/>
- <uri absolute='http://decsai.ugr.es/~ontoserver/bacarex2.owl#'/>
- <uri absolute='http://decsai.ugr.es/~ontoserver/bacarex2.owl#Importance'/>
- <uri absolute='http://desc'/>
- <uri absolute='http://dickinson-i-4/daml/tests/test-add-0.daml#'/>
- <uri absolute='http://dickinson-i-4/daml/tests/test-add-0.daml#TestClass'/>
- <uri absolute='http://domain/S'/>
- <uri absolute='http://eg.com/'/>
- <uri absolute='http://ex/dt'/>
-
- <uri absolute='http://example.com/A'/>
- <uri absolute='http://example.com/test0'/>
- <uri absolute='http://example.org/ '/>
- <uri absolute='http://example.org/ '/>
- <uri absolute='http://example.org/ '/>
- <uri absolute='http://example.org/ '/>
- <uri absolute='http://example.org/#'/>
- <uri absolute='http://example.org/#Andr%C3%A9'/>
- <uri absolute='http://example.org/#Andreĭ'/>
- <uri absolute='http://example.org/#André'/>
- <uri absolute='http://example.org/	'/>
- <uri absolute='http://example.org/

'/>
- <uri absolute='http://example.org/
'/>
- <uri absolute='http://example.org/<b>boo'/>
- <uri absolute='http://example.org/"'/>
- <uri absolute='http://example.org/2#'/>
- <uri absolute='http://example.org/2#Class'/>
- <uri absolute='http://example.org/Range2'/>
- <uri absolute='http://example.org/\\'/>
- <uri absolute='http://example.org/`'/>
- <uri absolute='http://example.org/data#Socrates'/>
- <uri absolute='http://example.org/data/'/>
- <uri absolute='http://example.org/{'/>
- <uri absolute='http://example.org/|'/>
- <uri absolute='http://example.org/}'/>
- <uri absolute='http://example/barfoo'/>
- <uri absolute='http://example/q?abc=1&def=2'/>
- <uri absolute='http://foo.com/ '/>
- <uri absolute='http://foo.com/ '/>
- <uri absolute='http://foo.com/ '/>
- <uri absolute='http://foo.com/ '/>
- <uri absolute='http://foo.com/	'/>
- <uri absolute='http://foo.com/

'/>
- <uri absolute='http://foo.com/
'/>
- <uri absolute='http://foo.com/''/>
- <uri absolute='http://foo.com/<b>boo'/>
- <uri absolute='http://foo.com/"'/>
- <uri absolute='http://foo.com/'/>
- <uri absolute='http://foo.com/Hello#activation.xul'/>
- <uri absolute='http://foo.com/Hello#bar'/>
- <uri absolute='http://foo.com/Hello#bm-find.xul'/>
- <uri absolute='http://foo.com/Hello#bookmarks.xul'/>
- <uri absolute='http://foo.com/Hello#pref-appearance.xul'/>
- <uri absolute='http://home.netscape.com/NC-rdf#'/>
- <uri absolute='http://home.netscape.com/NC-rdf#hostName'/>
- <uri absolute='http://jjc#3.org/demo.mp3#frag'/>
- <uri absolute='http://jjc^3.org/demo.mp3'/>
- <uri absolute='http://localhost:8080/Repository/QueryAgent/UserOntology/qgen-example-1#'/>
- <uri absolute='http://localhost:8080/Repository/QueryAgent/UserOntology/qgen-example-1'/>
- <uri absolute='http://localhost:8080/axis/daml/a.daml#'/>
- <uri absolute='http://localhost:8080/kc2c#C1'/>
- <uri absolute='http://localhost:8080/kc2c#i1'/>
- <uri absolute='http://localhost:8080/kc2c#i2'/>
- <uri absolute='http://localhost:8080/kc2c#p1'/>
- <uri absolute='http://news.bbc.co.uk/go/click/rss/0.91/public/-/hi/arabic/news/newsid_4447000/4447211.stm'/>
- <uri absolute='http://oiled.man.example.net/test#p1.comp'/>
- <uri absolute='http://purl.org/dc/elements/1.0/title'/>
- <uri absolute='http://purl.org/dc/elements/1.1/'/>
- <uri absolute='http://purl.org/dc/elements/1.1/copyright'/>
- <uri absolute='http://purl.org/metadata/dublin_core#Creator'/>
- <uri absolute='http://purl.org/metadata/dublin_core#Title'/>
- <uri absolute='http://rdf.dmoz.org/Top/World/Tamil/x'/>
- <uri absolute='http://somewhere/JohnSmith/'/>
- <uri absolute='http://web.resource.org/cc/'/>
- <uri absolute='http://ww^w/'/>
- <uri absolute='http://www.cs101.org/2003/08/07/RDF/JenaBugOntology#'/>
- <uri absolute='http://www.daml.org/2001/03/daml+oil#Class'/>
- <uri absolute='http://www.daml.org/2001/03/daml+oil#Datatype'/>
- <uri absolute='http://www.daml.org/2001/03/daml+oil-ex#Adam'/>
- <uri absolute='http://www.example.org/A/B#foo/'/>
- <uri absolute='http://www.example.org/a/b/c/d/z?x=a'/>
- <uri absolute='http://www.mozilla.org/rdf/chrome#dtTest'/>
- <uri absolute='http://www.w#3.org/demo.mp3'/>
- <uri absolute='http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq'/>
- <uri absolute='http://www.w3.org/2000/01/rdf-schema#ConstraintProperty'/>
- <uri absolute='http://www.w3.org/2000/01/rdf-schema#Container'/>
- <uri absolute='http://www.w3.org/2000/03/rdf-tracking/#rdfms-duplicate-member-props'/>
- <uri absolute='http://www.w3.org/2000/10/XMLSchema#positiveInteger'/>
- <uri absolute='http://www.w3.org/2000/10/XMLSchema#string'/>
- <uri absolute='http://www.w3.org/2001/XMLSchema#gYear'/>
- <uri absolute='http://www.w3.org/2001/XMLSchema#gYearMonth'/>
- <uri absolute='http://www.w3.org/2001/vcard-rdf/3.0#work'/>
- <uri absolute='mailto:Jeremy_Carroll@hp.com'/>
- <uri absolute='mailto:alice@work.example'/>
- <uri absolute='mailto:bob@work.example'/>
- <uri absolute='uri:urn:x-rdf:test#a'/>
- <uri absolute='uri:urn:x-rdf:test#b'/>
- <uri absolute='uri:urn:x-rdf:test#c'/>
- <uri absolute='urn:foo#'/>
- <uri absolute='urn:foo#A'/>
- <uri absolute='urn:foo#p'/>
- <uri absolute='urn:x-hp-jena:test#A'/>
- <uri absolute='urn:x-hp-jena:test#a0'/>
- <uri absolute='urn:x-hp-jena:test#a1'/>
- <uri absolute='urn:x-hp:eg#D'/>
- <uri absolute='urn:x-hp:eg/'/>
- <uri absolute='urn:x-hp:eg/hasGraphics'/>
- <uri absolute='urn:x-hp:eg/hasMotherBoard'/>
- <uri base='urn:x-hp:eg/hasMotherBoard' relative='#'/>
- <uri base='base:x' relative='#'/>
- <uri base='file:///C:/Documents and Settings/jjchplb/Local Settings/Temp/test-load-with-41.rdf' relative=''/>
- <uri base='file:///C:/Documents and Settings/jjchplb/Local Settings/Temp/test-load-with-41.rdf' relative='eh:/a'/>
- <uri base='file:///C:/eclipse/workspace/jena2/' relative='#'/>
- <uri base='file:///C:/eclipse/workspace/jena2/' relative=''/>
-
- <uri base='file:///C:/eclipse/workspace/jena2/' relative='base'/>
- <uri base='file:///C:/eclipse/workspace/jena2/' relative='eh://R'/>
- <uri base='file:///C:/eclipse/workspace/jena2/' relative='eh:/O'/>
- <uri base='file:///C:/eclipse/workspace/jena2/' relative='file:foo.n3'/>
- <uri base='file:///C:/eclipse/workspace/jena2/' relative='file:model8.n3'/>
- <uri base='file:///C:/eclipse/workspace/jena2/' relative='rdf://test.com#'/>
- <uri base='file:///C:/eclipse/workspace/jena2/foo.n3' relative='z'/>
- <uri base='file:///C:/eclipse/workspace/jena2/testing/ARQ/Ask/manifest.ttl' relative=''/>
- <uri base='file:///C:/eclipse/workspace/jena2/testing/ARQ/Basic/manifest.ttl' relative='r-base-prefix-3.ttl'/>
- <uri base='file:///C:/eclipse/workspace/jena2/testing/ARQ/Basic/manifest.ttl' relative='r-base-prefix-4.ttl'/>
- <uri base='file:///C:/eclipse/workspace/jena2/testing/ARQ/Optional/result-opt-1.ttl' relative='mailto:bert@example.net'/>
- <uri base='file:///C:/eclipse/workspace/jena2/testing/ARQ/manifest-arq.ttl' relative='Bound/manifest.n3'/>
- <uri base='file:///C:/eclipse/workspace/jena2/testing/ARQ/manifest-arq.ttl' relative='Construct/manifest.ttl'/>
- <uri base='file:///C:/eclipse/workspace/jena2/testing/ARQ/manifest-arq.ttl' relative='Dataset/manifest.n3'/>
- <uri base='file:///C:/eclipse/workspace/jena2/testing/DAWG-Approved/examples/ex2-4a.n3' relative='mailto:jlow@example.com'/>
- <uri base='file:///C:/eclipse/workspace/jena2/testing/DAWG/examples/manifest.n3' relative='ex11.2.3.2_0.rq'/>
- <uri base='file:///C:/eclipse/workspace/jena2/testing/RDQL-ARQ/result-0-01.n3' relative='urn:/*not_a_comment*/'/>
- <uri base='file:///C:/eclipse/workspace/jena2/testing/ontology/bugs/test_hk_06/b.owl' relative='#y1'/>
- <uri base='file:///C:/eclipse/workspace/jena2/testing/ontology/bugs/test_hk_06/b.owl' relative=''/>
- <uri base='file:///C:/eclipse/workspace/jena2/testing/ontology/bugs/test_hk_07A.owl' relative='foo#ClassAC'/>
- <uri base='file:///C:/eclipse/workspace/jena2/testing/ontology/bugs/test_hk_07A.owl' relative='file:testing/ontology/bugs/test_hk_07A.owl'/>
- <uri base='file:///C:/eclipse/workspace/jena2/testing/reasoners/bugs/sbug.rdf' relative='jason6'/>
- <uri base='file:///C:/eclipse/workspace/jena2/testing/reasoners/bugs/subpropertyModel.n3' relative='urn:x-propNum100'/>
- <uri base='file:///C:/eclipse/workspace/jena2/testing/reasoners/bugs/unbroken.n3' relative='eh:/V'/>
- <uri base='file:///C:/eclipse/workspace/jena2/testing/reasoners/bugs/unbroken.n3' relative='eh:/a'/>
- <uri base='file:C:\DOCUME~1\jjchplb\LOCALS~1\Temp\hedgehog6739.rdf' relative=''/>
- <uri base='file:C:\DOCUME~1\jjchplb\LOCALS~1\Temp\hedgehog6739.rdf' relative='http://spoo.net/O'/>
- <uri base='file:C:\DOCUME~1\jjchplb\LOCALS~1\Temp\hedgehog6739.rdf' relative='http://spoo.net/S'/>
- <uri base='file:doc/inference/data/owlDemoSchema.xml' relative='urn:x-hp:eg/'/>
- <uri base='file:testing/abbreviated/relative-uris.rdf' relative=''/>
- <uri base='file:testing/abbreviated/relative-uris.rdf' relative='.'/>
- <uri base='file:testing/abbreviated/relative-uris.rdf' relative='../../C/D'/>
- <uri base='file:testing/abbreviated/relative-uris.rdf' relative='//example.com/A'/>
- <uri base='file:testing/abbreviated/relative-uris.rdf' relative='/A/B#foo/'/>
- <uri base='file:testing/abbreviated/relative-uris.rdf' relative='X#bar'/>
- <uri base='file:testing/abbreviated/relative-uris.rdf' relative='e/f/g/'/>
- <uri base='file:testing/abbreviated/relative-uris.rdf' relative='http://www.example.org/a/b/c/d/'/>
- <uri base='file:testing/abbreviated/relative-uris.rdf' relative='z?x=a'/>
- <uri base='file:testing/arp/error-msgs/test06.rdf' relative=''/>
- <uri base='file:testing/arp/qname-in-ID/bug74_0.rdf' relative='#one'/>
- <uri base='file:testing/arp/qname-in-ID/bug74_0.rdf' relative='#sw:test'/>
- <uri base='file:testing/ontology/bugs/test_dk_01.xml' relative='http://localhost:8080/Repository/QueryAgent/UserOntology/qgen-example-1#'/>
- <uri base='file:testing/ontology/bugs/test_dk_01.xml' relative='owl#Thing'/>
- <uri base='file:testing/ontology/bugs/test_oh_01.owl' relative='#__rest3'/>
- <uri base='file:testing/ontology/daml/test-instance-load.daml' relative='file:testing/ontology/daml/test-instance-load-classes.daml'/>
- <uri base='file:testing/ontology/owl/list-syntax/test-ldp.rdf' relative='#Union2'/>
- <uri base='file:testing/reasoners/bugs/cardFPTest.owl' relative='urn:foo'/>
- <uri base='file:testing/reasoners/bugs/deleteBug.owl' relative='http://decsai.ugr.es/~ontoserver/bacarex2.owl'/>
- <uri base='file:testing/reasoners/bugs/equivalentClassTest.owl' relative='#A'/>
- <uri base='http://bar.com/irrelevant' relative='NC:ispinfo'/>
- <uri base='http://bar.com/irrelevant' relative='NC:trickMe'/>
- <uri base='http://bar.com/irrelevant' relative='chrome://messenger/content/mailPrefsOverlay.xul'/>
- <uri base='http://bar.com/irrelevant' relative='domain:aol.com'/>
- <uri base='http://bar.com/irrelevant' relative='http://foo.com/ '/>
- <uri base='http://bar.com/irrelevant' relative='http://foo.com/ '/>
- <uri base='http://bar.com/irrelevant' relative='http://foo.com/ '/>
- <uri base='http://bar.com/irrelevant' relative='http://foo.com/ '/>
- <uri base='http://bar.com/irrelevant' relative='http://foo.com/	'/>
- <uri base='http://bar.com/irrelevant' relative='http://foo.com/

'/>
- <uri base='http://bar.com/irrelevant' relative='http://foo.com/
'/>
- <uri base='http://bar.com/irrelevant' relative='http://foo.com/''/>
- <uri base='http://bar.com/irrelevant' relative='http://foo.com/<b>boo'/>
- <uri base='http://bar.com/irrelevant' relative='http://foo.com/"'/>
- <uri base='http://bar.com/irrelevant' relative='http://foo.com/'/>
-
- <!--
- <uri base='http://bar.com/irrelevant' relative='http://foo.com/\\'/>
- <uri base='http://bar.com/irrelevant' relative='http://foo.com/`'/>
- <uri base='http://bar.com/irrelevant' relative='http://foo.com/{'/>
- <uri base='http://bar.com/irrelevant' relative='http://foo.com/|'/>
- <uri base='http://bar.com/irrelevant' relative='http://foo.com/}'/>
- <uri base='http://example.org' relative='relfile'/>
- <uri base='http://example.org' relative='test'/>
- <uri base='http://example.org/' relative='#333-555-666'/>
- <uri base='http://example.org/' relative='#?bb'/>
- <uri base='http://example.org/' relative='#_:xx'/>
- <uri base='http://example.org/' relative='#a/b'/>
- <uri base='http://example.org/base/' relative='#en'/>
- <uri base='http://example.org/base/' relative=''/>
- <uri base='http://example.org/base/' relative='en'/>
- <uri base='http://example.org/base/' relative='http://ex/dt'/>
- <uri base='http://example.org/base/en' relative='#en'/>
- <uri base='http://example.org/base/en' relative=''/>
- <uri base='http://example.org/base/en' relative='en'/>
- <uri base='http://example.org/bug74_0.rdf' relative='#sw:test'/>
- <uri base='http://example.org/dir/file#frag' relative=''/>
- <uri base='http://example.org/dir/file' relative='#foo'/>
- <uri base='http://example.org/dir/file' relative='../relfile'/>
- <uri base='http://example.org/dir/file' relative='//another.example.org/absfile'/>
- <uri base='http://example.org/dir/file' relative='/absfile'/>
- <uri base='http://example.org/foo' relative=' '/>
- <uri base='http://example.org/foo' relative=' '/>
- <uri base='http://example.org/foo' relative=' '/>
- <uri base='http://example.org/foo' relative=' '/>
- <uri base='http://example.org/foo' relative='	'/>
- <uri base='http://example.org/foo' relative='

'/>
- <uri base='http://example.org/foo' relative='
'/>
- <uri base='http://example.org/foo' relative='''/>
- <uri base='http://example.org/foo' relative='<b>boo'/>
- <uri base='http://example.org/foo' relative='"'/>
- <uri base='http://example.org/foo' relative=''/>
- <uri base='http://example.org/foo' relative='/'/>
- <uri base='http://example.org/foo' relative='\\'/>
- <uri base='http://example.org/foo' relative='`'/>
- <uri base='http://example.org/foo' relative='{'/>
- <uri base='http://example.org/foo' relative='|'/>
- <uri base='http://example.org/foo' relative='}'/>
- <uri base='http://example.org/ontology/list4.rdf' relative='uri:urn:x-rdf:test'/>
- <uri base='http://example/' relative='#'/>
- <uri base='http://example/' relative=''/>
- <uri base='http://foo.com/Hello' relative='.'/>
- <uri base='http://foo.com/Hello' relative='/'/>
- <uri base='http://foo.com/Hello' relative='NC:ispinfo'/>
- <uri base='http://foo.com/Hello' relative='NC:trickMe'/>
- <uri base='http://foo.com/Hello' relative='\\'/>
- <uri base='http://foo.com/Hello' relative='`'/>
- <uri base='http://foo.com/Hello' relative='chrome://messenger/content/mailPrefsOverlay.xul'/>
- <uri base='http://foo.com/Hello' relative='domain:aol.com'/>
- <uri base='http://foo.com/Hello' relative='urn:foo#P1'/>
- <uri base='http://foo.com/Hello' relative='{'/>
- <uri base='http://foo.com/Hello' relative='|'/>
- <uri base='http://foo.com/Hello' relative='}'/>
- <uri base='http://host/base/' relative='#'/>
- <uri base='http://host/base/' relative=''/>
- <uri base='http://jcarroll.hpl.hp.com/arp-tests/i18n/t9000.rdf' relative=' '/>
- <uri base='http://jcarroll.hpl.hp.com/arp-tests/i18n/t9000.rdf' relative='#'/>
- <uri base='http://jcarroll.hpl.hp.com/arp-tests/i18n/t9000.rdf' relative='	'/>
- <uri base='http://jcarroll.hpl.hp.com/arp-tests/i18n/t9000.rdf' relative='

'/>
- <uri base='http://jcarroll.hpl.hp.com/arp-tests/i18n/t9000.rdf' relative='
'/>
- <uri base='http://jcarroll.hpl.hp.com/arp-tests/i18n/t9000.rdf' relative='''/>
- <uri base='http://jcarroll.hpl.hp.com/arp-tests/i18n/t9000.rdf' relative='<b>boo'/>
- <uri base='http://jcarroll.hpl.hp.com/arp-tests/i18n/t9000.rdf' relative='"'/>
- <uri base='http://jcarroll.hpl.hp.com/arp-tests/i18n/t9000.rdf' relative=''/>
- <uri base='http://jcarroll.hpl.hp.com/arp-tests/i18n/t9000.rdf' relative='/'/>
- <uri base='http://jcarroll.hpl.hp.com/arp-tests/i18n/t9000.rdf' relative='\\'/>
- <uri base='http://jcarroll.hpl.hp.com/arp-tests/i18n/t9000.rdf' relative='`'/>
- <uri base='http://www.example.org/A/B#' relative=''/>
- <uri base='http://www.example.org/A/B' relative='#foo/'/>
- <uri base='http://www.example.org/A/B' relative='../A/B#foo/'/>
- <uri base='http://www.example.org/A/B' relative='../a/b/C/D'/>
- <uri base='http://www.example.org/A/B' relative='../a/b/c/d/'/>
- <uri base='http://www.example.org/A/B' relative='../a/b/c/d/X#bar'/>
- <uri base='http://www.example.org/A/B' relative='../a/b/c/d/e/f/g/'/>
- <uri base='http://www.example.org/A/B' relative='../a/b/c/d/z?x=a'/>
- <uri base='http://www.example.org/A/B' relative='//example.com/A'/>
- <uri base='http://www.example.org/A/B' relative='//www.example.org/A/B#foo/'/>
- <uri base='http://www.example.org/A/B' relative='//www.example.org/a/b/C/D'/>
- <uri base='http://www.example.org/A/B' relative='//www.example.org/a/b/c/d/'/>
- <uri base='http://www.example.org/A/B' relative='//www.example.org/a/b/c/d/X#bar'/>
- <uri base='http://www.example.org/A/B' relative='//www.example.org/a/b/c/d/e/f/g/'/>
- <uri base='http://www.example.org/A/B' relative='//www.example.org/a/b/c/d/z?x=a'/>
- <uri base='http://www.example.org/A/B' relative='/A/B#foo/'/>
- <uri base='http://www.example.org/A/B' relative='/a/b/C/D'/>
- <uri base='http://www.example.org/A/B' relative='/a/b/c/d/'/>
- <uri base='http://www.example.org/A/B' relative='/a/b/c/d/X#bar'/>
- <uri base='http://www.example.org/A/B' relative='/a/b/c/d/e/f/g/'/>
- <uri base='http://www.example.org/A/B' relative='/a/b/c/d/z?x=a'/>
- <uri base='http://www.example.org/A/B' relative='B#foo/'/>
- <uri base='http://www.example.org/a/b/c/d' relative='../../b/C/D'/>
- <uri base='http://www.example.org/a/b/c/d' relative='../../b/c/d/'/>
- <uri base='http://www.example.org/a/b/c/d' relative='../../b/c/d/X#bar'/>
- <uri base='http://www.example.org/a/b/c/d' relative='../../b/c/d/e/f/g/'/>
- <uri base='http://www.example.org/a/b/c/d' relative='../../b/c/d/z?x=a'/>
- <uri base='http://www.example.org/a/b/c/d' relative='../C/D'/>
- <uri base='http://www.example.org/a/b/c/d' relative='../c/d/'/>
- <uri base='http://www.example.org/a/b/c/d' relative='../c/d/X#bar'/>
- <uri base='http://www.example.org/a/b/c/d' relative='../c/d/e/f/g/'/>
- <uri base='http://www.example.org/a/b/c/d' relative='../c/d/z?x=a'/>
- <uri base='http://www.example.org/a/b/c/d' relative='//example.com/A'/>
- <uri base='http://www.example.org/a/b/c/d' relative='//www.example.org/A/B#foo/'/>
- <uri base='http://www.example.org/a/b/c/d' relative='//www.example.org/a/b/C/D'/>
- <uri base='http://www.example.org/a/b/c/d' relative='//www.example.org/a/b/c/d/'/>
- <uri base='http://www.example.org/a/b/c/d' relative='//www.example.org/a/b/c/d/X#bar'/>
- <uri base='http://www.example.org/a/b/c/d' relative='//www.example.org/a/b/c/d/e/f/g/'/>
- <uri base='http://www.example.org/a/b/c/d' relative='//www.example.org/a/b/c/d/z?x=a'/>
- <uri base='http://www.example.org/a/b/c/d' relative='/A/B#foo/'/>
- <uri base='http://www.example.org/a/b/c/d' relative='/a/b/C/D'/>
- <uri base='http://www.example.org/a/b/c/d' relative='/a/b/c/d/'/>
- <uri base='http://www.example.org/a/b/c/d' relative='/a/b/c/d/X#bar'/>
- <uri base='http://www.example.org/a/b/c/d' relative='/a/b/c/d/e/f/g/'/>
- <uri base='http://www.example.org/a/b/c/d' relative='/a/b/c/d/z?x=a'/>
- <uri base='http://www.example.org/a/b/c/d' relative='d/'/>
- <uri base='http://www.example.org/a/b/c/d' relative='d/X#bar'/>
- <uri base='http://www.example.org/a/b/c/d' relative='d/e/f/g/'/>
- <uri base='http://www.example.org/a/b/c/d' relative='d/z?x=a'/>
- <uri base='http://www.example.org/a/b/c/d' relative='http://example.com/A'/>
- <uri base='http://www.example.org/a/b/c/d/' relative=''/>
- <uri base='http://www.example.org/a/b/c/d/' relative='.'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='../../C/D'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='../../c/d/'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='../../c/d/X#bar'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='../../c/d/e/f/g/'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='../../c/d/z?x=a'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='../d/'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='../d/X#bar'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='../d/e/f/g/'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='../d/z?x=a'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='//example.com/A'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='//www.example.org/A/B#foo/'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='//www.example.org/a/b/C/D'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='//www.example.org/a/b/c/d/'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='//www.example.org/a/b/c/d/X#bar'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='//www.example.org/a/b/c/d/e/f/g/'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='//www.example.org/a/b/c/d/z?x=a'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='/A/B#foo/'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='/a/b/C/D'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='/a/b/c/d/'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='/a/b/c/d/X#bar'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='/a/b/c/d/e/f/g/'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='/a/b/c/d/z?x=a'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='X#bar'/>
- <uri base='http://www.example.org/a/b/c/d/' relative='e/f/g/'/>
- <uri base='http://www.hpl.hp.com/semweb/2003/query_tester/rdfs/data3.rdf' relative='eg;Amy'/>
- <uri base='http://www.hpl.hp.com/semweb/2003/query_tester/rdfs/data3.rdf' relative='eg;John'/>
- <uri base='http://www.w3.org/2000/10/rdf-tests/rdfcore/extra-credit/conclusions002.rdf' relative='premises002#N-times-M'/>
- <uri base='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-charmod-uris/test001.rdf' relative='http://example.org/#André'/>
- <uri base='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-charmod-uris/test002.rdf' relative='http://example.org/#Andr%C3%A9'/>
- <uri base='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-difference-between-ID-and-about/test2.rdf' relative='#Dürst'/>
- <uri base='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-rdf-id/error001.rdf' relative='#333-555-666'/>
- <uri base='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-rdf-id/error001.rdf' relative=''/>
- <uri base='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-rdf-id/error002.rdf' relative='#_:xx'/>
- <uri base='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-rdf-id/error003.rdf' relative='#q:name'/>
- <uri base='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-rdf-id/error004.rdf' relative='#a/b'/>
- <uri base='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-rdf-id/error005.rdf' relative='#?bb'/>
- <uri base='http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/error001.rdf' relative='mailto:Jeremy_Carroll@hp.com'/>
- <uri base='http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test006.rdf' relative='relFile'/>
- <uri base='http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test007.rdf' relative=''/>
- <uri base='http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test007.rdf' relative='../relfile'/>
- <uri base='http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test009.rdf' relative='/absfile'/>
- <uri base='http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test010.rdf' relative='//another.example.org/absfile'/>
- <uri base='http://www.w3.org/2002/03owlt/extra-credit/conclusions002' relative='premises002#N-times-M'/>
- -->
-</uris>
\ No newline at end of file
[4/5] jena git commit: Reformat
Posted by an...@apache.org.
Reformat
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/067e0994
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/067e0994
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/067e0994
Branch: refs/heads/master
Commit: 067e09946f66b7f37747ef24be243f4ce6fff0e3
Parents: e89146d
Author: Andy Seaborne <an...@apache.org>
Authored: Mon Jan 12 20:17:36 2015 +0000
Committer: Andy Seaborne <an...@apache.org>
Committed: Mon Jan 12 20:17:36 2015 +0000
----------------------------------------------------------------------
jena-iri/src/test/java/org/apache/jena/iri/TestExample.java | 9 ++++-----
.../src/test/java/org/apache/jena/iri/TestMoreExamples.java | 5 +----
2 files changed, 5 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/067e0994/jena-iri/src/test/java/org/apache/jena/iri/TestExample.java
----------------------------------------------------------------------
diff --git a/jena-iri/src/test/java/org/apache/jena/iri/TestExample.java b/jena-iri/src/test/java/org/apache/jena/iri/TestExample.java
index cfe6a80..ce32940 100644
--- a/jena-iri/src/test/java/org/apache/jena/iri/TestExample.java
+++ b/jena-iri/src/test/java/org/apache/jena/iri/TestExample.java
@@ -154,12 +154,11 @@ public class TestExample extends TestCase
IRI iri = f.create(uri);
if (iri.hasViolation(false)) {
- if (good) fail("Unexpected violation found: "+
- ((iri.violations(false).next())).codeName()
-
- );
+ if (good)
+ fail("Unexpected violation found: "+((iri.violations(false).next())).codeName());
} else {
- if (!good) fail("Expected a violation, none found.");
+ if (!good)
+ fail("Expected a violation, none found.");
}
http://git-wip-us.apache.org/repos/asf/jena/blob/067e0994/jena-iri/src/test/java/org/apache/jena/iri/TestMoreExamples.java
----------------------------------------------------------------------
diff --git a/jena-iri/src/test/java/org/apache/jena/iri/TestMoreExamples.java b/jena-iri/src/test/java/org/apache/jena/iri/TestMoreExamples.java
index 7ae0371..e87b67e 100644
--- a/jena-iri/src/test/java/org/apache/jena/iri/TestMoreExamples.java
+++ b/jena-iri/src/test/java/org/apache/jena/iri/TestMoreExamples.java
@@ -202,7 +202,6 @@ public class TestMoreExamples extends TestCase implements
// System.err.println("runTest"+cnt + " " + getName());
iri = getIRI();
-
assertEquals("violations",violations,getViolations());
Iterator<Map.Entry<String, Map<String,String>>> it = methods.entrySet().iterator();
@@ -211,8 +210,7 @@ public class TestMoreExamples extends TestCase implements
String m = ent.getKey();
Map<String,String> attrs = ent.getValue();
try {
- Object r = IRI.class.getDeclaredMethod(m,TestCreator.nullSign)
- .invoke(iri,new Object[]{});
+ Object r = IRI.class.getDeclaredMethod(m,TestCreator.nullSign).invoke(iri,new Object[]{});
if (r==null)
assertEquals(attrs.get("nullValue"),"true");
else
@@ -226,7 +224,6 @@ public class TestMoreExamples extends TestCase implements
if (t.getCause()!=null)
t= t.getCause();
String s = t.getMessage()!=null?t.getMessage():t.toString();
-
assertEquals(attrs.get("exception"),s);
}
}
[5/5] jena git commit: JENA-846 : retain maximum compatibility for
checked exceptions.
Posted by an...@apache.org.
JENA-846 : retain maximum compatibility for checked exceptions.
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/2941cf75
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/2941cf75
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/2941cf75
Branch: refs/heads/master
Commit: 2941cf75412e8ddb75f18aad8b6673b73737cf51
Parents: 067e099
Author: Andy Seaborne <an...@apache.org>
Authored: Mon Jan 12 20:18:36 2015 +0000
Committer: Andy Seaborne <an...@apache.org>
Committed: Mon Jan 12 20:18:36 2015 +0000
----------------------------------------------------------------------
.../src/main/java/org/apache/jena/iri/IRI.java | 4 ++-
.../org/apache/jena/iri/impl/AbsIRIImpl.java | 27 +++++++++++++-------
2 files changed, 21 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/2941cf75/jena-iri/src/main/java/org/apache/jena/iri/IRI.java
----------------------------------------------------------------------
diff --git a/jena-iri/src/main/java/org/apache/jena/iri/IRI.java b/jena-iri/src/main/java/org/apache/jena/iri/IRI.java
index 8fbe519..209803f 100644
--- a/jena-iri/src/main/java/org/apache/jena/iri/IRI.java
+++ b/jena-iri/src/main/java/org/apache/jena/iri/IRI.java
@@ -20,6 +20,7 @@ package org.apache.jena.iri;
import java.net.MalformedURLException ;
import java.net.URI ;
+import java.net.URISyntaxException ;
import java.net.URL ;
import java.util.Iterator ;
@@ -410,8 +411,9 @@ abstract public class IRI extends AbsIRIFactoryImpl implements IRIFactoryI, IRI
* Converts the IRI to an ASCII string, and then to a java.net.URI.
*
* @return a URL corresponding to this IRI.
+ * @throws URISyntaxException If IDNA conversion failed.
*/
- abstract public URI toURI() ;
+ abstract public URI toURI() throws URISyntaxException ;
/**
* Resolves an IRI against this one.
http://git-wip-us.apache.org/repos/asf/jena/blob/2941cf75/jena-iri/src/main/java/org/apache/jena/iri/impl/AbsIRIImpl.java
----------------------------------------------------------------------
diff --git a/jena-iri/src/main/java/org/apache/jena/iri/impl/AbsIRIImpl.java b/jena-iri/src/main/java/org/apache/jena/iri/impl/AbsIRIImpl.java
index 2416bf2..76d9f1b 100644
--- a/jena-iri/src/main/java/org/apache/jena/iri/impl/AbsIRIImpl.java
+++ b/jena-iri/src/main/java/org/apache/jena/iri/impl/AbsIRIImpl.java
@@ -268,9 +268,12 @@ abstract public class AbsIRIImpl extends IRI implements
}
@Override
- public URI toURI() {
- String x = createASCIIString() ;
- return URI.create(x) ;
+ public URI toURI() throws URISyntaxException {
+ try {
+ String x = createASCIIString() ;
+ return new URI(x) ;
+ } catch (MalformedIDNException ex)
+ { throw new URISyntaxException(toDisplayString(), ex.getMessage()) ; }
}
// TODO ToAsciiMask
@@ -283,14 +286,14 @@ abstract public class AbsIRIImpl extends IRI implements
| (1l << DOUBLE_DASH_IN_REG_NAME);
*/
@Override
- public String toASCIIString() {
+ public String toASCIIString() throws MalformedIDNException {
if (hasExceptionMask(ToAsciiMask)) {
return createASCIIString();
}
return toString();
}
- private String createASCIIString() {
+ private String createASCIIString() throws MalformedIDNException {
StringBuffer asciiString = new StringBuffer();
if (has(SCHEME)) {
@@ -323,7 +326,7 @@ abstract public class AbsIRIImpl extends IRI implements
return asciiString.toString();
}
- private void regNameToAscii(StringBuffer asciiString, String host) {
+ private void regNameToAscii(StringBuffer asciiString, String host) throws MalformedIDNException {
if ((errors(HOST) & ToAsciiMask) == 0) {
asciiString.append(host);
return;
@@ -331,9 +334,15 @@ abstract public class AbsIRIImpl extends IRI implements
asciiString.append(domainToAscii(host));
}
- static CharSequence domainToAscii(String host) {
-
- return IDNP.toASCII(host, IDN.USE_STD3_ASCII_RULES|IDN.ALLOW_UNASSIGNED);
+ private static CharSequence domainToAscii(String host) throws MalformedIDNException {
+ try {
+ return IDNP.toASCII(host, IDN.USE_STD3_ASCII_RULES|IDN.ALLOW_UNASSIGNED);
+ // IDNP (patched IDN) throws IlleaglArgimentException
+
+ } catch (IllegalArgumentException ex) {
+ // IDNP (patched IDN) throws IlleaglArgumentException
+ throw new MalformedIDNException(ex) ;
+ }
/*
int u[] = new int[host.length()];
for (int i = 0; i < host.length(); i++)
[3/5] jena git commit: Remove duplicated test package
org.apache.jena.iri.test
Posted by an...@apache.org.
Remove duplicated test package org.apache.jena.iri.test
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/e89146d8
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/e89146d8
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/e89146d8
Branch: refs/heads/master
Commit: e89146d814968269eacbd146c531266f8c8a4e3a
Parents: ecdcd0d
Author: Andy Seaborne <an...@apache.org>
Authored: Mon Jan 12 19:09:27 2015 +0000
Committer: Andy Seaborne <an...@apache.org>
Committed: Mon Jan 12 19:09:27 2015 +0000
----------------------------------------------------------------------
.../org/apache/jena/iri/TestMoreExamples.java | 2 +-
.../org/apache/jena/iri/test/Additional.java | 61 -
.../org/apache/jena/iri/test/MoreTests.java | 98 -
.../org/apache/jena/iri/test/TestCreator.java | 254 -
.../apache/jena/iri/test/TestErrorMessages.java | 144 -
.../org/apache/jena/iri/test/TestExample.java | 279 -
.../org/apache/jena/iri/test/TestMEIri.java | 39 -
.../apache/jena/iri/test/TestMERelativize.java | 50 -
.../org/apache/jena/iri/test/TestMEResolve.java | 42 -
.../org/apache/jena/iri/test/TestMEResult.java | 46 -
.../apache/jena/iri/test/TestMoreExamples.java | 264 -
.../org/apache/jena/iri/test/TestPackage.java | 36 -
.../resources/org/apache/jena/iri/test/test.xml | 9217 ------------------
.../resources/org/apache/jena/iri/test/uris.xml | 463 -
14 files changed, 1 insertion(+), 10994 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/e89146d8/jena-iri/src/test/java/org/apache/jena/iri/TestMoreExamples.java
----------------------------------------------------------------------
diff --git a/jena-iri/src/test/java/org/apache/jena/iri/TestMoreExamples.java b/jena-iri/src/test/java/org/apache/jena/iri/TestMoreExamples.java
index 0db1755..7ae0371 100644
--- a/jena-iri/src/test/java/org/apache/jena/iri/TestMoreExamples.java
+++ b/jena-iri/src/test/java/org/apache/jena/iri/TestMoreExamples.java
@@ -242,7 +242,7 @@ public class TestMoreExamples extends TestCase implements
SAXParserFactory fact = SAXParserFactory.newInstance();
TestSuite result = new TestSuite();
result.setName("More IRI Tests");
- try ( InputStream in = TestCreator.class.getClassLoader().getResourceAsStream("org/apache/jena/iri/test/test.xml") ) {
+ try ( InputStream in = TestCreator.class.getClassLoader().getResourceAsStream("org/apache/jena/iri/test.xml") ) {
fact.newSAXParser().parse(in, new TestReader(result) );
return result;
}
http://git-wip-us.apache.org/repos/asf/jena/blob/e89146d8/jena-iri/src/test/java/org/apache/jena/iri/test/Additional.java
----------------------------------------------------------------------
diff --git a/jena-iri/src/test/java/org/apache/jena/iri/test/Additional.java b/jena-iri/src/test/java/org/apache/jena/iri/test/Additional.java
deleted file mode 100644
index b1189a6..0000000
--- a/jena-iri/src/test/java/org/apache/jena/iri/test/Additional.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.jena.iri.test ;
-
-import java.net.MalformedURLException;
-
-import junit.framework.JUnit4TestAdapter;
-
-import org.apache.jena.iri.IRI ;
-import org.apache.jena.iri.IRIFactory ;
-import org.junit.Assert;
-import org.junit.Test;
-
-
-public class Additional
-{
- // Test added in response to reports and bugs from 2009.
-
- static public junit.framework.Test suite()
- {
- return new JUnit4TestAdapter(Additional.class) ;
- }
-
- @Test public void relDotSlash1() throws MalformedURLException
- {
- IRIFactory f = IRIFactory.iriImplementation() ;
- IRI iri = f.construct("http://a/b/c/dddd;pppp?qqqqq") ;
- IRI iri2 = iri.resolve("./") ;
- test(iri2, "http://a/b/c/") ;
- }
-
- @Test public void relDotSlash2() throws MalformedURLException
- {
- IRIFactory f = IRIFactory.iriImplementation() ;
- IRI iri = f.construct("http://a/b/c/dddd;pppp?qqqqq") ;
- IRI iri2 = iri.resolve("./foo") ;
- test(iri2, "http://a/b/c/foo") ;
- }
-
-
- private static void test(IRI iri, String iriStr) throws MalformedURLException
- {
- Assert.assertEquals(iriStr, iri.toASCIIString()) ;
- }
-}
http://git-wip-us.apache.org/repos/asf/jena/blob/e89146d8/jena-iri/src/test/java/org/apache/jena/iri/test/MoreTests.java
----------------------------------------------------------------------
diff --git a/jena-iri/src/test/java/org/apache/jena/iri/test/MoreTests.java b/jena-iri/src/test/java/org/apache/jena/iri/test/MoreTests.java
deleted file mode 100644
index bacfbb2..0000000
--- a/jena-iri/src/test/java/org/apache/jena/iri/test/MoreTests.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.jena.iri.test;
-
-
-import java.util.Iterator;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import org.apache.jena.iri.IRI ;
-import org.apache.jena.iri.IRIFactory ;
-import org.apache.jena.iri.Violation ;
-
-public class MoreTests extends TestCase {
-
- static public Test suite() {
- TestSuite suite = new TestSuite("Additional IRI Tests");
-
-
- suite.addTest(new MoreTests("testRelativizeFrag1"));
- suite.addTest(new MoreTests("testRelativizeFrag2"));
- suite.addTest(new MoreTests("testXPointer"));
- suite.addTest(new MoreTests("testNotIDN"));
-
- return suite;
- }
-
- public MoreTests(String s) {
- super(s);
- }
-
-
- public void testRelativizeFrag1() {
- IRIFactory f = IRIFactory.jenaImplementation();
- IRI base = f.create("http://example.org/somefolder/mybase.rdf");
- IRI frag = f.create("http://example.org#foo");
- IRI rel = base.relativize(frag);
- assertEquals(frag,rel);
-// System.err.println(rel.toString());
- IRI back = base.resolve(rel);
- assertEquals(frag,back);
- }
-
- public void testRelativizeFrag2() {
- IRIFactory f = IRIFactory.jenaImplementation();
- IRI base = f.create("http://example.org/somefolder/mybase.rdf");
- IRI frag = f.create("http://example.org/#foo");
- IRI rel = base.relativize(frag);
- assertEquals("/#foo",rel.toString());
- IRI back = base.resolve(rel);
- assertEquals(frag,back);
- }
-
- public void testXPointer() {
- IRIFactory f = IRIFactory.jenaImplementation();
- IRI base = f.create("http://example.org/");
- IRI frag = base.resolve("http://eg.com/test.txt#xpointer(/unit[5])");
- Iterator<Violation> it = frag.violations(false);
- assertTrue(it.hasNext()) ;
-
-// while (it.hasNext()) {
-// System.err.println(it.next().getLongMessage());
-// }
-
- }
- public void testNotIDN() {
- IRIFactory f = IRIFactory.jenaImplementation();
- IRI base = f.create("http://example.org/");
- IRI frag = base.resolve("outbind://4-00000000C45F478BF9F2A048A7A59DE"+
- "3AE35F7230700D3E3AEE226D20A49A390BCD779EC5D4700"+
- "00003DB3650000D3E3AEE226D20A49A390BCD779EC5D470"+
- "00001182DB0000/www.uconnectevent.org");
- Iterator <Violation>it = frag.violations(false);
- assertTrue(it.hasNext()) ;
-
-// while (it.hasNext()) {
-// System.err.println(it.next().getLongMessage());
-// }
-
- }
-}
http://git-wip-us.apache.org/repos/asf/jena/blob/e89146d8/jena-iri/src/test/java/org/apache/jena/iri/test/TestCreator.java
----------------------------------------------------------------------
diff --git a/jena-iri/src/test/java/org/apache/jena/iri/test/TestCreator.java b/jena-iri/src/test/java/org/apache/jena/iri/test/TestCreator.java
deleted file mode 100644
index 2217e14..0000000
--- a/jena-iri/src/test/java/org/apache/jena/iri/test/TestCreator.java
+++ /dev/null
@@ -1,254 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.jena.iri.test;
-
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStreamWriter;
-import java.io.PrintWriter;
-import java.lang.reflect.InvocationTargetException;
-import java.util.Iterator;
-
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParserFactory;
-
-import org.apache.jena.iri.IRI ;
-import org.apache.jena.iri.IRIFactory ;
-import org.apache.jena.iri.IRIRelativize ;
-import org.apache.jena.iri.Violation ;
-import org.apache.jena.iri.impl.AbsIRIImpl ;
-import org.xml.sax.Attributes;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-import org.xml.sax.helpers.DefaultHandler;
-
-
-final class TestCreator extends DefaultHandler implements IRIRelativize {
-
- static final int RelativizeFlags = ABSOLUTE|GRANDPARENT|NETWORK|PARENT|CHILD|SAMEDOCUMENT;
- public static String substituteStandardEntities(String s) {
- s = replace(s, "&", "&");
- s = replace(s, "<", "<");
- s = replace(s, ">", ">");
- s = replace(s, "'", "'");
- s = replace(s, "\t", "	");
- s = replace(s, "\n", "
");
- s = replace(s, "\r", "
");
- return replace(s, "\"", """);
- }
-
- public static String replace(
- String s,
- String oldString,
- String newString) {
- String result = "";
- int length = oldString.length();
- int pos = s.indexOf(oldString);
- int lastPos = 0;
- while (pos >= 0) {
- result = result + s.substring(lastPos, pos) + newString;
- lastPos = pos + length;
- pos = s.indexOf(oldString, lastPos);
- }
- return result + s.substring(lastPos, s.length());
- }
-// static final IRI empty = IRIFactory.defaultFactory().emptyIRI();
- static final Class<?> attSign[] = new Class[] { Attributes.class };
- static final Class<?> nullSign[] = new Class[] { };
-
- static PrintWriter out;
- static void load() throws SAXException, IOException, ParserConfigurationException {
- SAXParserFactory fact = SAXParserFactory.newInstance();
- out = new PrintWriter(new OutputStreamWriter(
- new FileOutputStream("src/test/resources/org/apache/jena/iri/test/test.xml"),
- "utf-8"
- ));
- out.println("<UriTests>");
-
- try (InputStream in = TestCreator.class.getClassLoader().getResourceAsStream("org/apache/jena/iri/test/uris.xml")) {
- fact.newSAXParser().parse(in, new TestCreator()) ;
- out.println("</UriTests>") ;
- out.close() ;
- }
- }
-
- static public void main(String args[]) throws IOException, ParserConfigurationException, SAXException{
- try {
- load();
- } catch (SAXParseException e) {
- System.err.println(e.getLineNumber());
- System.err.println(e.toString());
- System.err.println(e.getMessage());
-
- }
- }
-
-
- @Override
- public void startElement(
- String arg1,
- String arg2,
- String name,
- Attributes att
- ) {
- try {
- this.getClass().getDeclaredMethod(name,attSign)
- .invoke(this, att );
- } catch (IllegalArgumentException | NoSuchMethodException | InvocationTargetException | IllegalAccessException | SecurityException e) {
- e.printStackTrace();
- }
- }
- @Override
- public void endElement(
- String arg1,
- String arg2,
- String name
- ) {
- }
-
- private void uris(Attributes att) {
- }
-
- private void uri(Attributes att) {
- String absolute = att.getValue("absolute");
- String base = att.getValue("base");
- String relative = att.getValue("relative");
-
- doIt(absolute);
-
- if (base!=null) {
- out.println("<Resolve>");
- IRI b = doIt(base);
- IRI r = doIt(relative);
- out.println("<Result>");
- IRI result = b.create(r);
- doIt(result);
- out.println("</Result>");
- IRI rAgain = b.relativize(
- result,
- RelativizeFlags
- );
- if (r.equals(rAgain)) {
- out.println("<Relativize same='true'/>");
- } else {
- out.println("<Relativize>");
- doIt(rAgain);
- out.println("</Relativize>");
- }
-
- out.println("</Resolve>");
- }
- }
-
-
- static String methods[] = {
- "getRawHost",
- "getRawPath",
- "getPort",
- "getRawQuery",
- "getScheme",
- "getRawUserinfo",
- "getRawFragment",
- "getASCIIHost",
- "isRootless",
- "toString",
- "toDisplayString",
-// "hasException",
- "isAbsolute",
-// "isIRI",
-// "isOpaque",
-// "isRDFURIReference",
- "isRelative",
-// "isURIinASCII",
-// "isVeryBad",
-// "isXSanyURI",
- "toASCIIString"
- };
-
- private void doIt(IRI iri) {
- if (iri==null)
- return;
- for ( String m : methods )
- {
- try
- {
- Object r = IRI.class.getDeclaredMethod( m, nullSign ).invoke( iri, new Object[]{ } );
- if ( r == null )
- {
- out.println( "<" + m +
- " nullValue='true'/>" );
- }
- else
- {
- out.println( "<" + m +
- " value='" +
- substituteStandardEntities( r.toString() ) + "'/>" );
- }
-
-
- }
- catch ( IllegalArgumentException | NoSuchMethodException | IllegalAccessException | SecurityException e )
- {
- e.printStackTrace();
- }
- catch ( InvocationTargetException e )
- {
- Throwable t = e;
- if ( t.getCause() != null )
- {
- t = t.getCause();
- }
- String s = t.getMessage() != null ? t.getMessage() : t.toString();
- out.println( "<" + m +
- " exception='" +
- substituteStandardEntities( s ) + "'/>" );
- }
-
- }
-
- Iterator<Violation> it = ((AbsIRIImpl)iri).allViolations();
- out.println("<violations>");
- while (it.hasNext()) {
- out.print("<violation>");
- out.print((it.next()).codeName());
- out.println("</violation>");
-
- }
- out.println("</violations>");
- }
-
- private IRI doIt(String iri) {
- if (iri==null)
- return null;
- IRI rslt =
- factory.create(iri);
-// empty.create(iri);
- out.println("<IRI iri='"+substituteStandardEntities(iri)+"'>");
- doIt(rslt);
- out.println("</IRI>");
- return rslt;
- }
- // TODO set conformance level for this factory
- static IRIFactory factory = new IRIFactory();
- static {
- factory.setSameSchemeRelativeReferences("file");
- factory.useSchemeSpecificRules("*",true);
- }
-}
http://git-wip-us.apache.org/repos/asf/jena/blob/e89146d8/jena-iri/src/test/java/org/apache/jena/iri/test/TestErrorMessages.java
----------------------------------------------------------------------
diff --git a/jena-iri/src/test/java/org/apache/jena/iri/test/TestErrorMessages.java b/jena-iri/src/test/java/org/apache/jena/iri/test/TestErrorMessages.java
deleted file mode 100644
index 3c84790..0000000
--- a/jena-iri/src/test/java/org/apache/jena/iri/test/TestErrorMessages.java
+++ /dev/null
@@ -1,144 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.jena.iri.test;
-
-import java.util.Iterator;
-
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import org.apache.jena.iri.IRI ;
-import org.apache.jena.iri.IRIFactory ;
-import org.apache.jena.iri.Violation ;
-import org.apache.jena.iri.ViolationCodes ;
-import org.apache.jena.iri.impl.IRIExamples ;
-import org.apache.jena.iri.impl.Specification ;
-import org.apache.jena.iri.impl.ViolationCodeInfo ;
-
-
-public class TestErrorMessages extends TestCase
- implements ViolationCodes {
- static {
- new ViolationCodes.Initialize();
- }
-
-
- static Specification specs[] = Specification.all
- .values().toArray(new Specification[0]);
-
-
- String uri;
-
- ViolationCodeInfo violation;
-
-
-
- boolean good;
-
- public TestErrorMessages( String uri, ViolationCodeInfo info, boolean good) {
- super(escapeAndShorten(uri));
- this.uri = uri;
- this.violation = info;
- this.good = good;
- }
-
-
-
- private static String escapeAndShorten(String uri2) {
- StringBuilder rslt = new StringBuilder();
- int ln = uri2.length();
- if (ln > 80)
- ln = 80;
- for (int i = 0; i < ln; i++) {
- int ch = uri2.charAt(i);
- if (ch > 127 || ch < 32) {
- rslt.append("&#");
- rslt.append(ch);
- rslt.append(";");
- } else
- rslt.append((char) ch);
- }
- return rslt.toString();
- }
-
-
-
-
- private void printErrorMessages(Violation v) {
- System.err.println(v.getShortMessage());
-
- }
-
-
- static public IRIFactory f = IRIFactory.jenaImplementation();
-
- @Override
- public void runTest() {
- IRI iri = f.create(uri);
- Iterator<Violation> it = iri.violations(true);
- while (it.hasNext()) {
- Violation v = it.next();
- printErrorMessages(v);
-
- }
- }
-
- public static TestSuite suite() {
- TestSuite rslt = new TestSuite();
-
- rslt.setName("Error messages");
- addAllTestsFromExamples( rslt);
-
- return rslt;
- }
-
- private static void addAllTestsFromExamples( TestSuite spec) {
- for (int i = 0; i < ViolationCodeInfo.all.length; i++) {
- addTestsFromExamples(spec, ViolationCodeInfo.all[i]);
- }
- for ( Specification spec1 : specs )
- {
- addExamples( null, spec1, spec );
- }
- }
-
- private static void addTestsFromExamples(TestSuite rslt, ViolationCodeInfo violationCodeInfo) {
-
- if (violationCodeInfo != null) {
- TestSuite ex = new TestSuite();
- ex.setName(violationCodeInfo.getCodeName());
- addExamples(violationCodeInfo, violationCodeInfo, ex);
- if (ex.countTestCases()>0)
- rslt.addTest(ex);
- }
- }
-
- private static void addExamples(ViolationCodeInfo violationCodeInfo, IRIExamples examples, TestSuite ex) {
- String e[] = examples.getBadExamples();
- for ( String anE1 : e )
- {
- ex.addTest( new TestErrorMessages( anE1, violationCodeInfo, false ) );
- }
- e = examples.getGoodExamples();
- for ( String anE : e )
- {
- ex.addTest( new TestErrorMessages( anE, violationCodeInfo, true ) );
- }
- }
-
-}
http://git-wip-us.apache.org/repos/asf/jena/blob/e89146d8/jena-iri/src/test/java/org/apache/jena/iri/test/TestExample.java
----------------------------------------------------------------------
diff --git a/jena-iri/src/test/java/org/apache/jena/iri/test/TestExample.java b/jena-iri/src/test/java/org/apache/jena/iri/test/TestExample.java
deleted file mode 100644
index 49d5b90..0000000
--- a/jena-iri/src/test/java/org/apache/jena/iri/test/TestExample.java
+++ /dev/null
@@ -1,279 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.jena.iri.test;
-
-import java.util.Iterator;
-
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import org.apache.jena.iri.IRI ;
-import org.apache.jena.iri.IRIFactory ;
-import org.apache.jena.iri.Violation ;
-import org.apache.jena.iri.ViolationCodes ;
-import org.apache.jena.iri.impl.Force ;
-import org.apache.jena.iri.impl.IRIExamples ;
-import org.apache.jena.iri.impl.Specification ;
-import org.apache.jena.iri.impl.ViolationCodeInfo ;
-
-
-public class TestExample extends TestCase
- implements ViolationCodes {
- static {
- new ViolationCodes.Initialize();
- }
-
- // static {
- // Iterator it = Specification.iris.values().iterator();
- // while (it.hasNext())
- // System.err.println(it.next().getClass().toString());
- // }
- static Specification specs[] = Specification.all
- .values().toArray(new Specification[0]);
-
- static IRIFactory all[][] = new IRIFactory[specs.length][Force.SIZE];
-
-
- static {
- for (int i = 0; i < specs.length; i++)
- for (int j = 0; j < Force.SIZE; j++) {
- all[i][j] = new IRIFactory();
- all[i][j].dnsViolation(false, false);
- all[i][j].mintingViolation(false, false);
- all[i][j].shouldViolation(false, false);
- all[i][j].securityViolation(false, false);
-// all[i][j].schemeViolation(false, false);
- switch (j) {
- case Force.DNS:
- all[i][j].dnsViolation(false, true);
- break;
- case Force.MINTING:
- all[i][j].mintingViolation(false, true);
- break;
- case Force.MUST:
- break;
- case Force.SECURITY:
- all[i][j].securityViolation(false, true);
- break;
- case Force.SHOULD:
- all[i][j].shouldViolation(false, true);
- break;
-// case Force.SCHEME_SPECIFIC:
-// all[i][j].schemeViolation(false, true);
-// all[i][j].useSchemeSpecificRules("*");
-// break;
- }
- if (specs[i].name().equals("IRI")) {
- all[i][j].useSpecificationIRI(false);
-
- }
- if (specs[i].name().equals("URI"))
- all[i][j].useSpecificationURI(false);
- if (specs[i].name().equals("XLink"))
- all[i][j].useSpecificationXLink(false);
- if (specs[i].name().equals("RDF"))
- all[i][j].useSpecificationRDF(false);
- if (specs[i].name().equals("XML"))
- all[i][j].useSpecificationXMLSystemID(false);
- if (specs[i].name().equals("Schema"))
- all[i][j].useSpecificationXMLSchema(false);
-
- }
- }
-
- String uri;
-
- ViolationCodeInfo violation;
-
- int specID;
-
- boolean good;
-
- public TestExample(int spec, String uri, ViolationCodeInfo info, boolean good) {
- super(escapeAndShorten(uri));
- this.uri = uri;
- this.violation = info;
- specID = spec;
- this.good = good;
- }
-
-// public TestExample(String uri, ViolationCodeInfo info, boolean good) {
-// super(escapeAndShorten(uri));
-// this.uri = uri;
-// this.violation = info;
-// specID = -1;
-// }
-
- private static String escapeAndShorten(String uri2) {
- StringBuilder rslt = new StringBuilder();
- int ln = uri2.length();
- if (ln > 80)
- ln = 80;
- for (int i = 0; i < ln; i++) {
- int ch = uri2.charAt(i);
- if (ch > 127 || ch < 32) {
- rslt.append("&#");
- rslt.append(ch);
- rslt.append(";");
- } else
- rslt.append((char) ch);
- }
- return rslt.toString();
- }
-
- @Override
- public void runTest() {
- if (specID == -1)
- runTestErrorCode();
- else if (violation==null)
- runTestJustSpec();
- else
- runTestSpec();
- }
-
- private void runTestJustSpec() {
- IRIFactory f =
- specs[specID].isSchemeSpec()?
- IRIFactory.iriImplementation():
- all[specID][Force.MUST];
-
- IRI iri = f.create(uri);
- if (iri.hasViolation(false)) {
- if (good) fail("Unexpected violation found: "+
- ((iri.violations(false).next())).codeName()
-
- );
- } else {
- if (!good) fail("Expected a violation, none found.");
- }
-
-
- }
-
-
-
- private void runTestErrorCode() {
- IRIFactory f = new IRIFactory();
- f.setIsError(violation.getCode(), true);
-
- runTest(f,
- true,
- false,
- "Just this error");
-
- }
-
- private void runTestSpec() {
- boolean inSpec = violation.appliesTo(specs[specID]);
- int force = violation.getForce();
- for (int f = 0; f < Force.SIZE; f++) {
-
- runTest(all[specID][f],
- (force & Force.must)!=0 && inSpec,
- (force & (1<<f))!=0 && inSpec,
- "Force: " + f + "; spec: " + specs[specID].name());
- }
-
- }
-
- private void runTest(IRIFactory f, boolean expectError,
- boolean expectWarning, String desc) {
- IRI iri = f.create(uri);
- boolean implemented = violation.isImplemented();
- expectError = expectError && implemented;
- expectWarning = expectWarning && (!expectError) && implemented;
- if (good) {
- expectError = expectWarning = false;
- }
- boolean hasError = false;
- boolean hasWarning = false;
- Iterator<Violation> it = iri.violations(true);
- while (it.hasNext()) {
- Violation v = it.next();
- if (v.getViolationCode() == violation.getCode()) {
- if (v.isError()) {
- if (!expectError)
- fail("Unexpected error, "+desc);
- hasError = true;
- } else {
- if (!expectWarning)
- fail("Unexpected warning, "+desc);
- hasWarning = true;
- }
- break;
- }
- }
- if (expectWarning && !hasWarning)
- fail("No warning detected: "+expectError);
- if (expectError && !hasError)
- fail("No error detected: "+expectError);
- }
-
- public static TestSuite suite() {
- TestSuite rslt = new TestSuite();
-
- rslt.setName("Examples from documentation");
- for (int sp = 0; sp < specs.length; sp++) {
- TestSuite spec = new TestSuite();
-
- String specName = specs[sp].name();
- spec.setName(specName);
-// if (!specName.equals("http"))
-// continue;
- if (specs[sp].isIRISpec())
- addAllTestsFromExamples(sp, spec);
-
- addExamples(sp,null,specs[sp],spec);
- if (spec.countTestCases()>0)
- rslt.addTest(spec);
- }
-// if (false)
- addAllTestsFromExamples(-1, rslt);
- return rslt;
- }
-
- private static void addAllTestsFromExamples(int sp, TestSuite spec) {
- for (int i = 0; i < ViolationCodeInfo.all.length; i++)
- addTestsFromExamples(spec, sp, ViolationCodeInfo.all[i]);
- }
-
- private static void addTestsFromExamples(TestSuite rslt, int sp, ViolationCodeInfo violationCodeInfo) {
-
- if (violationCodeInfo != null) {
- TestSuite ex = new TestSuite();
- ex.setName(violationCodeInfo.getCodeName());
- addExamples(sp, violationCodeInfo, violationCodeInfo, ex);
- if (ex.countTestCases()>0)
- rslt.addTest(ex);
- }
- }
-
- private static void addExamples(int sp, ViolationCodeInfo violationCodeInfo, IRIExamples examples, TestSuite ex) {
- String e[] = examples.getBadExamples();
- for ( String anE1 : e )
- {
- ex.addTest( new TestExample( sp, anE1, violationCodeInfo, false ) );
- }
- e = examples.getGoodExamples();
- for ( String anE : e )
- {
- ex.addTest( new TestExample( sp, anE, violationCodeInfo, true ) );
- }
- }
-
-}
http://git-wip-us.apache.org/repos/asf/jena/blob/e89146d8/jena-iri/src/test/java/org/apache/jena/iri/test/TestMEIri.java
----------------------------------------------------------------------
diff --git a/jena-iri/src/test/java/org/apache/jena/iri/test/TestMEIri.java b/jena-iri/src/test/java/org/apache/jena/iri/test/TestMEIri.java
deleted file mode 100644
index e6dc82b..0000000
--- a/jena-iri/src/test/java/org/apache/jena/iri/test/TestMEIri.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.jena.iri.test;
-
-import org.apache.jena.iri.IRI ;
-import org.xml.sax.Attributes;
-
-
-public class TestMEIri extends TestMoreExamples {
- static int count;
-
- public TestMEIri(Attributes att) {
-// super(att.getValue("iri"),att);
- super(true? ( //"["+(++count)+"]" +
- att.getValue("iri").replaceAll("\n","\\\\n")) :( "iri"+(++count)),att);
- }
-
- @Override
- IRI computeIRI() {
- return TestCreator.factory.create(att.get("iri"));
- }
-
-}
http://git-wip-us.apache.org/repos/asf/jena/blob/e89146d8/jena-iri/src/test/java/org/apache/jena/iri/test/TestMERelativize.java
----------------------------------------------------------------------
diff --git a/jena-iri/src/test/java/org/apache/jena/iri/test/TestMERelativize.java b/jena-iri/src/test/java/org/apache/jena/iri/test/TestMERelativize.java
deleted file mode 100644
index 7182853..0000000
--- a/jena-iri/src/test/java/org/apache/jena/iri/test/TestMERelativize.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.jena.iri.test;
-
-import junit.framework.TestSuite;
-
-import org.apache.jena.iri.IRI ;
-import org.xml.sax.Attributes;
-
-
-public class TestMERelativize extends TestMoreExamples {
- static int count;
- public TestMERelativize(Attributes att, TestSuite suite) {
- super("relativize"+ (++count),att,suite);
- }
-
- @Override
- IRI computeIRI() {
- IRI base = ((TestMoreExamples)parent.testAt(0)).getIRI();
- IRI rel = ((TestMoreExamples)parent.testAt(2)).getIRI();
- return base.relativize(rel, TestCreator.RelativizeFlags);
- }
-
- @Override
- public void runTest() {
- if (!"true".equals(att.get("same"))) {
- super.runTest();
- } else {
- assertEquals(computeIRI(),
- ((TestMoreExamples)parent.testAt(1)).getIRI());
- }
-
- }
-}
http://git-wip-us.apache.org/repos/asf/jena/blob/e89146d8/jena-iri/src/test/java/org/apache/jena/iri/test/TestMEResolve.java
----------------------------------------------------------------------
diff --git a/jena-iri/src/test/java/org/apache/jena/iri/test/TestMEResolve.java b/jena-iri/src/test/java/org/apache/jena/iri/test/TestMEResolve.java
deleted file mode 100644
index bbd3a9e..0000000
--- a/jena-iri/src/test/java/org/apache/jena/iri/test/TestMEResolve.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.jena.iri.test;
-
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.xml.sax.Attributes;
-
-
-public class TestMEResolve extends TestSuite {
-
- public TestMEResolve(Attributes att) {
- super();
- }
-
- void pop() {
- setName(((TestCase)testAt(0)).getName() + " " +
- ((TestCase)testAt(1)).getName());
- }
-
-// public void runTest(Test arg0, TestResult arg1) {
-// super.runTest(arg0,arg1);
-// }
-
-}
http://git-wip-us.apache.org/repos/asf/jena/blob/e89146d8/jena-iri/src/test/java/org/apache/jena/iri/test/TestMEResult.java
----------------------------------------------------------------------
diff --git a/jena-iri/src/test/java/org/apache/jena/iri/test/TestMEResult.java b/jena-iri/src/test/java/org/apache/jena/iri/test/TestMEResult.java
deleted file mode 100644
index 4db38a5..0000000
--- a/jena-iri/src/test/java/org/apache/jena/iri/test/TestMEResult.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.jena.iri.test;
-
-import junit.framework.TestSuite;
-
-import org.apache.jena.iri.IRI ;
-import org.xml.sax.Attributes;
-
-
-public class TestMEResult extends TestMoreExamples {
- static int count;
-
- public TestMEResult(Attributes att, TestSuite suite) {
- super("result"+ (++count),att, suite);
- }
-
- @Override
- IRI computeIRI() {
- IRI base = ((TestMoreExamples)parent.testAt(0)).getIRI();
- IRI rel = ((TestMoreExamples)parent.testAt(1)).getIRI();
- return base.create(rel);
- }
-
- @Override
- public void runTest() {
- super.runTest();
- }
-
-}
http://git-wip-us.apache.org/repos/asf/jena/blob/e89146d8/jena-iri/src/test/java/org/apache/jena/iri/test/TestMoreExamples.java
----------------------------------------------------------------------
diff --git a/jena-iri/src/test/java/org/apache/jena/iri/test/TestMoreExamples.java b/jena-iri/src/test/java/org/apache/jena/iri/test/TestMoreExamples.java
deleted file mode 100644
index 70ee785..0000000
--- a/jena-iri/src/test/java/org/apache/jena/iri/test/TestMoreExamples.java
+++ /dev/null
@@ -1,264 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.jena.iri.test;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.lang.reflect.InvocationTargetException;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Map;
-import java.util.Stack;
-
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParserFactory;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.apache.jena.iri.IRI ;
-import org.apache.jena.iri.Violation ;
-import org.apache.jena.iri.ViolationCodes ;
-import org.apache.jena.iri.impl.AbsIRIImpl ;
-import org.apache.jena.iri.impl.PatternCompiler ;
-import org.xml.sax.Attributes;
-import org.xml.sax.SAXException;
-import org.xml.sax.helpers.DefaultHandler;
-
-
-public class TestMoreExamples extends TestCase implements
- ViolationCodes {
- static class TestReader extends DefaultHandler {
- private Stack<Test> stack = new Stack<>();
-
- TestReader(TestSuite s) {
- stack.push(s);
- }
- private void push(Test t) {
- ((TestSuite)stack.peek()).addTest(t);
- stack.push(t);
- }
-
- @Override
- public void startElement(String arg1, String arg2, String name,
- Attributes att) {
- if (name.equals("IRI"))
- push(new TestMEIri(att));
- else if (name.equals("Result"))
- push(new TestMEResult(att,(TestSuite)stack.peek()));
- else if (name.equals("Relativize"))
- push(new TestMERelativize(att,(TestSuite)stack.peek()));
- else if (name.equals("Resolve"))
- push(new TestSuite());
- else if (!name.equals("UriTests"))
- add(name, att);
- }
-
- private void add(String name, Attributes att) {
- ((TestMoreExamples) stack.peek()).add(name, att);
- }
-
- @Override
- public void characters(char ch[], int st, int lg) {
- String text = new String(ch,st,lg).trim();
- if (text.length()>0)
- ((TestMoreExamples) stack.peek()).add(text);
- }
- @Override
- public void endElement(String arg1, String arg2, String name) {
- if (name.equals("Resolve")) {
- TestSuite t = (TestSuite) stack.pop();
- t.
- setName(((TestCase)t.testAt(0)).getName() + " " +
- ((TestCase)t.testAt(1)).getName());
- } else if (name.equals("IRI") || name.equals("Result")
- || name.equals("Relativize")) {
- stack.pop();
- }
-
- }
-
- }
-
- static Map<String, String> attr2map(Attributes a) {
- Map<String, String> rslt = new HashMap<>();
- for (int i = a.getLength()-1;i>=0;i--)
- rslt.put(a.getQName(i),a.getValue(i));
- return rslt;
- }
- Map<String, String> att;
- TestSuite parent;
- private Map<String, Map<String, String>> methods = new HashMap<>();
- private long violations = 0l;
- private IRI iri;
-
- public TestMoreExamples(String nm, Attributes att) {
- this(nm,att,null);
- }
-
- private String savedText = null;
- public void add(String text) {
- if (savedText!=null) {
- text = savedText + text;
- savedText = null;
-// System.err.println(text);
- }
- try {
- violations |= (1l << PatternCompiler.errorCode(text));
- }
- catch (NoSuchFieldException e){
- savedText = text;
- }
- }
-
- public TestMoreExamples(String nm, Attributes att, TestSuite suite) {
- super(escape(nm));
- this.att = attr2map(att);
- this.parent = suite;
- }
-
- private static String escape(String nm) {
- StringBuilder rslt = new StringBuilder();
- for (int i=0; i<nm.length();i++) {
- char ch = nm.charAt(i);
- if (ch>=32 && ch<=126)
- rslt.append(ch);
- else
- rslt.append("\\u"+pad4(Integer.toHexString(ch)));
-
- }
- return rslt.toString();
- }
-
- private static String pad4(String string) {
- switch (string.length()) {
- case 0:
- return "0000";
- case 1:
- return "000"+string;
- case 2:
- return "00"+string;
- case 3:
- return "0"+string;
- default:
- return string;
-
- }
- }
-
- public TestMoreExamples(String string) {
- super(escape(string));
- }
-
-// static int cnt = 0;
-
- @Override
- public void setUp() throws Exception {
-// System.err.println("setUp"+cnt);
- super.setUp();
- }
-
- @Override
- public void tearDown() throws Exception {
-// System.err.println("tearDown"+cnt++);
- super.tearDown();
- }
- private void add(String name, Attributes attrs) {
- if (name.equals("violation"))
- return;
- if (name.equals("violations"))
- return;
- methods.put(name,attr2map(attrs));
- }
-
- private long getViolations() {
- long result = 0l;
- Iterator<Violation> it = ((AbsIRIImpl)iri).allViolations();
- while (it.hasNext()) {
- result |= (1l<<(it.next()).getViolationCode());
-
- }
- return result;
- }
- @Override
- public void runTest() {
-// System.err.println("runTest"+cnt + " " + getName());
- iri = getIRI();
-
-
- assertEquals("violations",violations,getViolations());
-
- Iterator<Map.Entry<String, Map<String,String>>> it = methods.entrySet().iterator();
- while (it.hasNext()) {
- Map.Entry<String, Map<String,String>> ent = it.next();
- String m = ent.getKey();
- Map<String,String> attrs = ent.getValue();
- try {
- Object r = IRI.class.getDeclaredMethod(m,TestCreator.nullSign)
- .invoke(iri,new Object[]{});
- if (r==null)
- assertEquals(attrs.get("nullValue"),"true");
- else
- assertEquals(attrs.get("value"),r.toString());
-
- } catch (IllegalArgumentException | NoSuchMethodException | IllegalAccessException | SecurityException e) {
- e.printStackTrace();
- }
- catch (InvocationTargetException e) {
- Throwable t = e;
- if (t.getCause()!=null)
- t= t.getCause();
- String s = t.getMessage()!=null?t.getMessage():t.toString();
-
- assertEquals(attrs.get("exception"),s);
- }
- }
- }
-
- final IRI getIRI() { if (iri==null) iri = computeIRI(); return iri; }
-
- IRI computeIRI() {
- throw new UnsupportedOperationException();
- }
-
- static TestSuite suitex() throws SAXException, IOException, ParserConfigurationException {
- SAXParserFactory fact = SAXParserFactory.newInstance();
- TestSuite result = new TestSuite();
- result.setName("More IRI Tests");
- try (InputStream in = TestCreator.class.getClassLoader().getResourceAsStream("org/apache/jena/iri/test/test.xml")) {
- fact.newSAXParser().parse(in,new TestReader(result));
- return result;
- }
- }
- public static TestSuite suite() {
- try {
- return
- suitex();
-
- } catch (SAXException | ParserConfigurationException | IOException e) {
- e.printStackTrace();
- }
-// System.err.println("Yes chris we know");
-// return
- TestSuite r2 = new TestSuite("exception-while-building-testsuite");
-// r2.addTest(new TestMoreExamples("testDummy"));
- return r2;
- }
-}
http://git-wip-us.apache.org/repos/asf/jena/blob/e89146d8/jena-iri/src/test/java/org/apache/jena/iri/test/TestPackage.java
----------------------------------------------------------------------
diff --git a/jena-iri/src/test/java/org/apache/jena/iri/test/TestPackage.java b/jena-iri/src/test/java/org/apache/jena/iri/test/TestPackage.java
deleted file mode 100644
index 5a4bccc..0000000
--- a/jena-iri/src/test/java/org/apache/jena/iri/test/TestPackage.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.jena.iri.test;
-
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-public class TestPackage extends TestCase{
-
- public static TestSuite suite() {
- TestSuite rslt = new TestSuite();
-
- rslt.setName("IRI");
- rslt.addTest(TestExample.suite());
- rslt.addTest(TestMoreExamples.suite());
- rslt.addTest(MoreTests.suite());
- rslt.addTest(Additional.suite());
- return rslt;
- }
-}
[2/5] jena git commit: Remove duplicated test package
org.apache.jena.iri.test
Posted by an...@apache.org.
http://git-wip-us.apache.org/repos/asf/jena/blob/e89146d8/jena-iri/src/test/resources/org/apache/jena/iri/test/test.xml
----------------------------------------------------------------------
diff --git a/jena-iri/src/test/resources/org/apache/jena/iri/test/test.xml b/jena-iri/src/test/resources/org/apache/jena/iri/test/test.xml
deleted file mode 100644
index e8ab386..0000000
--- a/jena-iri/src/test/resources/org/apache/jena/iri/test/test.xml
+++ /dev/null
@@ -1,9217 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<UriTests>
-<Resolve>
-<IRI iri='http://host/'>
-<getRawHost value='host'/>
-<getRawPath value='/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='host'/>
-<isRootless value='false'/>
-<toString value='http://host/'/>
-<toDisplayString value='http://host/'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://host/'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='../foo'>
-<getRawHost nullValue='true'/>
-<getRawPath value='../foo'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='../foo'/>
-<toDisplayString value='../foo'/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value='../foo'/>
-<violations>
-</violations>
-</IRI>
-<Result>
-<getRawHost value='host'/>
-<getRawPath value='/foo'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='host'/>
-<isRootless value='false'/>
-<toString value='http://host/foo'/>
-<toDisplayString value='http://host/foo'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://host/foo'/>
-<violations>
-</violations>
-</Result>
-<Relativize>
-<getRawHost nullValue='true'/>
-<getRawPath value='foo'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='foo'/>
-<toDisplayString value='foo'/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value='foo'/>
-<violations>
-</violations>
-</Relativize>
-</Resolve>
-<Resolve>
-<IRI iri='http://host/xyz'>
-<getRawHost value='host'/>
-<getRawPath value='/xyz'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='host'/>
-<isRootless value='false'/>
-<toString value='http://host/xyz'/>
-<toDisplayString value='http://host/xyz'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://host/xyz'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='../foo'>
-<getRawHost nullValue='true'/>
-<getRawPath value='../foo'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='../foo'/>
-<toDisplayString value='../foo'/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value='../foo'/>
-<violations>
-</violations>
-</IRI>
-<Result>
-<getRawHost value='host'/>
-<getRawPath value='/foo'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='host'/>
-<isRootless value='false'/>
-<toString value='http://host/foo'/>
-<toDisplayString value='http://host/foo'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://host/foo'/>
-<violations>
-</violations>
-</Result>
-<Relativize>
-<getRawHost nullValue='true'/>
-<getRawPath value='foo'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='foo'/>
-<toDisplayString value='foo'/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value='foo'/>
-<violations>
-</violations>
-</Relativize>
-</Resolve>
-<Resolve>
-<IRI iri='http://www.example.org/a/b/c/d'>
-<getRawHost value='www.example.org'/>
-<getRawPath value='/a/b/c/d'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.example.org'/>
-<isRootless value='false'/>
-<toString value='http://www.example.org/a/b/c/d'/>
-<toDisplayString value='http://www.example.org/a/b/c/d'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.example.org/a/b/c/d'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='d/z?x=a'>
-<getRawHost nullValue='true'/>
-<getRawPath value='d/z'/>
-<getPort value='-1'/>
-<getRawQuery value='x=a'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='d/z?x=a'/>
-<toDisplayString value='d/z?x=a'/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value='d/z?x=a'/>
-<violations>
-</violations>
-</IRI>
-<Result>
-<getRawHost value='www.example.org'/>
-<getRawPath value='/a/b/c/d/z'/>
-<getPort value='-1'/>
-<getRawQuery value='x=a'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.example.org'/>
-<isRootless value='false'/>
-<toString value='http://www.example.org/a/b/c/d/z?x=a'/>
-<toDisplayString value='http://www.example.org/a/b/c/d/z?x=a'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.example.org/a/b/c/d/z?x=a'/>
-<violations>
-</violations>
-</Result>
-<Relativize same='true'/>
-</Resolve>
-<Resolve>
-<IRI iri='http://www.example.org/a/b/c/d'>
-<getRawHost value='www.example.org'/>
-<getRawPath value='/a/b/c/d'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.example.org'/>
-<isRootless value='false'/>
-<toString value='http://www.example.org/a/b/c/d'/>
-<toDisplayString value='http://www.example.org/a/b/c/d'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.example.org/a/b/c/d'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='http://example.com/A'>
-<getRawHost value='example.com'/>
-<getRawPath value='/A'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='example.com'/>
-<isRootless value='false'/>
-<toString value='http://example.com/A'/>
-<toDisplayString value='http://example.com/A'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://example.com/A'/>
-<violations>
-</violations>
-</IRI>
-<Result>
-<getRawHost value='example.com'/>
-<getRawPath value='/A'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='example.com'/>
-<isRootless value='false'/>
-<toString value='http://example.com/A'/>
-<toDisplayString value='http://example.com/A'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://example.com/A'/>
-<violations>
-</violations>
-</Result>
-<Relativize>
-<getRawHost value='example.com'/>
-<getRawPath value='/A'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='example.com'/>
-<isRootless value='false'/>
-<toString value='//example.com/A'/>
-<toDisplayString value='//example.com/A'/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value='//example.com/A'/>
-<violations>
-</violations>
-</Relativize>
-</Resolve>
-<Resolve>
-<IRI iri='http://www.example.org/a/b/c/d/'>
-<getRawHost value='www.example.org'/>
-<getRawPath value='/a/b/c/d/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.example.org'/>
-<isRootless value='false'/>
-<toString value='http://www.example.org/a/b/c/d/'/>
-<toDisplayString value='http://www.example.org/a/b/c/d/'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.example.org/a/b/c/d/'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri=''>
-<getRawHost nullValue='true'/>
-<getRawPath value=''/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value=''/>
-<toDisplayString value=''/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value=''/>
-<violations>
-</violations>
-</IRI>
-<Result>
-<getRawHost value='www.example.org'/>
-<getRawPath value='/a/b/c/d/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.example.org'/>
-<isRootless value='false'/>
-<toString value='http://www.example.org/a/b/c/d/'/>
-<toDisplayString value='http://www.example.org/a/b/c/d/'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.example.org/a/b/c/d/'/>
-<violations>
-</violations>
-</Result>
-<Relativize same='true'/>
-</Resolve>
-<Resolve>
-<IRI iri='http://www.example.org/a/b/c/d/'>
-<getRawHost value='www.example.org'/>
-<getRawPath value='/a/b/c/d/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.example.org'/>
-<isRootless value='false'/>
-<toString value='http://www.example.org/a/b/c/d/'/>
-<toDisplayString value='http://www.example.org/a/b/c/d/'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.example.org/a/b/c/d/'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='.'>
-<getRawHost nullValue='true'/>
-<getRawPath value='.'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='.'/>
-<toDisplayString value='.'/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value='.'/>
-<violations>
-</violations>
-</IRI>
-<Result>
-<getRawHost value='www.example.org'/>
-<getRawPath value='/a/b/c/d/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.example.org'/>
-<isRootless value='false'/>
-<toString value='http://www.example.org/a/b/c/d/'/>
-<toDisplayString value='http://www.example.org/a/b/c/d/'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.example.org/a/b/c/d/'/>
-<violations>
-</violations>
-</Result>
-<Relativize>
-<getRawHost nullValue='true'/>
-<getRawPath value=''/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value=''/>
-<toDisplayString value=''/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value=''/>
-<violations>
-</violations>
-</Relativize>
-</Resolve>
-<Resolve>
-<IRI iri='http://www.example.org/a/b/c/d/'>
-<getRawHost value='www.example.org'/>
-<getRawPath value='/a/b/c/d/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.example.org'/>
-<isRootless value='false'/>
-<toString value='http://www.example.org/a/b/c/d/'/>
-<toDisplayString value='http://www.example.org/a/b/c/d/'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.example.org/a/b/c/d/'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='../../C/D'>
-<getRawHost nullValue='true'/>
-<getRawPath value='../../C/D'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='../../C/D'/>
-<toDisplayString value='../../C/D'/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value='../../C/D'/>
-<violations>
-</violations>
-</IRI>
-<Result>
-<getRawHost value='www.example.org'/>
-<getRawPath value='/a/b/C/D'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.example.org'/>
-<isRootless value='false'/>
-<toString value='http://www.example.org/a/b/C/D'/>
-<toDisplayString value='http://www.example.org/a/b/C/D'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.example.org/a/b/C/D'/>
-<violations>
-</violations>
-</Result>
-<Relativize same='true'/>
-</Resolve>
-<Resolve>
-<IRI iri='http://www.example.org/a/b/c/d/'>
-<getRawHost value='www.example.org'/>
-<getRawPath value='/a/b/c/d/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.example.org'/>
-<isRootless value='false'/>
-<toString value='http://www.example.org/a/b/c/d/'/>
-<toDisplayString value='http://www.example.org/a/b/c/d/'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.example.org/a/b/c/d/'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='../../c/d/'>
-<getRawHost nullValue='true'/>
-<getRawPath value='../../c/d/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='../../c/d/'/>
-<toDisplayString value='../../c/d/'/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value='../../c/d/'/>
-<violations>
-</violations>
-</IRI>
-<Result>
-<getRawHost value='www.example.org'/>
-<getRawPath value='/a/b/c/d/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.example.org'/>
-<isRootless value='false'/>
-<toString value='http://www.example.org/a/b/c/d/'/>
-<toDisplayString value='http://www.example.org/a/b/c/d/'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.example.org/a/b/c/d/'/>
-<violations>
-</violations>
-</Result>
-<Relativize>
-<getRawHost nullValue='true'/>
-<getRawPath value=''/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value=''/>
-<toDisplayString value=''/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value=''/>
-<violations>
-</violations>
-</Relativize>
-</Resolve>
-<Resolve>
-<IRI iri='http://www.example.org/a/b/c/d/'>
-<getRawHost value='www.example.org'/>
-<getRawPath value='/a/b/c/d/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.example.org'/>
-<isRootless value='false'/>
-<toString value='http://www.example.org/a/b/c/d/'/>
-<toDisplayString value='http://www.example.org/a/b/c/d/'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.example.org/a/b/c/d/'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='../../c/d/X#bar'>
-<getRawHost nullValue='true'/>
-<getRawPath value='../../c/d/X'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value='bar'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='../../c/d/X#bar'/>
-<toDisplayString value='../../c/d/X#bar'/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value='../../c/d/X#bar'/>
-<violations>
-</violations>
-</IRI>
-<Result>
-<getRawHost value='www.example.org'/>
-<getRawPath value='/a/b/c/d/X'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value='bar'/>
-<getASCIIHost value='www.example.org'/>
-<isRootless value='false'/>
-<toString value='http://www.example.org/a/b/c/d/X#bar'/>
-<toDisplayString value='http://www.example.org/a/b/c/d/X#bar'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.example.org/a/b/c/d/X#bar'/>
-<violations>
-</violations>
-</Result>
-<Relativize>
-<getRawHost nullValue='true'/>
-<getRawPath value='X'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value='bar'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='X#bar'/>
-<toDisplayString value='X#bar'/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value='X#bar'/>
-<violations>
-</violations>
-</Relativize>
-</Resolve>
-<Resolve>
-<IRI iri='http://www.example.org/a/b/c/d/'>
-<getRawHost value='www.example.org'/>
-<getRawPath value='/a/b/c/d/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.example.org'/>
-<isRootless value='false'/>
-<toString value='http://www.example.org/a/b/c/d/'/>
-<toDisplayString value='http://www.example.org/a/b/c/d/'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.example.org/a/b/c/d/'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='../../c/d/e/f/g/'>
-<getRawHost nullValue='true'/>
-<getRawPath value='../../c/d/e/f/g/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='../../c/d/e/f/g/'/>
-<toDisplayString value='../../c/d/e/f/g/'/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value='../../c/d/e/f/g/'/>
-<violations>
-</violations>
-</IRI>
-<Result>
-<getRawHost value='www.example.org'/>
-<getRawPath value='/a/b/c/d/e/f/g/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.example.org'/>
-<isRootless value='false'/>
-<toString value='http://www.example.org/a/b/c/d/e/f/g/'/>
-<toDisplayString value='http://www.example.org/a/b/c/d/e/f/g/'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.example.org/a/b/c/d/e/f/g/'/>
-<violations>
-</violations>
-</Result>
-<Relativize>
-<getRawHost nullValue='true'/>
-<getRawPath value='e/f/g/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='e/f/g/'/>
-<toDisplayString value='e/f/g/'/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value='e/f/g/'/>
-<violations>
-</violations>
-</Relativize>
-</Resolve>
-<Resolve>
-<IRI iri='http://www.example.org/a/b/c/d/'>
-<getRawHost value='www.example.org'/>
-<getRawPath value='/a/b/c/d/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.example.org'/>
-<isRootless value='false'/>
-<toString value='http://www.example.org/a/b/c/d/'/>
-<toDisplayString value='http://www.example.org/a/b/c/d/'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.example.org/a/b/c/d/'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='../../c/d/z?x=a'>
-<getRawHost nullValue='true'/>
-<getRawPath value='../../c/d/z'/>
-<getPort value='-1'/>
-<getRawQuery value='x=a'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='../../c/d/z?x=a'/>
-<toDisplayString value='../../c/d/z?x=a'/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value='../../c/d/z?x=a'/>
-<violations>
-</violations>
-</IRI>
-<Result>
-<getRawHost value='www.example.org'/>
-<getRawPath value='/a/b/c/d/z'/>
-<getPort value='-1'/>
-<getRawQuery value='x=a'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.example.org'/>
-<isRootless value='false'/>
-<toString value='http://www.example.org/a/b/c/d/z?x=a'/>
-<toDisplayString value='http://www.example.org/a/b/c/d/z?x=a'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.example.org/a/b/c/d/z?x=a'/>
-<violations>
-</violations>
-</Result>
-<Relativize>
-<getRawHost nullValue='true'/>
-<getRawPath value='z'/>
-<getPort value='-1'/>
-<getRawQuery value='x=a'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='z?x=a'/>
-<toDisplayString value='z?x=a'/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value='z?x=a'/>
-<violations>
-</violations>
-</Relativize>
-</Resolve>
-<Resolve>
-<IRI iri='http://www.example.org./a/b/c/d/'>
-<getRawHost value='www.example.org.'/>
-<getRawPath value='/a/b/c/d/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.example.org.'/>
-<isRootless value='false'/>
-<toString value='http://www.example.org./a/b/c/d/'/>
-<toDisplayString value='http://www.example.org./a/b/c/d/'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.example.org./a/b/c/d/'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='http://ex.org/../../c/d/z?x=a'>
-<getRawHost value='ex.org'/>
-<getRawPath value='/../../c/d/z'/>
-<getPort value='-1'/>
-<getRawQuery value='x=a'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='ex.org'/>
-<isRootless value='false'/>
-<toString value='http://ex.org/../../c/d/z?x=a'/>
-<toDisplayString value='http://ex.org/../../c/d/z?x=a'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://ex.org/../../c/d/z?x=a'/>
-<violations>
-<violation>NON_INITIAL_DOT_SEGMENT</violation>
-</violations>
-</IRI>
-<Result>
-<getRawHost value='ex.org'/>
-<getRawPath value='/c/d/z'/>
-<getPort value='-1'/>
-<getRawQuery value='x=a'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='ex.org'/>
-<isRootless value='false'/>
-<toString value='http://ex.org/c/d/z?x=a'/>
-<toDisplayString value='http://ex.org/c/d/z?x=a'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://ex.org/c/d/z?x=a'/>
-<violations>
-<violation>NON_INITIAL_DOT_SEGMENT</violation>
-</violations>
-</Result>
-<Relativize>
-<getRawHost value='ex.org'/>
-<getRawPath value='/c/d/z'/>
-<getPort value='-1'/>
-<getRawQuery value='x=a'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='ex.org'/>
-<isRootless value='false'/>
-<toString value='//ex.org/c/d/z?x=a'/>
-<toDisplayString value='//ex.org/c/d/z?x=a'/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value='//ex.org/c/d/z?x=a'/>
-<violations>
-</violations>
-</Relativize>
-</Resolve>
-<IRI iri='http://ex.org./../../c/d/z?x=a'>
-<getRawHost value='ex.org.'/>
-<getRawPath value='/../../c/d/z'/>
-<getPort value='-1'/>
-<getRawQuery value='x=a'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='ex.org.'/>
-<isRootless value='false'/>
-<toString value='http://ex.org./../../c/d/z?x=a'/>
-<toDisplayString value='http://ex.org./../../c/d/z?x=a'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://ex.org./../../c/d/z?x=a'/>
-<violations>
-<violation>NON_INITIAL_DOT_SEGMENT</violation>
-</violations>
-</IRI>
-<Resolve>
-<IRI iri='http://www.example.org/a/b/c/d/'>
-<getRawHost value='www.example.org'/>
-<getRawPath value='/a/b/c/d/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.example.org'/>
-<isRootless value='false'/>
-<toString value='http://www.example.org/a/b/c/d/'/>
-<toDisplayString value='http://www.example.org/a/b/c/d/'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.example.org/a/b/c/d/'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='http://ex.org/c/./d/z?x=a'>
-<getRawHost value='ex.org'/>
-<getRawPath value='/c/./d/z'/>
-<getPort value='-1'/>
-<getRawQuery value='x=a'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='ex.org'/>
-<isRootless value='false'/>
-<toString value='http://ex.org/c/./d/z?x=a'/>
-<toDisplayString value='http://ex.org/c/./d/z?x=a'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://ex.org/c/./d/z?x=a'/>
-<violations>
-<violation>NON_INITIAL_DOT_SEGMENT</violation>
-</violations>
-</IRI>
-<Result>
-<getRawHost value='ex.org'/>
-<getRawPath value='/c/d/z'/>
-<getPort value='-1'/>
-<getRawQuery value='x=a'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='ex.org'/>
-<isRootless value='false'/>
-<toString value='http://ex.org/c/d/z?x=a'/>
-<toDisplayString value='http://ex.org/c/d/z?x=a'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://ex.org/c/d/z?x=a'/>
-<violations>
-<violation>NON_INITIAL_DOT_SEGMENT</violation>
-</violations>
-</Result>
-<Relativize>
-<getRawHost value='ex.org'/>
-<getRawPath value='/c/d/z'/>
-<getPort value='-1'/>
-<getRawQuery value='x=a'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='ex.org'/>
-<isRootless value='false'/>
-<toString value='//ex.org/c/d/z?x=a'/>
-<toDisplayString value='//ex.org/c/d/z?x=a'/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value='//ex.org/c/d/z?x=a'/>
-<violations>
-</violations>
-</Relativize>
-</Resolve>
-<IRI iri='http://ex.org/c/./d/z?x=a'>
-<getRawHost value='ex.org'/>
-<getRawPath value='/c/./d/z'/>
-<getPort value='-1'/>
-<getRawQuery value='x=a'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='ex.org'/>
-<isRootless value='false'/>
-<toString value='http://ex.org/c/./d/z?x=a'/>
-<toDisplayString value='http://ex.org/c/./d/z?x=a'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://ex.org/c/./d/z?x=a'/>
-<violations>
-<violation>NON_INITIAL_DOT_SEGMENT</violation>
-</violations>
-</IRI>
-<IRI iri='mailto:'>
-<getRawHost nullValue='true'/>
-<getRawPath value=''/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='mailto'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='mailto:'/>
-<toDisplayString value='mailto:'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='mailto:'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='mailto:?subject=test'>
-<getRawHost nullValue='true'/>
-<getRawPath value=''/>
-<getPort value='-1'/>
-<getRawQuery value='subject=test'/>
-<getScheme value='mailto'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='mailto:?subject=test'/>
-<toDisplayString value='mailto:?subject=test'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='mailto:?subject=test'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='file:C:\DOCUME~1\jjchplb\LOCALS~1\Temp\hedgehog6739.rdf'>
-<getRawHost nullValue='true'/>
-<getRawPath value='C:\DOCUME~1\jjchplb\LOCALS~1\Temp\hedgehog6739.rdf'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='file'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='true'/>
-<toString value='file:C:\DOCUME~1\jjchplb\LOCALS~1\Temp\hedgehog6739.rdf'/>
-<toDisplayString value='file:C:\DOCUME~1\jjchplb\LOCALS~1\Temp\hedgehog6739.rdf'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='file:C:%5CDOCUME~1%5Cjjchplb%5CLOCALS~1%5CTemp%5Chedgehog6739.rdf'/>
-<violations>
-<violation>UNWISE_CHARACTER</violation>
-<violation>REQUIRED_COMPONENT_MISSING</violation>
-<violation>SCHEME_PATTERN_MATCH_FAILED</violation>
-</violations>
-</IRI>
-<Resolve>
-<IRI iri='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-charmod-uris/test001.rdf'>
-<getRawHost value='www.w3.org'/>
-<getRawPath value='/2000/10/rdf-tests/rdfcore/rdf-charmod-uris/test001.rdf'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.w3.org'/>
-<isRootless value='false'/>
-<toString value='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-charmod-uris/test001.rdf'/>
-<toDisplayString value='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-charmod-uris/test001.rdf'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-charmod-uris/test001.rdf'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='http://example.org/#André'>
-<getRawHost value='example.org'/>
-<getRawPath value='/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value='André'/>
-<getASCIIHost value='example.org'/>
-<isRootless value='false'/>
-<toString value='http://example.org/#André'/>
-<toDisplayString value='http://example.org/#André'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://example.org/#Andr%C3%A9'/>
-<violations>
-<violation>NON_URI_CHARACTER</violation>
-</violations>
-</IRI>
-<Result>
-<getRawHost value='example.org'/>
-<getRawPath value='/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value='André'/>
-<getASCIIHost value='example.org'/>
-<isRootless value='false'/>
-<toString value='http://example.org/#André'/>
-<toDisplayString value='http://example.org/#André'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://example.org/#Andr%C3%A9'/>
-<violations>
-<violation>NON_URI_CHARACTER</violation>
-</violations>
-</Result>
-<Relativize>
-<getRawHost value='example.org'/>
-<getRawPath value='/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value='André'/>
-<getASCIIHost value='example.org'/>
-<isRootless value='false'/>
-<toString value='//example.org/#André'/>
-<toDisplayString value='//example.org/#André'/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value='//example.org/#Andr%C3%A9'/>
-<violations>
-<violation>NON_URI_CHARACTER</violation>
-</violations>
-</Relativize>
-</Resolve>
-<Resolve>
-<IRI iri='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-charmod-uris/test002.rdf'>
-<getRawHost value='www.w3.org'/>
-<getRawPath value='/2000/10/rdf-tests/rdfcore/rdf-charmod-uris/test002.rdf'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.w3.org'/>
-<isRootless value='false'/>
-<toString value='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-charmod-uris/test002.rdf'/>
-<toDisplayString value='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-charmod-uris/test002.rdf'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-charmod-uris/test002.rdf'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='http://example.org/#Andr%C3%A9'>
-<getRawHost value='example.org'/>
-<getRawPath value='/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value='Andr%C3%A9'/>
-<getASCIIHost value='example.org'/>
-<isRootless value='false'/>
-<toString value='http://example.org/#Andr%C3%A9'/>
-<toDisplayString value='http://example.org/#Andr%C3%A9'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://example.org/#Andr%C3%A9'/>
-<violations>
-<violation>PERCENT</violation>
-</violations>
-</IRI>
-<Result>
-<getRawHost value='example.org'/>
-<getRawPath value='/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value='Andr%C3%A9'/>
-<getASCIIHost value='example.org'/>
-<isRootless value='false'/>
-<toString value='http://example.org/#Andr%C3%A9'/>
-<toDisplayString value='http://example.org/#Andr%C3%A9'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://example.org/#Andr%C3%A9'/>
-<violations>
-<violation>PERCENT</violation>
-</violations>
-</Result>
-<Relativize>
-<getRawHost value='example.org'/>
-<getRawPath value='/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value='Andr%C3%A9'/>
-<getASCIIHost value='example.org'/>
-<isRootless value='false'/>
-<toString value='//example.org/#Andr%C3%A9'/>
-<toDisplayString value='//example.org/#Andr%C3%A9'/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value='//example.org/#Andr%C3%A9'/>
-<violations>
-<violation>PERCENT</violation>
-</violations>
-</Relativize>
-</Resolve>
-<Resolve>
-<IRI iri='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-difference-between-ID-and-about/test2.rdf'>
-<getRawHost value='www.w3.org'/>
-<getRawPath value='/2000/10/rdf-tests/rdfcore/rdfms-difference-between-ID-and-about/test2.rdf'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.w3.org'/>
-<isRootless value='false'/>
-<toString value='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-difference-between-ID-and-about/test2.rdf'/>
-<toDisplayString value='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-difference-between-ID-and-about/test2.rdf'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-difference-between-ID-and-about/test2.rdf'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='#Dürst'>
-<getRawHost nullValue='true'/>
-<getRawPath value=''/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value='Dürst'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='#Dürst'/>
-<toDisplayString value='#Dürst'/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value='#D%C3%BCrst'/>
-<violations>
-<violation>NON_URI_CHARACTER</violation>
-</violations>
-</IRI>
-<Result>
-<getRawHost value='www.w3.org'/>
-<getRawPath value='/2000/10/rdf-tests/rdfcore/rdfms-difference-between-ID-and-about/test2.rdf'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value='Dürst'/>
-<getASCIIHost value='www.w3.org'/>
-<isRootless value='false'/>
-<toString value='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-difference-between-ID-and-about/test2.rdf#Dürst'/>
-<toDisplayString value='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-difference-between-ID-and-about/test2.rdf#Dürst'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-difference-between-ID-and-about/test2.rdf#D%C3%BCrst'/>
-<violations>
-<violation>NON_URI_CHARACTER</violation>
-</violations>
-</Result>
-<Relativize same='true'/>
-</Resolve>
-<IRI iri='h^ttp:prop'>
-<getRawHost nullValue='true'/>
-<getRawPath value='prop'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='h^ttp'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='true'/>
-<toString value='h^ttp:prop'/>
-<toDisplayString value='h^ttp:prop'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='h%5Ettp:prop'/>
-<violations>
-<violation>ILLEGAL_CHARACTER</violation>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='h^ttp:title'>
-<getRawHost nullValue='true'/>
-<getRawPath value='title'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='h^ttp'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='true'/>
-<toString value='h^ttp:title'/>
-<toDisplayString value='h^ttp:title'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='h%5Ettp:title'/>
-<violations>
-<violation>ILLEGAL_CHARACTER</violation>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='ht#tp://jjc3.org/demo.mp3#frag'>
-<getRawHost nullValue='true'/>
-<getRawPath value='ht'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value='tp://jjc3.org/demo.mp3#frag'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='ht#tp://jjc3.org/demo.mp3#frag'/>
-<toDisplayString value='ht#tp://jjc3.org/demo.mp3#frag'/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value='ht#tp://jjc3.org/demo.mp3#frag'/>
-<violations>
-<violation>ILLEGAL_CHARACTER</violation>
-</violations>
-</IRI>
-<IRI iri='ht^tp:'>
-<getRawHost nullValue='true'/>
-<getRawPath value=''/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='ht^tp'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='ht^tp:'/>
-<toDisplayString value='ht^tp:'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='ht%5Etp:'/>
-<violations>
-<violation>ILLEGAL_CHARACTER</violation>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='ht^tp://www.w3.org/demo.mp3'>
-<getRawHost value='www.w3.org'/>
-<getRawPath value='/demo.mp3'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='ht^tp'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.w3.org'/>
-<isRootless value='false'/>
-<toString value='ht^tp://www.w3.org/demo.mp3'/>
-<toDisplayString value='ht^tp://www.w3.org/demo.mp3'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='ht%5Etp://www.w3.org/demo.mp3'/>
-<violations>
-<violation>ILLEGAL_CHARACTER</violation>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='ht^tp:Foo'>
-<getRawHost nullValue='true'/>
-<getRawPath value='Foo'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='ht^tp'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='true'/>
-<toString value='ht^tp:Foo'/>
-<toDisplayString value='ht^tp:Foo'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='ht%5Etp:Foo'/>
-<violations>
-<violation>ILLEGAL_CHARACTER</violation>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='http:'>
-<getRawHost nullValue='true'/>
-<getRawPath value=''/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='http:'/>
-<toDisplayString value='http:'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http:'/>
-<violations>
-<violation>REQUIRED_COMPONENT_MISSING</violation>
-</violations>
-</IRI>
-<IRI iri='http://46229EFFE16A9BD60B9F1BE88B2DB047ADDED785/demo.mp3'>
-<getRawHost value='46229EFFE16A9BD60B9F1BE88B2DB047ADDED785'/>
-<getRawPath value='/demo.mp3'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='46229EFFE16A9BD60B9F1BE88B2DB047ADDED785'/>
-<isRootless value='false'/>
-<toString value='http://46229EFFE16A9BD60B9F1BE88B2DB047ADDED785/demo.mp3'/>
-<toDisplayString value='http://46229EFFE16A9BD60B9F1BE88B2DB047ADDED785/demo.mp3'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://46229EFFE16A9BD60B9F1BE88B2DB047ADDED785/demo.mp3'/>
-<violations>
-<violation>LOWERCASE_PREFERRED</violation>
-</violations>
-</IRI>
-<IRI iri='http://example.org/#Andreĭ'>
-<getRawHost value='example.org'/>
-<getRawPath value='/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value='Andreĭ'/>
-<getASCIIHost value='example.org'/>
-<isRootless value='false'/>
-<toString value='http://example.org/#Andreĭ'/>
-<toDisplayString value='http://example.org/#Andreĭ'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://example.org/#Andre%C4%AD'/>
-<violations>
-<violation>NON_URI_CHARACTER</violation>
-</violations>
-</IRI>
-<IRI iri='http://example.org/#André'>
-<getRawHost value='example.org'/>
-<getRawPath value='/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value='André'/>
-<getASCIIHost value='example.org'/>
-<isRootless value='false'/>
-<toString value='http://example.org/#André'/>
-<toDisplayString value='http://example.org/#André'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://example.org/#Andr%C3%A9'/>
-<violations>
-<violation>NON_URI_CHARACTER</violation>
-</violations>
-</IRI>
-<IRI iri='http://example.org/	'>
-<getRawHost value='example.org'/>
-<getRawPath value='/	'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='example.org'/>
-<isRootless value='false'/>
-<toString value='http://example.org/	'/>
-<toDisplayString value='http://example.org/	'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://example.org/%09'/>
-<violations>
-<violation>CONTROL_CHARACTER</violation>
-<violation>NOT_XML_SCHEMA_WHITESPACE</violation>
-</violations>
-</IRI>
-<IRI iri='http://example.org/

'>
-<getRawHost value='example.org'/>
-<getRawPath value='/

'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='example.org'/>
-<isRootless value='false'/>
-<toString value='http://example.org/

'/>
-<toDisplayString value='http://example.org/

'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://example.org/%0A%0A'/>
-<violations>
-<violation>CONTROL_CHARACTER</violation>
-<violation>NOT_XML_SCHEMA_WHITESPACE</violation>
-</violations>
-</IRI>
-<IRI iri='http://example.org/
'>
-<getRawHost value='example.org'/>
-<getRawPath value='/
'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='example.org'/>
-<isRootless value='false'/>
-<toString value='http://example.org/
'/>
-<toDisplayString value='http://example.org/
'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://example.org/%0D'/>
-<violations>
-<violation>CONTROL_CHARACTER</violation>
-<violation>NOT_XML_SCHEMA_WHITESPACE</violation>
-</violations>
-</IRI>
-<IRI iri='http://example.org/<b>boo'>
-<getRawHost value='example.org'/>
-<getRawPath value='/<b>boo'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='example.org'/>
-<isRootless value='false'/>
-<toString value='http://example.org/<b>boo'/>
-<toDisplayString value='http://example.org/<b>boo'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://example.org/%3Cb%3Eboo'/>
-<violations>
-<violation>UNWISE_CHARACTER</violation>
-</violations>
-</IRI>
-<IRI iri='http://example.org/"'>
-<getRawHost value='example.org'/>
-<getRawPath value='/"'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='example.org'/>
-<isRootless value='false'/>
-<toString value='http://example.org/"'/>
-<toDisplayString value='http://example.org/"'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://example.org/%22'/>
-<violations>
-<violation>UNWISE_CHARACTER</violation>
-</violations>
-</IRI>
-<IRI iri='http://André.example.org/foo'>
-<getRawHost value='André.example.org'/>
-<getRawPath value='/foo'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='xn--andr-epa.example.org'/>
-<isRootless value='false'/>
-<toString value='http://André.example.org/foo'/>
-<toDisplayString value='http://André.example.org/foo'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://xn--andr-epa.example.org/foo'/>
-<violations>
-<violation>LOWERCASE_PREFERRED</violation>
-<violation>NON_URI_CHARACTER</violation>
-</violations>
-</IRI>
-<IRI iri='http://andré.example.org/foo'>
-<getRawHost value='andré.example.org'/>
-<getRawPath value='/foo'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='xn--andr-epa.example.org'/>
-<isRootless value='false'/>
-<toString value='http://andré.example.org/foo'/>
-<toDisplayString value='http://andré.example.org/foo'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://xn--andr-epa.example.org/foo'/>
-<violations>
-<violation>NON_URI_CHARACTER</violation>
-</violations>
-</IRI>
-<IRI iri='http://xn--andr--ep-.example.org/foo'>
-<getRawHost value='xn--andr--ep-.example.org'/>
-<getRawPath value='/foo'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost exception='Bad Internationalized Domain Name: Has leading or trailing hyphen'/>
-<isRootless value='false'/>
-<toString value='http://xn--andr--ep-.example.org/foo'/>
-<toDisplayString value='http://xn--andr--ep-.example.org/foo'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString exception='Bad Internationalized Domain Name: Has leading or trailing hyphen'/>
-<violations>
-<violation>DOUBLE_DASH_IN_REG_NAME</violation>
-<violation>DNS_LABEL_DASH_START_OR_END</violation>
-<violation>BAD_IDN</violation>
-</violations>
-</IRI>
-<IRI iri='Http://example.org/'>
-<getRawHost value='example.org'/>
-<getRawPath value='/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='Http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='example.org'/>
-<isRootless value='false'/>
-<toString value='Http://example.org/'/>
-<toDisplayString value='Http://example.org/'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='Http://example.org/'/>
-<violations>
-<violation>LOWERCASE_PREFERRED</violation>
-</violations>
-</IRI>
-<IRI iri='Http://example.org/prop'>
-<getRawHost value='example.org'/>
-<getRawPath value='/prop'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='Http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='example.org'/>
-<isRootless value='false'/>
-<toString value='Http://example.org/prop'/>
-<toDisplayString value='Http://example.org/prop'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='Http://example.org/prop'/>
-<violations>
-<violation>LOWERCASE_PREFERRED</violation>
-</violations>
-</IRI>
-<IRI iri='NC:ispinfo'>
-<getRawHost nullValue='true'/>
-<getRawPath value='ispinfo'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='NC'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='true'/>
-<toString value='NC:ispinfo'/>
-<toDisplayString value='NC:ispinfo'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='NC:ispinfo'/>
-<violations>
-<violation>LOWERCASE_PREFERRED</violation>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='NC:trickMe'>
-<getRawHost nullValue='true'/>
-<getRawPath value='trickMe'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='NC'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='true'/>
-<toString value='NC:trickMe'/>
-<toDisplayString value='NC:trickMe'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='NC:trickMe'/>
-<violations>
-<violation>LOWERCASE_PREFERRED</violation>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='_:a'>
-<getRawHost nullValue='true'/>
-<getRawPath value='a'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='_'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='true'/>
-<toString value='_:a'/>
-<toDisplayString value='_:a'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='_:a'/>
-<violations>
-<violation>ILLEGAL_CHARACTER</violation>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='_:aa'>
-<getRawHost nullValue='true'/>
-<getRawPath value='aa'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='_'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='true'/>
-<toString value='_:aa'/>
-<toDisplayString value='_:aa'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='_:aa'/>
-<violations>
-<violation>ILLEGAL_CHARACTER</violation>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='app://calendar/event'>
-<getRawHost value='calendar'/>
-<getRawPath value='/event'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='app'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='calendar'/>
-<isRootless value='false'/>
-<toString value='app://calendar/event'/>
-<toDisplayString value='app://calendar/event'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='app://calendar/event'/>
-<violations>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='chrome://messenger/content/mailPrefsOverlay.xul'>
-<getRawHost value='messenger'/>
-<getRawPath value='/content/mailPrefsOverlay.xul'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='chrome'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='messenger'/>
-<isRootless value='false'/>
-<toString value='chrome://messenger/content/mailPrefsOverlay.xul'/>
-<toDisplayString value='chrome://messenger/content/mailPrefsOverlay.xul'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='chrome://messenger/content/mailPrefsOverlay.xul'/>
-<violations>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='domain:a'>
-<getRawHost nullValue='true'/>
-<getRawPath value='a'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='domain'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='true'/>
-<toString value='domain:a'/>
-<toDisplayString value='domain:a'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='domain:a'/>
-<violations>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='domain:aol.com'>
-<getRawHost nullValue='true'/>
-<getRawPath value='aol.com'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='domain'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='true'/>
-<toString value='domain:aol.com'/>
-<toDisplayString value='domain:aol.com'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='domain:aol.com'/>
-<violations>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='eh:/'>
-<getRawHost nullValue='true'/>
-<getRawPath value='/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='eh'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='eh:/'/>
-<toDisplayString value='eh:/'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='eh:/'/>
-<violations>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='eh://'>
-<getRawHost value=''/>
-<getRawPath value=''/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='eh'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value=''/>
-<isRootless value='false'/>
-<toString value='eh://'/>
-<toDisplayString value='eh://'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='eh://'/>
-<violations>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='eh://R'>
-<getRawHost value='R'/>
-<getRawPath value=''/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='eh'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='R'/>
-<isRootless value='false'/>
-<toString value='eh://R'/>
-<toDisplayString value='eh://R'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='eh://R'/>
-<violations>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-<violation>LOWERCASE_PREFERRED</violation>
-</violations>
-</IRI>
-<IRI iri='eh:/O'>
-<getRawHost nullValue='true'/>
-<getRawPath value='/O'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='eh'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='eh:/O'/>
-<toDisplayString value='eh:/O'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='eh:/O'/>
-<violations>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='eh:/a'>
-<getRawHost nullValue='true'/>
-<getRawPath value='/a'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='eh'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='eh:/a'/>
-<toDisplayString value='eh:/a'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='eh:/a'/>
-<violations>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='eh:/bark'>
-<getRawHost nullValue='true'/>
-<getRawPath value='/bark'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='eh'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='eh:/bark'/>
-<toDisplayString value='eh:/bark'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='eh:/bark'/>
-<violations>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='file:///C:/Documents and Settings/jjchplb/Local Settings/Temp/test-load-with-41.rdf'>
-<getRawHost value=''/>
-<getRawPath value='/C:/Documents and Settings/jjchplb/Local Settings/Temp/test-load-with-41.rdf'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='file'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value=''/>
-<isRootless value='false'/>
-<toString value='file:///C:/Documents and Settings/jjchplb/Local Settings/Temp/test-load-with-41.rdf'/>
-<toDisplayString value='file:///C:/Documents and Settings/jjchplb/Local Settings/Temp/test-load-with-41.rdf'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='file:///C:/Documents%20and%20Settings/jjchplb/Local%20Settings/Temp/test-load-with-41.rdf'/>
-<violations>
-<violation>WHITESPACE</violation>
-</violations>
-</IRI>
-<IRI iri='file:///C:/eclipse/workspace/jena2/testing/ARQ/Construct/reif-result-1.rdf'>
-<getRawHost value=''/>
-<getRawPath value='/C:/eclipse/workspace/jena2/testing/ARQ/Construct/reif-result-1.rdf'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='file'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value=''/>
-<isRootless value='false'/>
-<toString value='file:///C:/eclipse/workspace/jena2/testing/ARQ/Construct/reif-result-1.rdf'/>
-<toDisplayString value='file:///C:/eclipse/workspace/jena2/testing/ARQ/Construct/reif-result-1.rdf'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='file:///C:/eclipse/workspace/jena2/testing/ARQ/Construct/reif-result-1.rdf'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='file:///test01'>
-<getRawHost value=''/>
-<getRawPath value='/test01'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='file'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value=''/>
-<isRootless value='false'/>
-<toString value='file:///test01'/>
-<toDisplayString value='file:///test01'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='file:///test01'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='file:///test02'>
-<getRawHost value=''/>
-<getRawPath value='/test02'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='file'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value=''/>
-<isRootless value='false'/>
-<toString value='file:///test02'/>
-<toDisplayString value='file:///test02'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='file:///test02'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='file:///test03'>
-<getRawHost value=''/>
-<getRawPath value='/test03'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='file'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value=''/>
-<isRootless value='false'/>
-<toString value='file:///test03'/>
-<toDisplayString value='file:///test03'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='file:///test03'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='file:///test04'>
-<getRawHost value=''/>
-<getRawPath value='/test04'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='file'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value=''/>
-<isRootless value='false'/>
-<toString value='file:///test04'/>
-<toDisplayString value='file:///test04'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='file:///test04'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='file:///test05'>
-<getRawHost value=''/>
-<getRawPath value='/test05'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='file'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value=''/>
-<isRootless value='false'/>
-<toString value='file:///test05'/>
-<toDisplayString value='file:///test05'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='file:///test05'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='file:///testutf8'>
-<getRawHost value=''/>
-<getRawPath value='/testutf8'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='file'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value=''/>
-<isRootless value='false'/>
-<toString value='file:///testutf8'/>
-<toDisplayString value='file:///testutf8'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='file:///testutf8'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='file:/C:/a'>
-<getRawHost nullValue='true'/>
-<getRawPath value='/C:/a'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='file'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='file:/C:/a'/>
-<toDisplayString value='file:/C:/a'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='file:/C:/a'/>
-<violations>
-<violation>REQUIRED_COMPONENT_MISSING</violation>
-</violations>
-</IRI>
-<IRI iri='file:/C:/orel/orel0_5.owl#'>
-<getRawHost nullValue='true'/>
-<getRawPath value='/C:/orel/orel0_5.owl'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='file'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value=''/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='file:/C:/orel/orel0_5.owl#'/>
-<toDisplayString value='file:/C:/orel/orel0_5.owl#'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='file:/C:/orel/orel0_5.owl#'/>
-<violations>
-<violation>REQUIRED_COMPONENT_MISSING</violation>
-</violations>
-</IRI>
-<IRI iri='file:/C:/orel/orel0_5.owl#Agent'>
-<getRawHost nullValue='true'/>
-<getRawPath value='/C:/orel/orel0_5.owl'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='file'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value='Agent'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='file:/C:/orel/orel0_5.owl#Agent'/>
-<toDisplayString value='file:/C:/orel/orel0_5.owl#Agent'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='file:/C:/orel/orel0_5.owl#Agent'/>
-<violations>
-<violation>REQUIRED_COMPONENT_MISSING</violation>
-</violations>
-</IRI>
-<IRI iri='file:/C:/orel/orel0_5.owl'>
-<getRawHost nullValue='true'/>
-<getRawPath value='/C:/orel/orel0_5.owl'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='file'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='file:/C:/orel/orel0_5.owl'/>
-<toDisplayString value='file:/C:/orel/orel0_5.owl'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='file:/C:/orel/orel0_5.owl'/>
-<violations>
-<violation>REQUIRED_COMPONENT_MISSING</violation>
-</violations>
-</IRI>
-<IRI iri='file:C:\DOCUME~1\jjchplb\LOCALS~1\Temp\hedgehog6739.rdf'>
-<getRawHost nullValue='true'/>
-<getRawPath value='C:\DOCUME~1\jjchplb\LOCALS~1\Temp\hedgehog6739.rdf'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='file'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='true'/>
-<toString value='file:C:\DOCUME~1\jjchplb\LOCALS~1\Temp\hedgehog6739.rdf'/>
-<toDisplayString value='file:C:\DOCUME~1\jjchplb\LOCALS~1\Temp\hedgehog6739.rdf'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='file:C:%5CDOCUME~1%5Cjjchplb%5CLOCALS~1%5CTemp%5Chedgehog6739.rdf'/>
-<violations>
-<violation>UNWISE_CHARACTER</violation>
-<violation>REQUIRED_COMPONENT_MISSING</violation>
-<violation>SCHEME_PATTERN_MATCH_FAILED</violation>
-</violations>
-</IRI>
-<IRI iri='file:doc/inference/data/owlDemoSchema.xml'>
-<getRawHost nullValue='true'/>
-<getRawPath value='doc/inference/data/owlDemoSchema.xml'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='file'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='true'/>
-<toString value='file:doc/inference/data/owlDemoSchema.xml'/>
-<toDisplayString value='file:doc/inference/data/owlDemoSchema.xml'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='file:doc/inference/data/owlDemoSchema.xml'/>
-<violations>
-<violation>REQUIRED_COMPONENT_MISSING</violation>
-</violations>
-</IRI>
-<IRI iri='file:etc/ont-policy-test.rdf'>
-<getRawHost nullValue='true'/>
-<getRawPath value='etc/ont-policy-test.rdf'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='file'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='true'/>
-<toString value='file:etc/ont-policy-test.rdf'/>
-<toDisplayString value='file:etc/ont-policy-test.rdf'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='file:etc/ont-policy-test.rdf'/>
-<violations>
-<violation>REQUIRED_COMPONENT_MISSING</violation>
-</violations>
-</IRI>
-<IRI iri='file:testing/ontology/list5.rdf#e'>
-<getRawHost nullValue='true'/>
-<getRawPath value='testing/ontology/list5.rdf'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='file'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value='e'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='true'/>
-<toString value='file:testing/ontology/list5.rdf#e'/>
-<toDisplayString value='file:testing/ontology/list5.rdf#e'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='file:testing/ontology/list5.rdf#e'/>
-<violations>
-<violation>REQUIRED_COMPONENT_MISSING</violation>
-</violations>
-</IRI>
-<IRI iri='file:vocabularies/rdf-schema.rdf'>
-<getRawHost nullValue='true'/>
-<getRawPath value='vocabularies/rdf-schema.rdf'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='file'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='true'/>
-<toString value='file:vocabularies/rdf-schema.rdf'/>
-<toDisplayString value='file:vocabularies/rdf-schema.rdf'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='file:vocabularies/rdf-schema.rdf'/>
-<violations>
-<violation>REQUIRED_COMPONENT_MISSING</violation>
-</violations>
-</IRI>
-<IRI iri='ftp://net.fred.org/'>
-<getRawHost value='net.fred.org'/>
-<getRawPath value='/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='ftp'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='net.fred.org'/>
-<isRootless value='false'/>
-<toString value='ftp://net.fred.org/'/>
-<toDisplayString value='ftp://net.fred.org/'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='ftp://net.fred.org/'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='ftp://net.fred.org/P'>
-<getRawHost value='net.fred.org'/>
-<getRawPath value='/P'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='ftp'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='net.fred.org'/>
-<isRootless value='false'/>
-<toString value='ftp://net.fred.org/P'/>
-<toDisplayString value='ftp://net.fred.org/P'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='ftp://net.fred.org/P'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='ftp:ftp/'>
-<getRawHost nullValue='true'/>
-<getRawPath value='ftp/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='ftp'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='true'/>
-<toString value='ftp:ftp/'/>
-<toDisplayString value='ftp:ftp/'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='ftp:ftp/'/>
-<violations>
-<violation>REQUIRED_COMPONENT_MISSING</violation>
-</violations>
-</IRI>
-<IRI iri='ftp:ftp/P'>
-<getRawHost nullValue='true'/>
-<getRawPath value='ftp/P'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='ftp'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='true'/>
-<toString value='ftp:ftp/P'/>
-<toDisplayString value='ftp:ftp/P'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='ftp:ftp/P'/>
-<violations>
-<violation>REQUIRED_COMPONENT_MISSING</violation>
-</violations>
-</IRI>
-<IRI iri='h^ttp:'>
-<getRawHost nullValue='true'/>
-<getRawPath value=''/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='h^ttp'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='h^ttp:'/>
-<toDisplayString value='h^ttp:'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='h%5Ettp:'/>
-<violations>
-<violation>ILLEGAL_CHARACTER</violation>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='h^ttp:prop'>
-<getRawHost nullValue='true'/>
-<getRawPath value='prop'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='h^ttp'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='true'/>
-<toString value='h^ttp:prop'/>
-<toDisplayString value='h^ttp:prop'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='h%5Ettp:prop'/>
-<violations>
-<violation>ILLEGAL_CHARACTER</violation>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='h^ttp:title'>
-<getRawHost nullValue='true'/>
-<getRawPath value='title'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='h^ttp'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='true'/>
-<toString value='h^ttp:title'/>
-<toDisplayString value='h^ttp:title'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='h%5Ettp:title'/>
-<violations>
-<violation>ILLEGAL_CHARACTER</violation>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='ht#tp://jjc3.org/demo.mp3#frag'>
-<getRawHost nullValue='true'/>
-<getRawPath value='ht'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme nullValue='true'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value='tp://jjc3.org/demo.mp3#frag'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='ht#tp://jjc3.org/demo.mp3#frag'/>
-<toDisplayString value='ht#tp://jjc3.org/demo.mp3#frag'/>
-<isAbsolute value='false'/>
-<isRelative value='true'/>
-<toASCIIString value='ht#tp://jjc3.org/demo.mp3#frag'/>
-<violations>
-<violation>ILLEGAL_CHARACTER</violation>
-</violations>
-</IRI>
-<IRI iri='ht^tp:'>
-<getRawHost nullValue='true'/>
-<getRawPath value=''/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='ht^tp'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='ht^tp:'/>
-<toDisplayString value='ht^tp:'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='ht%5Etp:'/>
-<violations>
-<violation>ILLEGAL_CHARACTER</violation>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='ht^tp://www.w3.org/demo.mp3'>
-<getRawHost value='www.w3.org'/>
-<getRawPath value='/demo.mp3'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='ht^tp'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='www.w3.org'/>
-<isRootless value='false'/>
-<toString value='ht^tp://www.w3.org/demo.mp3'/>
-<toDisplayString value='ht^tp://www.w3.org/demo.mp3'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='ht%5Etp://www.w3.org/demo.mp3'/>
-<violations>
-<violation>ILLEGAL_CHARACTER</violation>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='ht^tp:Foo'>
-<getRawHost nullValue='true'/>
-<getRawPath value='Foo'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='ht^tp'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='true'/>
-<toString value='ht^tp:Foo'/>
-<toDisplayString value='ht^tp:Foo'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='ht%5Etp:Foo'/>
-<violations>
-<violation>ILLEGAL_CHARACTER</violation>
-<violation>UNREGISTERED_IANA_SCHEME</violation>
-</violations>
-</IRI>
-<IRI iri='http:'>
-<getRawHost nullValue='true'/>
-<getRawPath value=''/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost nullValue='true'/>
-<isRootless value='false'/>
-<toString value='http:'/>
-<toDisplayString value='http:'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http:'/>
-<violations>
-<violation>REQUIRED_COMPONENT_MISSING</violation>
-</violations>
-</IRI>
-<IRI iri='http://46229EFFE16A9BD60B9F1BE88B2DB047ADDED785/demo.mp3'>
-<getRawHost value='46229EFFE16A9BD60B9F1BE88B2DB047ADDED785'/>
-<getRawPath value='/demo.mp3'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='46229EFFE16A9BD60B9F1BE88B2DB047ADDED785'/>
-<isRootless value='false'/>
-<toString value='http://46229EFFE16A9BD60B9F1BE88B2DB047ADDED785/demo.mp3'/>
-<toDisplayString value='http://46229EFFE16A9BD60B9F1BE88B2DB047ADDED785/demo.mp3'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://46229EFFE16A9BD60B9F1BE88B2DB047ADDED785/demo.mp3'/>
-<violations>
-<violation>LOWERCASE_PREFERRED</violation>
-</violations>
-</IRI>
-<IRI iri='http://NoHTML.example.org'>
-<getRawHost value='NoHTML.example.org'/>
-<getRawPath value=''/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='NoHTML.example.org'/>
-<isRootless value='false'/>
-<toString value='http://NoHTML.example.org'/>
-<toDisplayString value='http://NoHTML.example.org'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://NoHTML.example.org'/>
-<violations>
-<violation>LOWERCASE_PREFERRED</violation>
-</violations>
-</IRI>
-<IRI iri='http://a.com/ontology#'>
-<getRawHost value='a.com'/>
-<getRawPath value='/ontology'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value=''/>
-<getASCIIHost value='a.com'/>
-<isRootless value='false'/>
-<toString value='http://a.com/ontology#'/>
-<toDisplayString value='http://a.com/ontology#'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://a.com/ontology#'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='http://a.com/ontology'>
-<getRawHost value='a.com'/>
-<getRawPath value='/ontology'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='a.com'/>
-<isRootless value='false'/>
-<toString value='http://a.com/ontology'/>
-<toDisplayString value='http://a.com/ontology'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://a.com/ontology'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='http://aldabaran.hpl.hp.com/rdftest/test18/'>
-<getRawHost value='aldabaran.hpl.hp.com'/>
-<getRawPath value='/rdftest/test18/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='aldabaran.hpl.hp.com'/>
-<isRootless value='false'/>
-<toString value='http://aldabaran.hpl.hp.com/rdftest/test18/'/>
-<toDisplayString value='http://aldabaran.hpl.hp.com/rdftest/test18/'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://aldabaran.hpl.hp.com/rdftest/test18/'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='http://bar.com/irrelevant'>
-<getRawHost value='bar.com'/>
-<getRawPath value='/irrelevant'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='bar.com'/>
-<isRootless value='false'/>
-<toString value='http://bar.com/irrelevant'/>
-<toDisplayString value='http://bar.com/irrelevant'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://bar.com/irrelevant'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='http://decsai.ugr.es/~ontoserver/bacarex2.owl#'>
-<getRawHost value='decsai.ugr.es'/>
-<getRawPath value='/~ontoserver/bacarex2.owl'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value=''/>
-<getASCIIHost value='decsai.ugr.es'/>
-<isRootless value='false'/>
-<toString value='http://decsai.ugr.es/~ontoserver/bacarex2.owl#'/>
-<toDisplayString value='http://decsai.ugr.es/~ontoserver/bacarex2.owl#'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://decsai.ugr.es/~ontoserver/bacarex2.owl#'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='http://decsai.ugr.es/~ontoserver/bacarex2.owl#Importance'>
-<getRawHost value='decsai.ugr.es'/>
-<getRawPath value='/~ontoserver/bacarex2.owl'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value='Importance'/>
-<getASCIIHost value='decsai.ugr.es'/>
-<isRootless value='false'/>
-<toString value='http://decsai.ugr.es/~ontoserver/bacarex2.owl#Importance'/>
-<toDisplayString value='http://decsai.ugr.es/~ontoserver/bacarex2.owl#Importance'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://decsai.ugr.es/~ontoserver/bacarex2.owl#Importance'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='http://desc'>
-<getRawHost value='desc'/>
-<getRawPath value=''/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='desc'/>
-<isRootless value='false'/>
-<toString value='http://desc'/>
-<toDisplayString value='http://desc'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://desc'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='http://dickinson-i-4/daml/tests/test-add-0.daml#'>
-<getRawHost value='dickinson-i-4'/>
-<getRawPath value='/daml/tests/test-add-0.daml'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value=''/>
-<getASCIIHost value='dickinson-i-4'/>
-<isRootless value='false'/>
-<toString value='http://dickinson-i-4/daml/tests/test-add-0.daml#'/>
-<toDisplayString value='http://dickinson-i-4/daml/tests/test-add-0.daml#'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://dickinson-i-4/daml/tests/test-add-0.daml#'/>
-<violations>
-<violation>DOUBLE_DASH_IN_REG_NAME</violation>
-</violations>
-</IRI>
-<IRI iri='http://dickinson-i-4/daml/tests/test-add-0.daml#TestClass'>
-<getRawHost value='dickinson-i-4'/>
-<getRawPath value='/daml/tests/test-add-0.daml'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment value='TestClass'/>
-<getASCIIHost value='dickinson-i-4'/>
-<isRootless value='false'/>
-<toString value='http://dickinson-i-4/daml/tests/test-add-0.daml#TestClass'/>
-<toDisplayString value='http://dickinson-i-4/daml/tests/test-add-0.daml#TestClass'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://dickinson-i-4/daml/tests/test-add-0.daml#TestClass'/>
-<violations>
-<violation>DOUBLE_DASH_IN_REG_NAME</violation>
-</violations>
-</IRI>
-<IRI iri='http://domain/S'>
-<getRawHost value='domain'/>
-<getRawPath value='/S'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='domain'/>
-<isRootless value='false'/>
-<toString value='http://domain/S'/>
-<toDisplayString value='http://domain/S'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://domain/S'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='http://eg.com/'>
-<getRawHost value='eg.com'/>
-<getRawPath value='/'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='eg.com'/>
-<isRootless value='false'/>
-<toString value='http://eg.com/'/>
-<toDisplayString value='http://eg.com/'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://eg.com/'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='http://ex/dt'>
-<getRawHost value='ex'/>
-<getRawPath value='/dt'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='ex'/>
-<isRootless value='false'/>
-<toString value='http://ex/dt'/>
-<toDisplayString value='http://ex/dt'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://ex/dt'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='http://example.com/A'>
-<getRawHost value='example.com'/>
-<getRawPath value='/A'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='example.com'/>
-<isRootless value='false'/>
-<toString value='http://example.com/A'/>
-<toDisplayString value='http://example.com/A'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://example.com/A'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='http://example.com/test0'>
-<getRawHost value='example.com'/>
-<getRawPath value='/test0'/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='example.com'/>
-<isRootless value='false'/>
-<toString value='http://example.com/test0'/>
-<toDisplayString value='http://example.com/test0'/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://example.com/test0'/>
-<violations>
-</violations>
-</IRI>
-<IRI iri='http://example.org/ '>
-<getRawHost value='example.org'/>
-<getRawPath value='/ '/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='example.org'/>
-<isRootless value='false'/>
-<toString value='http://example.org/ '/>
-<toDisplayString value='http://example.org/ '/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://example.org/%20%20%20%20'/>
-<violations>
-<violation>DOUBLE_WHITESPACE</violation>
-</violations>
-</IRI>
-<IRI iri='http://example.org/ '>
-<getRawHost value='example.org'/>
-<getRawPath value='/ '/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='example.org'/>
-<isRootless value='false'/>
-<toString value='http://example.org/ '/>
-<toDisplayString value='http://example.org/ '/>
-<isAbsolute value='true'/>
-<isRelative value='false'/>
-<toASCIIString value='http://example.org/%20%20%20'/>
-<violations>
-<violation>DOUBLE_WHITESPACE</violation>
-</violations>
-</IRI>
-<IRI iri='http://example.org/ '>
-<getRawHost value='example.org'/>
-<getRawPath value='/ '/>
-<getPort value='-1'/>
-<getRawQuery nullValue='true'/>
-<getScheme value='http'/>
-<getRawUserinfo nullValue='true'/>
-<getRawFragment nullValue='true'/>
-<getASCIIHost value='example.org'/>
-<isRootless value='false'/>
-<toString value='http://example.org/ '/>
-<
<TRUNCATED>