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

Re: New syntax spec

From: Rick Jelliffe <ricko@allette.com.au>
Date: Thu, 13 Sep 2001 22:17:49 +1000
Message-ID: <007901c13c4e$1aefe6d0$4bc8a8c0@AlletteSystems.com>
To: "www-rdf-comments" <www-rdf-comments@w3.org>
 From: "Dave Beckett" <dave.beckett@bristol.ac.uk>

> propertyAttr is always used in the same form.  In typedNode
>   http://www.w3.org/TR/2001/WD-rdf-syntax-grammar-20010906/#typedNode
> it used like this:
>  [attributes]=set(idAboutAttr?, bagIdAttr?, propertyAttr*),
> i.e the propertyAttr term can be repeated 0 or more times.  Each of
> these propertyAttr uses can be either a typeAttr or propAttr.  I
> think this does not restrict the use of multiple rdf:type properties
> and/or other namespaced properties in any way.   Does that make sense?

But surely that is wrong, because
   [attributes]=set(idAboutAttr?, bagIdAttr?, propertyAttr*)
then expands to
   [attributes]=set(idAboutAttr?, bagIdAttr?, (typeAttr | propAttr)*)
which, allowing multiple typeAttr, is impossible?

An XML element can only have one attribute with a single name***

Do you mean this:
   [attributes]=set(idAboutAttr?, bagIdAttr?, typeAttr?, propAttr* )

Also, I think by "any" namespace you always mean "any except RDF".
And does this syntax exhaust the RDF namespace? 

Rick Jelliffe

*** Actually, one could think of getting around this using
  <x  xmlns:r1="namespace for rdf" xmlns:r2="namespace for rdf"
        r1:type=" ..." r2:type="..." />
but Namespace in XML explicitly disallows this in 5.3 "Uniqueness of Attributes"
Received on Thursday, 13 September 2001 08:11:54 UTC

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