W3C home > Mailing lists > Public > public-media-annotation@w3.org > September 2010

Mappings update for XPath

From: Felix Sasaki <felix.sasaki@fh-potsdam.de>
Date: Tue, 28 Sep 2010 16:45:00 +0200
Message-ID: <AANLkTim8jRvr0pD=P=hqZddo6cdcHNn0bOfmggDomrfW@mail.gmail.com>
To: public-media-annotation <public-media-annotation@w3.org>
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 14:45:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 28 September 2010 14:45:48 GMT