Re: Mappings update for XPath

Thanks for the info, Jean-Pierre. I have updated the mapping tables
accordingly, see attachment.

Regards, Felix

2010/9/28 Evain, Jean-Pierre <evain@ebu.ch>

>  Dear Felix,
>
>
>
> For EBUCore what was in bracket were examples.
>
>
>
> The namespaces are for the latest versions of EBUCore and TV-Anytime:
>
>
>
> EBUCore: "urn:ebu:metadata-schema:ebuCore_2010"
>
> TVA: "urn:tva:metadata:2010"
>
>
>
> Regards,
>
>
>
> Jean-Pierre
>
>
>
> *From:* public-media-annotation-request@w3.org [mailto:
> public-media-annotation-request@w3.org] *On Behalf Of *Felix Sasaki
> *Sent:* mardi, 28. septembre 2010 16:45
> *To:* public-media-annotation
> *Subject:* Mappings update for XPath
>
>
>
> Hello all,
>
> I have finished my action item ACTION-288 on XPath 1.0 expressions, see the
> attached zip file. Below are some comments, including questions - please
> check. I cannot commit to the server at the moment - Thierry, could you do
> that for me? See the attached zip file.
>
> - I used relative location paths
> http://www.w3.org/TR/xpath/#NT-RelativeLocationPath . Often it is not
> clear what the starting point for the expressions is (document root or
> somewhere else?), so using the relative location path seems save to me.
>
> - I used single quotes for values, e.g. @DESCRIPTION='Image Creator'
>
> - I kept capitalization "as is", e.g.
> METADATA/IPR/IPR_NAMES/IPR_PERSON[@DESCRIPTION='Image Creator'] . Format
> owners, please check whether that is appropriate.
>
> - I used small letter "or" as a separator between xpath expressions, since
> the literal sequence "or" is part of xpath spec
> http://www.w3.org/TR/xpath/#NT-OrExpr
> same for "and" http://www.w3.org/TR/xpath/#NT-AndExpr
>
> - I replaced "AND" in examples like
>
> METADATA/BASIC_IMAGE_INFO/IMAGE_SIZE/HEIGHT
> AND
> METADATA/BASIC_IMAGE_INFO/IMAGE_SIZE/WIDTH
>
> with "or" since "or" is inclusive in XPath, and I think that is the desired
> intention.
>
> - EBUCore and TVA: could someone tell me the namespace URIs? The mapping
> tables just mention the prefixes.
>
> - I could (again in EBUCore) not make sense of expressions like
> EBUCoreMain/coreMetadata/type/objectType/@typeLabel (collection, string)
> EBUCoreMain/coreMetadata/type/objectType/@typeLink (collection, anyURI)
> and I just deleted the part in the brackets ().
>
> Regards, Felix.
>

Received on Tuesday, 28 September 2010 16:09:24 UTC