- From: <Art.Barstow@nokia.com>
- Date: Fri, 28 Jun 2002 12:56:01 -0400
- To: <alillich@adobe.com>
- Cc: <www-rdf-validator@w3.org>
Regarding your note to the RDF Validator mail list:
http://lists.w3.org/Archives/Public/www-rdf-validator/2002Jun/0022.html
Given:
<ns:prop2 rdf:parseType="Resource">
<rdf:type rdf:resource="type"/>
<ns:attr>value"</ns:attr>
</ns:prop2>
and the resulting triples:
1 genid:46186 http://www.w3.org/1999/02/22-rdf-syntax-ns#type online:type
2 genid:46186 ns:test/attr value
3 online: ns:test/prop2 genid:46186
There are two questions - why is the object of triple #1:
online:type
instead of:
type
and why is the subject of triple #3:
online:
instead of an empty string.
The Validator's use of "online:" has been debated before. It's an attempt
to address the following part of M&S 1.0's section 6:
[[
URI-References are resolved to resource identifiers by first resolving
the URI-reference to absolute form as specified by [URI] using the base
URI of the document in which the RDF statements appear.
]]
This approach has been taken by other online RDF Validators (e.g. CARA).
Another approach would be to use something like http://www.w3.org/RDF/Validator/
as the root.
Art Barstow
---
Received on Friday, 28 June 2002 12:57:06 UTC