XMP example and XMP JSON response files don't seem to be in sync.

Felix, Florian,

I am working on the Testsuite and looking at the XMP test case example 
and the associated JSON response; the files don't seem to be in sync.

Could you please check it.

XMP test
http://www.w3.org/2008/WebVideo/Annotations/drafts/metadata_formats/xmp-canonical-original.xml

XMP RDF
http://www.w3.org/2008/WebVideo/Annotations/drafts/metadata_formats/xmp-canonical-mapped-to-mawg.rdf

XMP Json response
http://www.w3.org/2008/WebVideo/Annotations/drafts/API10/JSON/normative_json_ma_xmp.json



for example for the identifier property:

in the XMP example:
....
<dc:identifier>dc:identifier</dc:identifier>
....


in the JSON response

[ { "Identifier" : {
    "propertyName" : "identifier",
    "value" : "dc:identifier",
    "language" : "en-us",
    "sourceFormat" : "xmp",
    "fragmentIdentifier" : "",
    "mappingType" : "exact",
    "identifierLink" : "dc:identifier",
    "statusCode" : 200
    } 
  },
  { "Identifier" : {
    "propertyName" : "identifier",
    "value" : "xmp:Identifier 1",
    "language" : "en-us",
    "sourceFormat" : "xmp",
    "fragmentIdentifier" : "",
    "mappingType" : "exact",
    "identifierLink" : "xmp:Identifier 1",
    "statusCode" : 200
    } 
  },
  { "Identifier" : {
    "propertyName" : "identifier",
    "value" : "xmp:Identifier 2",
    "language" : "en-us",
    "sourceFormat" : "xmp",
    "fragmentIdentifier" : "",
    "mappingType" : "exact",
    "identifierLink" : "xmp:Identifier 2",
    "statusCode" : 200
    } 
  },
  { "Identifier" : {
    "propertyName" : "identifier",
    "value" : "xmp:Identifier 3",
    "language" : "en-us",
    "sourceFormat" : "xmp",
    "fragmentIdentifier" : "",
    "mappingType" : "exact",
    "identifierLink" : "xmp:Identifier 3",
    "statusCode" : 200
    } 
  },

Looks different to me.

Thierry

Received on Tuesday, 31 January 2012 10:58:30 UTC