property attributes on parseType="Resource" ?

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 UTC