W3C

RDF/XML Syntax tests

Document Editor
Gregg Kellogg – Kellogg Associates

Copyright © 2010 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, and document use rules apply.


Abstract

This page describes W3C RDF Working Group's RDF/XML test suite. This test suite contains two kinds of tests:

These tests are also described in Turtle format in this directory for convenience. All tests have a name (mf:name) and an input (mf:action). The Evaluation tests have an expected result (mf:result).

The home of the test suite is http://www.w3.org/2013/RDFXMLTests/. Per RFC 3986 section 5.1.3, the base IRI for parsing each file is the retrieval IRI for that file. For example, the tests rdf-containers-syntax-vs-schema-test004 and xmlbase-test014 require relative IRI resolution against a base of http://www.w3.org/2013/RDFXMLTests/rdf-containers-syntax-vs-schema/test004.rdf and http://www.w3.org/2013/RDFXMLTests/xmlbase/test014.rdf respectively.

Tests can be run from the web or by downloading either a tarball or zip file.

See http://www.w3.org/2011/rdf-wg/wiki/RDF_Test_Suites for more details.

Contributing Tests

The test manifests and entries are built automatically from manifest.ttl using a Rake task. Tests may be contributed via pull request to https://github.com/w3c/rdf-tests with suitable changes to the manifest.ttl and referenced files.

Distribution

Distributed under both the W3C Test Suite License and the W3C 3-clause BSD License. To contribute to a W3C Test Suite, see the policies and contribution forms.

Disclaimer

UNDER BOTH MUTUALLY EXCLUSIVE LICENSES, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.

Test Descriptions

#amp-in-url-test001: amp-in-url-test001

Description: the purpose of this test case is to show how one of XML's Predefined Entities - in this case the ampersand - is represented when it is used in the value of an rdf:about attribute. The ampersand is represented by its numeric character reference as specified in: http://www.w3.org/TR/REC-xml#sec-predefined-ent In the associated N-Triples file, the ampersand will be represented with a single ampersand character (and not the ampersand's numeric character reference). Note: when a XML/HTML browser is used to display this file, a single ampersand character may be displayed and not the ampersand's numeric character reference. In this case, the browser may provide an alternate way to view the file (such as viewing the file's source or saving to a file).

type
rdft:TestXMLEval
approval
rdft:Approved
action
amp-in-url/test001.rdf
result
amp-in-url/test001.nt
#datatypes-test001: datatypes-test001

A simple datatype production; a language+datatype production.

type
rdft:TestXMLEval
approval
rdft:Approved
action
datatypes/test001.rdf
result
datatypes/test001.nt
#datatypes-test002: datatypes-test002

A parser is not required to know about well-formed datatyped literals.

type
rdft:TestXMLEval
approval
rdft:Approved
action
datatypes/test002.rdf
result
datatypes/test002.nt
#rdf-charmod-literals-test001: rdf-charmod-literals-test001

Does the treatment of literals conform to charmod ? Test for success of legal Normal Form C literal

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdf-charmod-literals/test001.rdf
result
rdf-charmod-literals/test001.nt
#rdf-charmod-uris-test001: rdf-charmod-uris-test001

A uriref is allowed to match non-US ASCII forms conforming to Unicode Normal Form C. No escaping algorithm is applied.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdf-charmod-uris/test001.rdf
result
rdf-charmod-uris/test001.nt
#rdf-charmod-uris-test002: rdf-charmod-uris-test002

A uriref which already has % escaping is permitted. No unescaping algorithm is applied.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdf-charmod-uris/test002.rdf
result
rdf-charmod-uris/test002.nt
#rdf-containers-syntax-vs-schema-error001: rdf-containers-syntax-vs-schema-error001

rdf:li is not allowed as as an attribute

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdf-containers-syntax-vs-schema/error001.rdf
#rdf-containers-syntax-vs-schema-error002: rdf-containers-syntax-vs-schema-error002

rdf:li elements as typed nodes - a bizarre case As specified in http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2001Nov/0651.html is not an error.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdf-containers-syntax-vs-schema/error002.rdf
#rdf-containers-syntax-vs-schema-test001: rdf-containers-syntax-vs-schema-test001

Simple container

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdf-containers-syntax-vs-schema/test001.rdf
result
rdf-containers-syntax-vs-schema/test001.nt
#rdf-containers-syntax-vs-schema-test002: rdf-containers-syntax-vs-schema-test002

rdf:li is unaffected by other rdf:nnn properties. This test case is concerned only with defining the triples that this particular example RDF/XML represents. It is not concerned with whether that collection of triples violates any other constraints, e.g. restrictions on the number of rdf:1 properties that may be defined for a resource.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdf-containers-syntax-vs-schema/test002.rdf
result
rdf-containers-syntax-vs-schema/test002.nt
#rdf-containers-syntax-vs-schema-test003: rdf-containers-syntax-vs-schema-test003

rdf:li elements can exist in any description element

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdf-containers-syntax-vs-schema/test003.rdf
result
rdf-containers-syntax-vs-schema/test003.nt
#rdf-containers-syntax-vs-schema-test004: rdf-containers-syntax-vs-schema-test004

rdf:li elements match any of the property element productions

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdf-containers-syntax-vs-schema/test004.rdf
result
rdf-containers-syntax-vs-schema/test004.nt
#rdf-containers-syntax-vs-schema-test006: rdf-containers-syntax-vs-schema-test006

containers match the typed node production

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdf-containers-syntax-vs-schema/test006.rdf
result
rdf-containers-syntax-vs-schema/test006.nt
#rdf-containers-syntax-vs-schema-test007: rdf-containers-syntax-vs-schema-test007

rdf:li processing within each element is independent

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdf-containers-syntax-vs-schema/test007.rdf
result
rdf-containers-syntax-vs-schema/test007.nt
#rdf-containers-syntax-vs-schema-test008: rdf-containers-syntax-vs-schema-test008

rdf:li processing is per element, not per resource.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdf-containers-syntax-vs-schema/test008.rdf
result
rdf-containers-syntax-vs-schema/test008.nt
#rdf-element-not-mandatory-test001: rdf-element-not-mandatory-test001

A surrounding rdf:RDF element is no longer mandatory.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdf-element-not-mandatory/test001.rdf
result
rdf-element-not-mandatory/test001.nt
#rdf-ns-prefix-confusion-test0001: rdf-ns-prefix-confusion-test0001

RDF attributes that are required to have an rdf: prefix about aboutEach ID bagID type resource parseType

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdf-ns-prefix-confusion/test0001.rdf
result
rdf-ns-prefix-confusion/test0001.nt
#rdf-ns-prefix-confusion-test0003: rdf-ns-prefix-confusion-test0003

RDF attributes that are required to have an rdf: prefix about aboutEach ID bagID type resource parseType

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdf-ns-prefix-confusion/test0003.rdf
result
rdf-ns-prefix-confusion/test0003.nt
#rdf-ns-prefix-confusion-test0004: rdf-ns-prefix-confusion-test0004

RDF attributes that are required to have an rdf: prefix about aboutEach ID bagID type resource parseType

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdf-ns-prefix-confusion/test0004.rdf
result
rdf-ns-prefix-confusion/test0004.nt
#rdf-ns-prefix-confusion-test0005: rdf-ns-prefix-confusion-test0005

RDF attributes that are required to have an rdf: prefix about aboutEach ID bagID type resource parseType

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdf-ns-prefix-confusion/test0005.rdf
result
rdf-ns-prefix-confusion/test0005.nt
#rdf-ns-prefix-confusion-test0006: rdf-ns-prefix-confusion-test0006

RDF attributes that are required to have an rdf: prefix about aboutEach ID bagID type resource parseType

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdf-ns-prefix-confusion/test0006.rdf
result
rdf-ns-prefix-confusion/test0006.nt
#rdf-ns-prefix-confusion-test0009: rdf-ns-prefix-confusion-test0009

Namespace qualification MUST be used for all property attributes.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdf-ns-prefix-confusion/test0009.rdf
result
rdf-ns-prefix-confusion/test0009.nt
#rdf-ns-prefix-confusion-test0010: rdf-ns-prefix-confusion-test0010

Non-prefixed RDF elements (NOT attributes) are allowed when a default XML element namespace is defined with an xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" attribute.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdf-ns-prefix-confusion/test0010.rdf
result
rdf-ns-prefix-confusion/test0010.nt
#rdf-ns-prefix-confusion-test0011: rdf-ns-prefix-confusion-test0011

Non-prefixed RDF elements (NOT attributes) are allowed when a default XML element namespace is defined with an xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" attribute.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdf-ns-prefix-confusion/test0011.rdf
result
rdf-ns-prefix-confusion/test0011.nt
#rdf-ns-prefix-confusion-test0012: rdf-ns-prefix-confusion-test0012

Non-prefixed RDF elements (NOT attributes) are allowed when a default XML element namespace is defined with an xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" attribute.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdf-ns-prefix-confusion/test0012.rdf
result
rdf-ns-prefix-confusion/test0012.nt
#rdf-ns-prefix-confusion-test0013: rdf-ns-prefix-confusion-test0013

Non-prefixed RDF elements (NOT attributes) are allowed when a default XML element namespace is defined with an xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" attribute.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdf-ns-prefix-confusion/test0013.rdf
result
rdf-ns-prefix-confusion/test0013.nt
#rdf-ns-prefix-confusion-test0014: rdf-ns-prefix-confusion-test0014

Non-prefixed RDF elements (NOT attributes) are allowed when a default XML element namespace is defined with an xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" attribute.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdf-ns-prefix-confusion/test0014.rdf
result
rdf-ns-prefix-confusion/test0014.nt
#rdfms-abouteach-error001: rdfms-abouteach-error001

aboutEach removed from the RDF specifications. See URI above for further details.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-abouteach/error001.rdf
#rdfms-abouteach-error002: rdfms-abouteach-error002

aboutEach removed from the RDF specifications. See URI above for further details.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-abouteach/error002.rdf
#rdfms-difference-between-ID-and-about-error1: rdfms-difference-between-ID-and-about-error1

two elements cannot use the same ID

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-difference-between-ID-and-about/error1.rdf
#rdfms-difference-between-ID-and-about-test1: rdfms-difference-between-ID-and-about-test1

A statement with an rdf:ID creates a regular triple.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-difference-between-ID-and-about/test1.rdf
result
rdfms-difference-between-ID-and-about/test1.nt
#rdfms-difference-between-ID-and-about-test2: rdfms-difference-between-ID-and-about-test2

This test shows the treatment of non-ASCII characters in the value of rdf:ID attribute.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-difference-between-ID-and-about/test2.rdf
result
rdfms-difference-between-ID-and-about/test2.nt
#rdfms-difference-between-ID-and-about-test3: rdfms-difference-between-ID-and-about-test3

This test shows the treatment of non-ASCII characters in the value of rdf:about attribute.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-difference-between-ID-and-about/test3.rdf
result
rdfms-difference-between-ID-and-about/test3.nt
#rdfms-duplicate-member-props-test001: rdfms-duplicate-member-props-test001

The question posed to the RDF WG was: should an RDF document containing multiple rdf:_n properties (with the same n) on an element be rejected as illegal? The WG decided that a parser should accept that case as legal RDF.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-duplicate-member-props/test001.rdf
result
rdfms-duplicate-member-props/test001.nt
#rdfms-empty-property-elements-error001: rdfms-empty-property-elements-error001

This is not legal RDF; specifying an rdf:parseType of "Literal" and an rdf:resource attribute at the same time is an error.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-empty-property-elements/error001.rdf
#rdfms-empty-property-elements-error002: rdfms-empty-property-elements-error002

This is not legal RDF; specifying an rdf:parseType of "Literal" and an rdf:resource attribute at the same time is an error.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-empty-property-elements/error002.rdf
#rdfms-empty-property-elements-test001: rdfms-empty-property-elements-test001

The rdf:resource attribute means that the value of this property element is a resource.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-empty-property-elements/test001.rdf
result
rdfms-empty-property-elements/test001.nt
#rdfms-empty-property-elements-test002: rdfms-empty-property-elements-test002

The basic case. An empty property element just gives an empty literal.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-empty-property-elements/test002.rdf
result
rdfms-empty-property-elements/test002.nt
#rdfms-empty-property-elements-test004: rdfms-empty-property-elements-test004

If the parseType indicates the value is a resource, we must create one. With no additional information, the resource is anonymous.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-empty-property-elements/test004.rdf
result
rdfms-empty-property-elements/test004.nt
#rdfms-empty-property-elements-test005: rdfms-empty-property-elements-test005

An empty property element just gives an empty literal. We reify the statement at the same time.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-empty-property-elements/test005.rdf
result
rdfms-empty-property-elements/test005.nt
#rdfms-empty-property-elements-test006: rdfms-empty-property-elements-test006

Here the parseType indicates that we should create a resource. We also reify the generated statement.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-empty-property-elements/test006.rdf
result
rdfms-empty-property-elements/test006.nt
#rdfms-empty-property-elements-test007: rdfms-empty-property-elements-test007

As test001.rdf; this uses an explicit closing tag.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-empty-property-elements/test007.rdf
result
rdfms-empty-property-elements/test007.nt
#rdfms-empty-property-elements-test008: rdfms-empty-property-elements-test008

As test002.rdf; this uses an explicit closing tag.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-empty-property-elements/test008.rdf
result
rdfms-empty-property-elements/test008.nt
#rdfms-empty-property-elements-test010: rdfms-empty-property-elements-test010

As test004.rdf; this uses an explicit closing tag.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-empty-property-elements/test010.rdf
result
rdfms-empty-property-elements/test010.nt
#rdfms-empty-property-elements-test011: rdfms-empty-property-elements-test011

As test005.rdf; this uses an explicit closing tag.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-empty-property-elements/test011.rdf
result
rdfms-empty-property-elements/test011.nt
#rdfms-empty-property-elements-test012: rdfms-empty-property-elements-test012

As test006.rdf; this uses an explicit closing tag.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-empty-property-elements/test012.rdf
result
rdfms-empty-property-elements/test012.nt
#rdfms-empty-property-elements-test013: rdfms-empty-property-elements-test013

Test of the last alternative for production [6.12], interpreted according to RDFMS paragraphs 229-234: http://lists.w3.org/Archives/Public/www-archive/2001Jun/att-0021/00-part#229

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-empty-property-elements/test013.rdf
result
rdfms-empty-property-elements/test013.nt
#rdfms-empty-property-elements-test014: rdfms-empty-property-elements-test014

Test of the last alternative for production [6.12], interpreted according to RDFMS paragraphs 229-234: http://lists.w3.org/Archives/Public/www-archive/2001Jun/att-0021/00-part#229

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-empty-property-elements/test014.rdf
result
rdfms-empty-property-elements/test014.nt
#rdfms-empty-property-elements-test015: rdfms-empty-property-elements-test015

Test of the last alternative for production [6.12], interpreted according to RDFMS paragraphs 229-234: http://lists.w3.org/Archives/Public/www-archive/2001Jun/att-0021/00-part#229 Here we have an explicit closing tag. This does not match any of the productions in the original document, but is indistinguishable from test014 as far as XML is concerned.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-empty-property-elements/test015.rdf
result
rdfms-empty-property-elements/test015.nt
#rdfms-empty-property-elements-test016: rdfms-empty-property-elements-test016

Like rdfms-empty-property-elements/test001.rdf but with a processing instruction as the only content of the otherwise empty element.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-empty-property-elements/test016.rdf
result
rdfms-empty-property-elements/test016.nt
#rdfms-empty-property-elements-test017: rdfms-empty-property-elements-test017

Like rdfms-empty-property-elements/test001.rdf but with a comment as the only content of the otherwise empty element.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-empty-property-elements/test017.rdf
result
rdfms-empty-property-elements/test017.nt
#rdfms-identity-anon-resources-test001: rdfms-identity-anon-resources-test001

a RDF Description with no ID or about attribute describes an un-named resource, aka a bNode.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-identity-anon-resources/test001.rdf
result
rdfms-identity-anon-resources/test001.nt
#rdfms-identity-anon-resources-test002: rdfms-identity-anon-resources-test002

a RDF Description with no ID or about attribute describes an un-named resource, aka a bNode.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-identity-anon-resources/test002.rdf
result
rdfms-identity-anon-resources/test002.nt
#rdfms-identity-anon-resources-test003: rdfms-identity-anon-resources-test003

a RDF container (in this case a Bag) without an ID attribute describes an un-named resource, aka a bNode.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-identity-anon-resources/test003.rdf
result
rdfms-identity-anon-resources/test003.nt
#rdfms-identity-anon-resources-test004: rdfms-identity-anon-resources-test004

a RDF container (in this case an Alt) without an ID attribute describes an un-named resource, aka a bNode.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-identity-anon-resources/test004.rdf
result
rdfms-identity-anon-resources/test004.nt
#rdfms-identity-anon-resources-test005: rdfms-identity-anon-resources-test005

a RDF container (in this case an Seq) without an ID attribute describes an un-named resource, aka a bNode.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-identity-anon-resources/test005.rdf
result
rdfms-identity-anon-resources/test005.nt
#rdfms-not-id-and-resource-attr-test001: rdfms-not-id-and-resource-attr-test001

rdf:ID on an empty property element indicates reification.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-not-id-and-resource-attr/test001.rdf
result
rdfms-not-id-and-resource-attr/test001.nt
#rdfms-not-id-and-resource-attr-test002: rdfms-not-id-and-resource-attr-test002

rdf:reource on an empty property element indicates the URI of the object.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-not-id-and-resource-attr/test002.rdf
result
rdfms-not-id-and-resource-attr/test002.nt
#rdfms-not-id-and-resource-attr-test004: rdfms-not-id-and-resource-attr-test004

rdf:ID and rdf:resource are allowed together on empty property element.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-not-id-and-resource-attr/test004.rdf
result
rdfms-not-id-and-resource-attr/test004.nt
#rdfms-not-id-and-resource-attr-test005: rdfms-not-id-and-resource-attr-test005

rdf:ID and rdf:resource are allowed together on empty property element.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-not-id-and-resource-attr/test005.rdf
result
rdfms-not-id-and-resource-attr/test005.nt
#rdfms-para196-test001: rdfms-para196-test001

test case showing that the 2nd URI in M Paragraph 196 is permitted as a namespace URI (and any namespace URI starting with that URI)

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-para196/test001.rdf
result
rdfms-para196/test001.nt
#rdfms-rdf-id-error001: rdfms-rdf-id-error001

The value of rdf:ID must match the XML Name production, (as modified by XML Namespaces).

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-id/error001.rdf
#rdfms-rdf-id-error002: rdfms-rdf-id-error002

The value of rdf:ID must match the XML Name production, (as modified by XML Namespaces).

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-id/error002.rdf
#rdfms-rdf-id-error003: rdfms-rdf-id-error003

The value of rdf:ID must match the XML Name production, (as modified by XML Namespaces).

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-id/error003.rdf
#rdfms-rdf-id-error004: rdfms-rdf-id-error004

The value of rdf:ID must match the XML Name production, (as modified by XML Namespaces).

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-id/error004.rdf
#rdfms-rdf-id-error005: rdfms-rdf-id-error005

The value of rdf:ID must match the XML Name production, (as modified by XML Namespaces).

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-id/error005.rdf
#rdfms-rdf-id-error006: rdfms-rdf-id-error006

The value of rdf:bagID must match the XML Name production, (as modified by XML Namespaces).

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-id/error006.rdf
#rdfms-rdf-id-error007: rdfms-rdf-id-error007

The value of rdf:bagID must match the XML Name production, (as modified by XML Namespaces).

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-id/error007.rdf
#rdfms-rdf-names-use-error-001: rdfms-rdf-names-use-error-001

RDF is forbidden as a node element name.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-names-use/error-001.rdf
#rdfms-rdf-names-use-error-002: rdfms-rdf-names-use-error-002

ID is forbidden as a node element name.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-names-use/error-002.rdf
#rdfms-rdf-names-use-error-003: rdfms-rdf-names-use-error-003

about is forbidden as a node element name.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-names-use/error-003.rdf
#rdfms-rdf-names-use-error-004: rdfms-rdf-names-use-error-004

bagID is forbidden as a node element name.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-names-use/error-004.rdf
#rdfms-rdf-names-use-error-005: rdfms-rdf-names-use-error-005

parseType is forbidden as a node element name.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-names-use/error-005.rdf
#rdfms-rdf-names-use-error-006: rdfms-rdf-names-use-error-006

resource is forbidden as a node element name.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-names-use/error-006.rdf
#rdfms-rdf-names-use-error-007: rdfms-rdf-names-use-error-007

nodeID is forbidden as a node element name.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-names-use/error-007.rdf
#rdfms-rdf-names-use-error-008: rdfms-rdf-names-use-error-008

li is forbidden as a node element name.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-names-use/error-008.rdf
#rdfms-rdf-names-use-error-009: rdfms-rdf-names-use-error-009

aboutEach is forbidden as a node element name.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-names-use/error-009.rdf
#rdfms-rdf-names-use-error-010: rdfms-rdf-names-use-error-010

aboutEachPrefix is forbidden as a node element name.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-names-use/error-010.rdf
#rdfms-rdf-names-use-error-011: rdfms-rdf-names-use-error-011

Description is forbidden as a property element name.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-names-use/error-011.rdf
#rdfms-rdf-names-use-error-012: rdfms-rdf-names-use-error-012

RDF is forbidden as a property element name.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-names-use/error-012.rdf
#rdfms-rdf-names-use-error-013: rdfms-rdf-names-use-error-013

ID is forbidden as a property element name.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-names-use/error-013.rdf
#rdfms-rdf-names-use-error-014: rdfms-rdf-names-use-error-014

about is forbidden as a property element name.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-names-use/error-014.rdf
#rdfms-rdf-names-use-error-015: rdfms-rdf-names-use-error-015

bagID is forbidden as a property element name.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-names-use/error-015.rdf
#rdfms-rdf-names-use-error-016: rdfms-rdf-names-use-error-016

parseType is forbidden as a property element name.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-names-use/error-016.rdf
#rdfms-rdf-names-use-error-017: rdfms-rdf-names-use-error-017

resource is forbidden as a property element name.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-names-use/error-017.rdf
#rdfms-rdf-names-use-error-018: rdfms-rdf-names-use-error-018

nodeID is forbidden as a property element name.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-names-use/error-018.rdf
#rdfms-rdf-names-use-error-019: rdfms-rdf-names-use-error-019

aboutEach is forbidden as a property element name.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-names-use/error-019.rdf
#rdfms-rdf-names-use-error-020: rdfms-rdf-names-use-error-020

aboutEachPrefix is forbidden as a property element name.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-rdf-names-use/error-020.rdf
#rdfms-rdf-names-use-test-001: rdfms-rdf-names-use-test-001

Description is allowed as a node element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-001.rdf
result
rdfms-rdf-names-use/test-001.nt
#rdfms-rdf-names-use-test-002: rdfms-rdf-names-use-test-002

Seq is allowed as a node element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-002.rdf
result
rdfms-rdf-names-use/test-002.nt
#rdfms-rdf-names-use-test-003: rdfms-rdf-names-use-test-003

Bag is allowed as a node element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-003.rdf
result
rdfms-rdf-names-use/test-003.nt
#rdfms-rdf-names-use-test-004: rdfms-rdf-names-use-test-004

Alt is allowed as a node element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-004.rdf
result
rdfms-rdf-names-use/test-004.nt
#rdfms-rdf-names-use-test-005: rdfms-rdf-names-use-test-005

Statement is allowed as a node element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-005.rdf
result
rdfms-rdf-names-use/test-005.nt
#rdfms-rdf-names-use-test-006: rdfms-rdf-names-use-test-006

Property is allowed as a node element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-006.rdf
result
rdfms-rdf-names-use/test-006.nt
#rdfms-rdf-names-use-test-007: rdfms-rdf-names-use-test-007

List is allowed as a node element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-007.rdf
result
rdfms-rdf-names-use/test-007.nt
#rdfms-rdf-names-use-test-008: rdfms-rdf-names-use-test-008

subject is allowed as a node element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-008.rdf
result
rdfms-rdf-names-use/test-008.nt
#rdfms-rdf-names-use-test-009: rdfms-rdf-names-use-test-009

predicate is allowed as a node element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-009.rdf
result
rdfms-rdf-names-use/test-009.nt
#rdfms-rdf-names-use-test-010: rdfms-rdf-names-use-test-010

object is allowed as a node element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-010.rdf
result
rdfms-rdf-names-use/test-010.nt
#rdfms-rdf-names-use-test-011: rdfms-rdf-names-use-test-011

type is allowed as a node element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-011.rdf
result
rdfms-rdf-names-use/test-011.nt
#rdfms-rdf-names-use-test-012: rdfms-rdf-names-use-test-012

value is allowed as a node element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-012.rdf
result
rdfms-rdf-names-use/test-012.nt
#rdfms-rdf-names-use-test-013: rdfms-rdf-names-use-test-013

first is allowed as a node element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-013.rdf
result
rdfms-rdf-names-use/test-013.nt
#rdfms-rdf-names-use-test-014: rdfms-rdf-names-use-test-014

rest is allowed as a node element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-014.rdf
result
rdfms-rdf-names-use/test-014.nt
#rdfms-rdf-names-use-test-015: rdfms-rdf-names-use-test-015

_1 is allowed as a node element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-015.rdf
result
rdfms-rdf-names-use/test-015.nt
#rdfms-rdf-names-use-test-016: rdfms-rdf-names-use-test-016

nil is allowed as a node element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-016.rdf
result
rdfms-rdf-names-use/test-016.nt
#rdfms-rdf-names-use-test-017: rdfms-rdf-names-use-test-017

Seq is allowed as a property element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-017.rdf
result
rdfms-rdf-names-use/test-017.nt
#rdfms-rdf-names-use-test-018: rdfms-rdf-names-use-test-018

Bag is allowed as a property element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-018.rdf
result
rdfms-rdf-names-use/test-018.nt
#rdfms-rdf-names-use-test-019: rdfms-rdf-names-use-test-019

Alt is allowed as a property element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-019.rdf
result
rdfms-rdf-names-use/test-019.nt
#rdfms-rdf-names-use-test-020: rdfms-rdf-names-use-test-020

Statement is allowed as a property element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-020.rdf
result
rdfms-rdf-names-use/test-020.nt
#rdfms-rdf-names-use-test-021: rdfms-rdf-names-use-test-021

Property is allowed as a property element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-021.rdf
result
rdfms-rdf-names-use/test-021.nt
#rdfms-rdf-names-use-test-022: rdfms-rdf-names-use-test-022

List is allowed as a property element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-022.rdf
result
rdfms-rdf-names-use/test-022.nt
#rdfms-rdf-names-use-test-023: rdfms-rdf-names-use-test-023

subject is allowed as a property element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-023.rdf
result
rdfms-rdf-names-use/test-023.nt
#rdfms-rdf-names-use-test-024: rdfms-rdf-names-use-test-024

predicate is allowed as a property element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-024.rdf
result
rdfms-rdf-names-use/test-024.nt
#rdfms-rdf-names-use-test-025: rdfms-rdf-names-use-test-025

object is allowed as a property element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-025.rdf
result
rdfms-rdf-names-use/test-025.nt
#rdfms-rdf-names-use-test-026: rdfms-rdf-names-use-test-026

type is allowed as a property element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-026.rdf
result
rdfms-rdf-names-use/test-026.nt
#rdfms-rdf-names-use-test-027: rdfms-rdf-names-use-test-027

value is allowed as a property element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-027.rdf
result
rdfms-rdf-names-use/test-027.nt
#rdfms-rdf-names-use-test-028: rdfms-rdf-names-use-test-028

first is allowed as a property element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-028.rdf
result
rdfms-rdf-names-use/test-028.nt
#rdfms-rdf-names-use-test-029: rdfms-rdf-names-use-test-029

rest is allowed as a property element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-029.rdf
result
rdfms-rdf-names-use/test-029.nt
#rdfms-rdf-names-use-test-030: rdfms-rdf-names-use-test-030

_1 is allowed as a property element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-030.rdf
result
rdfms-rdf-names-use/test-030.nt
#rdfms-rdf-names-use-test-031: rdfms-rdf-names-use-test-031

li is allowed as a property element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-031.rdf
result
rdfms-rdf-names-use/test-031.nt
#rdfms-rdf-names-use-test-032: rdfms-rdf-names-use-test-032

Seq is allowed as a property element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-032.rdf
result
rdfms-rdf-names-use/test-032.nt
#rdfms-rdf-names-use-test-033: rdfms-rdf-names-use-test-033

Bag is allowed as a property element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-033.rdf
result
rdfms-rdf-names-use/test-033.nt
#rdfms-rdf-names-use-test-034: rdfms-rdf-names-use-test-034

Alt is allowed as a property element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-034.rdf
result
rdfms-rdf-names-use/test-034.nt
#rdfms-rdf-names-use-test-035: rdfms-rdf-names-use-test-035

Statement is allowed as a property element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-035.rdf
result
rdfms-rdf-names-use/test-035.nt
#rdfms-rdf-names-use-test-036: rdfms-rdf-names-use-test-036

Property is allowed as a property element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-036.rdf
result
rdfms-rdf-names-use/test-036.nt
#rdfms-rdf-names-use-test-037: rdfms-rdf-names-use-test-037

List is allowed as a property element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/test-037.rdf
result
rdfms-rdf-names-use/test-037.nt
#rdfms-rdf-names-use-warn-001: rdfms-rdf-names-use-warn-001

foo is allowed with warnings as a node element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/warn-001.rdf
result
rdfms-rdf-names-use/warn-001.nt
#rdfms-rdf-names-use-warn-002: rdfms-rdf-names-use-warn-002

foo is allowed with warnings as a property element name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/warn-002.rdf
result
rdfms-rdf-names-use/warn-002.nt
#rdfms-rdf-names-use-warn-003: rdfms-rdf-names-use-warn-003

foo is allowed with warnings as a property attribute name.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-rdf-names-use/warn-003.rdf
result
rdfms-rdf-names-use/warn-003.nt
#rdfms-reification-required-test001: rdfms-reification-required-test001

A parser is not required to generate a bag of reified statements for all description elements.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-reification-required/test001.rdf
result
rdfms-reification-required/test001.nt
#rdfms-seq-representation-test001: rdfms-seq-representation-test001

rdf:parseType="Collection" is parsed like the nonstandard daml:collection.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-seq-representation/test001.rdf
result
rdfms-seq-representation/test001.nt
#rdfms-syntax-incomplete-test001: rdfms-syntax-incomplete-test001

rdf:nodeID can be used to label a blank node.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-syntax-incomplete/test001.rdf
result
rdfms-syntax-incomplete/test001.nt
#rdfms-syntax-incomplete-test002: rdfms-syntax-incomplete-test002

rdf:nodeID can be used to label a blank node. These have file scope and are distinct from any unlabelled blank nodes.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-syntax-incomplete/test002.rdf
result
rdfms-syntax-incomplete/test002.nt
#rdfms-syntax-incomplete-test003: rdfms-syntax-incomplete-test003

On an rdf:Description or typed node rdf:nodeID behaves similarly to an rdf:about.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-syntax-incomplete/test003.rdf
result
rdfms-syntax-incomplete/test003.nt
#rdfms-syntax-incomplete-test004: rdfms-syntax-incomplete-test004

On a property element rdf:nodeID behaves similarly to rdf:resource.

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-syntax-incomplete/test004.rdf
result
rdfms-syntax-incomplete/test004.nt
#rdfms-syntax-incomplete-error001: rdfms-syntax-incomplete-error001

The value of rdf:nodeID must match the XML Name production, (as modified by XML Namespaces).

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-syntax-incomplete/error001.rdf
#rdfms-syntax-incomplete-error002: rdfms-syntax-incomplete-error002

The value of rdf:nodeID must match the XML Name production, (as modified by XML Namespaces).

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-syntax-incomplete/error002.rdf
#rdfms-syntax-incomplete-error003: rdfms-syntax-incomplete-error003

The value of rdf:nodeID must match the XML Name production, (as modified by XML Namespaces).

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-syntax-incomplete/error003.rdf
#rdfms-syntax-incomplete-error004: rdfms-syntax-incomplete-error004

Cannot have rdf:nodeID and rdf:ID.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-syntax-incomplete/error004.rdf
#rdfms-syntax-incomplete-error005: rdfms-syntax-incomplete-error005

Cannot have rdf:nodeID and rdf:about.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-syntax-incomplete/error005.rdf
#rdfms-syntax-incomplete-error006: rdfms-syntax-incomplete-error006

Cannot have rdf:nodeID and rdf:resource.

type
rdft:TestXMLNegativeSyntax
approval
rdft:Approved
action
rdfms-syntax-incomplete/error006.rdf
#rdfms-uri-substructure-test001: rdfms-uri-substructure-test001

Demonstrates the Recommended partitioning of a URI into a namespace part and a localname part

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-uri-substructure/test001.rdf
result
rdfms-uri-substructure/test001.nt
#rdfms-xmllang-test003: rdfms-xmllang-test003

In-scope xml:lang applies to element content literal values

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-xmllang/test003.rdf
result
rdfms-xmllang/test003.nt
#rdfms-xmllang-test004: rdfms-xmllang-test004

In-scope xml:lang applies to element content literal values

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-xmllang/test004.rdf
result
rdfms-xmllang/test004.nt
#rdfms-xmllang-test005: rdfms-xmllang-test005

In-scope xml:lang applies to element content literal values

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-xmllang/test005.rdf
result
rdfms-xmllang/test005.nt
#rdfms-xmllang-test006: rdfms-xmllang-test006

In-scope xml:lang applies to element content literal values

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfms-xmllang/test006.rdf
result
rdfms-xmllang/test006.nt
#rdfs-domain-and-range-test001: rdfs-domain-and-range-test001

a RDF Property may have more than one domain property

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfs-domain-and-range/test001.rdf
result
rdfs-domain-and-range/test001.nt
#rdfs-domain-and-range-test002: rdfs-domain-and-range-test002

a RDF Property may have more than one domain property

type
rdft:TestXMLEval
approval
rdft:Approved
action
rdfs-domain-and-range/test002.rdf
result
rdfs-domain-and-range/test002.nt
#unrecognised-xml-attributes-test001: unrecognised-xml-attributes-test001

Unrecognized attributes in the xml namespace should be ignored.

type
rdft:TestXMLEval
approval
rdft:Approved
action
unrecognised-xml-attributes/test001.rdf
result
unrecognised-xml-attributes/test001.nt
#unrecognised-xml-attributes-test002: unrecognised-xml-attributes-test002

Unrecognized attributes in the xml namespace should be ignored.

type
rdft:TestXMLEval
approval
rdft:Approved
action
unrecognised-xml-attributes/test002.rdf
result
unrecognised-xml-attributes/test002.nt
#xml-canon-test001: xml-canon-test001

Demonstrating the canonicalisation of XMLLiterals.

type
rdft:TestXMLEval
approval
rdft:Approved
action
xml-canon/test001.rdf
result
xml-canon/test001.nt
#xmlbase-test001: xmlbase-test001

xml:base applies to an rdf:ID on an rdf:Description element.

type
rdft:TestXMLEval
approval
rdft:Approved
action
xmlbase/test001.rdf
result
xmlbase/test001.nt
#xmlbase-test002: xmlbase-test002

xml:base applies to an rdf:resource attribute.

type
rdft:TestXMLEval
approval
rdft:Approved
action
xmlbase/test002.rdf
result
xmlbase/test002.nt
#xmlbase-test003: xmlbase-test003

xml:base applies to an rdf:about attribute.

type
rdft:TestXMLEval
approval
rdft:Approved
action
xmlbase/test003.rdf
result
xmlbase/test003.nt
#xmlbase-test004: xmlbase-test004

xml:base applies to an rdf:ID on a property element.

type
rdft:TestXMLEval
approval
rdft:Approved
action
xmlbase/test004.rdf
result
xmlbase/test004.nt
#xmlbase-test006: xmlbase-test006

xml:base scoping.

type
rdft:TestXMLEval
approval
rdft:Approved
action
xmlbase/test006.rdf
result
xmlbase/test006.nt
#xmlbase-test007: xmlbase-test007

example of relative URI resolution.

type
rdft:TestXMLEval
approval
rdft:Approved
action
xmlbase/test007.rdf
result
xmlbase/test007.nt
#xmlbase-test008: xmlbase-test008

example of empty same document ref resolution.

type
rdft:TestXMLEval
approval
rdft:Approved
action
xmlbase/test008.rdf
result
xmlbase/test008.nt
#xmlbase-test009: xmlbase-test009

Example of relative uri with absolute path resolution.

type
rdft:TestXMLEval
approval
rdft:Approved
action
xmlbase/test009.rdf
result
xmlbase/test009.nt
#xmlbase-test010: xmlbase-test010

Example of relative uri with net path resolution.

type
rdft:TestXMLEval
approval
rdft:Approved
action
xmlbase/test010.rdf
result
xmlbase/test010.nt
#xmlbase-test011: xmlbase-test011

Example of xml:base with no path component.

type
rdft:TestXMLEval
approval
rdft:Approved
action
xmlbase/test011.rdf
result
xmlbase/test011.nt
#xmlbase-test013: xmlbase-test013

With an xml:base with fragment the fragment is ignored.

type
rdft:TestXMLEval
approval
rdft:Approved
action
xmlbase/test013.rdf
result
xmlbase/test013.nt
#xmlbase-test014: xmlbase-test014

Test output corrected to use correct base URL.

type
rdft:TestXMLEval
approval
rdft:Approved
action
xmlbase/test014.rdf
result
xmlbase/test014.nt