W3C home > Mailing lists > Public > www-rdf-comments@w3.org > April to June 2003

Re: strange treatment of namespaces in RDF/XML

From: Dave Beckett <dave.beckett@bristol.ac.uk>
Date: Wed, 11 Jun 2003 10:52:22 +0100
To: "Peter F. Patel-Schneider" <pfps@research.bell-labs.com>
Cc: www-rdf-comments@w3.org
Message-Id: <20030611105222.3d24fd7c.dave.beckett@bristol.ac.uk>


Peter, your original comment 2003-06-04
was on 
  http://www.w3.org/TR/2003/WD-rdf-syntax-grammar-20030123/#section-Namespace
Section 5.1
[[
	Within RDF/XML documents it is not permitted to use XML namespaces
	whose namespace URI is either:
	- the RDF Namespace URI Reference concatenated with additional
 	  characters or 
	- the XML Namespace URI Reference concatenated with additional
	  characters. 
]]

I discussed the reason for these words with some of the RDF Core WG and
it seems that this is overly prescriptive.  The latter part in
particular is not needed.

So I will make the following change to 5.1:
[[
	Within RDF/XML documents it is not permitted to use XML namespaces
	whose namespace URI is the RDF Namespace URI Reference
        concatenated with additional characters.
]]


plus in 6.1.2 Element Event
  http://www.w3.org/TR/2003/WD-rdf-syntax-grammar-20030123/#section-element-node
I will remove the clause in paragraph 2 of the attributes accessor
description and reword to try to make this mapping clearer.

[[
attributes

    Made from the value of element information item property
    [attributes] which is a set of attribute information items.

    If this set contains an attribute information item xml:lang
    ([namespace-name] property with value
    "http://www.w3.org/XML/1998/namespace" and [local-name] property
    with value "lang"), it is removed from the set of attribute
    information items and the *language* accessor of the element
    event is assigned to the value of the [normalized-value] property
    of the attribute information item.

    All other attribute information items in the set with property
    [prefix] beginning with "xml" (case independent) are then
    removed[REF1].  Note: the [base URI] accessor is computed by XML
    Base before any xml:base attribute information item is deleted.

    The remaining attribute information items are then used to
    construct a new set of Attribute Events which is assigned as the
    value of this accessor.  
]]


I will also add pointers to the references in XML and Namespaces in
XML on reserved names somewhere near [REF1] and probably elsewhere.

Dave
Received on Wednesday, 11 June 2003 05:56:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 21 September 2012 14:16:32 GMT