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

property attributes on parseType="Resource" ?

From: Markus Sabadello <saba@cg.tuwien.ac.at>
Date: Thu, 30 Oct 2003 03:21:16 +0100 (CET)
To: www-rdf-validator@w3.org, www-rdf-comments@w3.org
Message-ID: <Pine.LNX.4.10.10310300259500.294-100000@mars.intra.net>

Hello,

To me the RDF/XML syntax specification (chapters 2.5 and 2.11) seems to be
contradictory on whether property attributes are allowed on
parseType="Resource" property-and-node elements.

The W3C validator apparently doesnt allow them. As far as I understand the
grammar and productions, they dont seem to allow them either.

So I guess there are mistakes in the spec chapters 2.5 / 2.11 ?

-Markus Sabadello
(saba@cg.tuwien.ac.at)

---------------

Example:

1: <?xml version="1.0"?>
2: <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
3:   xmlns:my="http://mytest.org/">
4:   <rdf:Description>
5:     <my:test rdf:parseType="Resource" my:one="1">
6:       <my:two>2</my:two>
7:     </my:test>
8:   </rdf:Description>
9: </rdf:RDF>
10:   

---------------

Error Messages from the W3C validator:

Error: {E201} Syntax error when processing property attributes. Cannot have
property attributes with the following other attributes:
rdf:parseType=&apos;Resource&apos;[Line = 5, Column = 50]
Received on Wednesday, 29 October 2003 22:56:37 GMT

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