Graphical design component

r1 - 20 Sep 2008 - 17:50:04 - BobMorrisYou are here: TWiki >  SPM Web > PlaziEOLProject > NamespaceTermination
Copied verbatim from the Adobe XMP Specification, pp. 29-30: :

The formal definition of RDF transforms the XML representation into triples in a manner that catenates XML namespace URI strings with the local part of XML element and attribute names. This can lead to ambiguities if the URI does not end in separator such as '/' or '#'. This is not a problem for Adobe software, which does not utilize the triple representation. But it could be a problem in other implementations of XMP, or if the RDF form of XMP were fed to a traditional RDF processor.
Here is an artificial example of RDF that produces ambiguities in the triples:
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
       <rdf:Description rdf:about="bogus:example"
            xmlns:ns1="bogus:namespace" xmlns:ns2="bogus:name">
              <ns1:ship>value of ns1:ship</ns1:ship>
              <ns2:spaceship>value of ns2:spaceship</ns2:spaceship>
       </rdf:Description>
</rdf:RDF>
Here are the ambiguous RDF triples, notice that the two predicates are the same:
Subject: bogus:example
Predicate: bogus:namespaceship
Object: "value of ns1:ship"

Subject: bogus:example
Predicate: bogus:namespaceship
Object: "value of ns2:spaceship"

Linking Topics

Edit | Attach | Printable | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Back to TDWG Homepage TDWG Wiki > SPM
This site is powered by the TWiki collaboration platform

Valid XHTML 1.0 Transitional
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback