W3C home > Mailing lists > Public > www-rdf-interest@w3.org > April 2003

rdf:li outside of rdf:Bag

From: Jimmy Cerra <jimbobbs@hotmail.com>
Date: Sat, 19 Apr 2003 23:27:28 -0400
To: <www-rdf-interest@w3.org>
Message-ID: <000001c306ec$c54185c0$0100a8c0@drsoong>

What does it mean to have an rdf:li element placed as the child of an
element that isn't a collection element (rdf:Bag, rdf:Seq, rdf:Alt, or
others)?  For instance, consider the following document:

<?xml version="1.0"?>
<!DOCTYPE rdf:RDF [
<!ENTITY jfc  "jfc://example#">
<!ENTITY rdf  "http://www.w3.org/1999/02/22-rdf-syntax-ns#">
]>
<rdf:RDF xmlns:jfc="&jfc;" xmlns:rdf="&rdf;">
	<jfc:arc rdf:about="#L1">
		<jfc:arcrole rdf:resource="#L1role" />
		<rdf:li>
			<jfc:Thing rdf:about="#t0" />
		</rdf:li>
		<rdf:li>
			<jfc:Thing rdf:about="#t1" />
		</rdf:li>
		<rdf:li>
			<jfc:Thing rdf:about="#t2" />
		</rdf:li>
	</jfc:arc>
</rdf:RDF>

According to the W3C's RDF Validator (http://www.w3.org/RDF/Validator/),
the above example parses without errors; however, I am skeptical of that
validation.  What does the document mean?


P.S. Also, does anyone know if rdf:about or rdf:resource are compatible
with the xlink specification?  That is, can I link to and from nodes and
arcs in RDF/XML graphs with xlink attributes?  Is there a concise way of
doing it if so?

--
James F. Cerra 
"Shhh!!!  I'm monitoring the residue of the Laurent series expansion for
a time-asymmetric solution of the partial-differential Schrödinger
Equation, which is describing the evolution of the Hamiltonian function
for the spin states of an unstable Baryonic particle that's interacting
with my friend's cat!  One mistake and SPLAT! ;-)"
Received on Saturday, 19 April 2003 23:27:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:58 GMT