W3C home > Mailing lists > Public > public-multilingualweb-lt@w3.org > June 2012

Re: ISSUE 9: idValue

From: Maxime Lefrançois <maxime.lefrancois@inria.fr>
Date: Wed, 13 Jun 2012 10:25:33 +0200 (CEST)
To: Yves Savourel <ysavourel@enlaso.com>
Cc: public-multilingualweb-lt@w3.org
Message-ID: <1560707859.5724991.1339575933050.JavaMail.root@inria.fr>
Hi Yves, 

I might not fully understand all the needs/implicatures of the idValue, nor how that would work in practice exactly,
I suggest you have a look at the definition of the prov:hadOriginalSource relation there: http://www.w3.org/TR/2012/WD-prov-dm-20120503/#term-original-source

This relation could be used to link the str:String Entity of the output to the str:String Entity in the original document.
 - This is orthogonal to any other data category, 
 - This don't replace the possibility to apply the best practice that consists in giving the same local id than in the original document.

Maxime.

----- Mail original -----
> De: "Yves Savourel" <ysavourel@enlaso.com>
> À: public-multilingualweb-lt@w3.org
> Envoyé: Mercredi 13 Juin 2012 10:01:42
> Objet: ISSUE 9: idValue
> 
> Hi all,
> 
> To follow up on the possible idValue feature:
> 
> I may not completely understand how PROV works yet, but it seems to
> me this would apply to store the id after it has been extracted.
> 
> So whether or not it's used in the output, it wouldn't change the
> need for an ITS rule for indicating how to acquire the ID values
> from original documents where you have existing IDs.
> 
> I also think this should be its own data category rather than an
> attribute in the translateRule (as the current extension proposal)
> because application may need to use the feature without using the
> Translate data category (for example with the Terminology data
> category).
> 
> We would have for example:
> 
> <?xml version="1.0"?>
> <messages>
>  <its:rules version="2.0" xmlns:its="http://www.w3.org/2005/11/its">
>   <its:idValueRule selector="//msg" idValue="@num"/>
>  </its:rules>
>  <msg num="123">Some text for ID 123</msg>
> </messages>
> 
> The local attribute xml:id would override the global rule, the same
> way xml:lang is the local attribute for the Language Information
> data category.
> 
> Cheers,
> -yves
> 
> 
> 
>
Received on Wednesday, 13 June 2012 08:26:07 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 9 June 2013 00:24:56 UTC