Anthony
Anthony

Reputation: 686

XML literals with namespace

RDF has a way of assigning literal values to a namespace:

<owl:cardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:cardinality>

Notice the &xsd; prefix which corresponds to the xsd namespace declaration xmlns:xsd = "http://www.w3.org/2001/XMLSchema#".

Is this an RDF specific syntax or is it standard XML?

Upvotes: 1

Views: 65

Answers (1)

Ian Dickinson
Ian Dickinson

Reputation: 13295

They are XML entity references - it's part of the XML standard, not part of RDF per se.

Upvotes: 3

Related Questions