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

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

From: Florian Stegmaier <stegmai@dimis.fim.uni-passau.de>
Date: Tue, 31 Jan 2012 12:27:11 +0100
Cc: Felix Sasaki <fsasaki@w3.org>, "public-media-annotation@w3.org" <public-media-annotation@w3.org>
Message-Id: <894A2C6D-1BB0-4CC6-9CD6-8299C7AB92A6@dimis.fim.uni-passau.de>
To: tmichel@w3.org
Hi Thierry,

yes, i have already told you that this is is a relict before our decision to use the RDF data set as basis. Please use the attached version of the JSON instead. In any case, the information of the RDF shall be reflected in the JSON.

Are there also difficulties because of *-a/*-b test cases?

Cheers.


_____________________________
Dipl. Inf. Florian Stegmaier
Chair of Distributed Information Systems
University of Passau
Innstr. 43
94032 Passau

Room 248 ITZ

Tel.: +49 851 509 3063
Fax: +49 851 509 3062

stegmai@dimis.fim.uni-passau.de
https://www.dimis.fim.uni-passau.de/iris/
http://twitter.com/fstegmai
_____________________________

Am 31.01.2012 um 11:57 schrieb Thierry Michel:

> 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 11:27:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 31 January 2012 11:27:45 GMT