W3C home > Mailing lists > Public > public-media-annotation@w3.org > January 2012

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

From: Thierry Michel <tmichel@w3.org>
Date: Tue, 31 Jan 2012 11:57:59 +0100
Message-ID: <4F27C937.9000103@w3.org>
To: Felix Sasaki <fsasaki@w3.org>, Florian Stegmaier <stegmai@dimis.fim.uni-passau.de>, "public-media-annotation@w3.org" <public-media-annotation@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 31 January 2012 10:58:30 GMT