RDF and uuid. why no urn schema?
<rdf:Description about='uuid:8949dbc6-31ad-11d9-9c7d-d112c21f7031'>
Why this about
does not contain urn:uuid:8949dbc6-31ad-11d9-9c7d-d112c21f7031
instead? Isn't the uuid a urn, and therefore required to have a urn: scheme in front of it ?
Following the chain of specifications, the IANA URN namespace registry does indeed register 'uuid' as a namespace after 'urn:'. So yes, the URL above is wrong and it should start 'urn:uuid' as you were expecting.
This URI is wrong. Using the following RDF document in the W3C RDF Validator returns an error
<?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 about='uuid:8949dbc6-31ad-11d9-9c7d-d112c21f7031'>
<dc:title>Hello</dc:title>
</rdf:Description>
</rdf:RDF>
Error: {W102} unqualified use of rdf:about is deprecated.[Line = 4, Column = 70]
链接地址: http://www.djcxy.com/p/12082.html上一篇: 如何唯一标识一个网络?
下一篇: RDF和uuid。 为什么没有金塔纲要?