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

Conflict between WD-RDF-syntax-19980819 and REC-xml!!

From: John Cowan <cowan@locke.ccil.org>
Date: Thu, 10 Sep 1998 16:04:35 -0400
Message-ID: <35F830D3.731B85A0@locke.ccil.org>
To: Ora Lassila <ora.lassila@research.nokia.com>, "Ralph R. Swick" <swick@w3.org>, RDF List <www-rdf-comments@w3.org>
I complained about this before, but it didn't get fixed.

The latest RDF syntax draft says in clause 6:

# The values for each ID and bagID attribute must not appear more than
# once within a document nor may the same value be used in an ID and a
# bagID; that is, these two attributes have XML AttType ID.

But this cannot be, because the XML Recommendation says in clause 3.3.1:

# Validity Constraint: One ID per Element Type
# No element type may have more than one ID attribute specified.

A simple workaround is to create a new "<rdf:Reification bagID=xxx/>"
element type, to be a child of the Description element used to hold
the bagID.  This permits documents containing (restricted) RDF
to be validated with an appropriate DTD.

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 Thursday, 10 September 1998 16:06:48 UTC

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