Problem in RDF validator?

This may be an oddity and not a bug. In the RDF sample I would expect prop1
and prop2 to generate the same model, and prop3 and prop4 to also be the
same (as each other). But the type for prop2 is "online:type" instead of
just "type".

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

<rdf:Description rdf:about="" xmlns:ns="ns:test/">

   <ns:prop1>
       <type ns:attr="value"/>
   </ns:prop1>

   <ns:prop2 rdf:parseType="Resource">
       <rdf:type rdf:resource="type"/>
       <ns:attr>value"</ns:attr>
   </ns:prop2>

   <ns:prop3>
       <ns:type ns:attr="value"/>
   </ns:prop3>

   <ns:prop4 rdf:parseType="Resource">
       <rdf:type rdf:resource="ns:test/type"/>
       <ns:attr>value"</ns:attr>
   </ns:prop4>

</rdf:Description> 

</rdf:RDF>

Alan Lillich. 

Received on Thursday, 27 June 2002 14:45:12 UTC