W3C home > Mailing lists > Public > www-rdf-comments@w3.org > July to September 1998

ID, bagID, and XML validation

From: John Cowan <cowan@locke.ccil.org>
Date: Wed, 19 Aug 1998 15:32:17 -0400
Message-ID: <35DB2841.1F500294@locke.ccil.org>
To: RDF List <www-rdf-comments@w3.org>
RDF documents cannot be validated against a DTD, because
RDF:Description elements contain both ID and bagID attributes,
both of which are of type ID (as specified in the fourth
paragraph of clause 5).

This state of affairs violates the XML Validity Constraint: One ID per
Element Type (http://www.w3.org/TR/1998/REC-xml-19980210#one-id-per-el).

This seems undesirable.  A simple cure would be to add a new
element <RDF:Reification ID="xxx"> as a child of Description
elements that require it.

John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)
Received on Wednesday, 19 August 1998 15:32:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:15:12 UTC