rdf:datatype semantics
Neil Stansbury <neil.stansbury@REPLY_redbacksystems.com> Wed, 27 Jul 2005 17:02:25 +0100
| Newsgroups | gmane.comp.mozilla.devel.rdf |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Semantically, what is the difference between the two dc:Source properties below? I know one is a literal and the other a resource, I'm just wondering if there would be any reason to not treat the literal as if it were a resource. <?xml version="1.0"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"> <rdf:Description rdf:about="urn:a"> <dc:Source rdf:resource="urn:b"/> <dc:Source rdf:datatype="http://www.w3.org/TR/xmlschema-2/#anyURI">urn:b</dc:Source> </rdf:Description> </rdf:RDF>