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

RE: Provenance

From: Pablo Nieto Caride <pablo.nieto@linguaserve.com>
Date: Mon, 17 Dec 2012 16:54:33 +0100
To: "'Leroy Finn'" <finnle@tcd.ie>
Cc: "'Multilingual Web LT-TESTS Public'" <public-multilingualweb-lt-tests@w3.org>
Message-ID: <041901cddc6e$cea733f0$6bf59bd0$@linguaserve.com>
Hi Leroy, Felix, all,

 

I’ve been revising the provenance test files taking into account the
Ownership of rfc2119 statements that Felix created, more concretely the
numbers 28 and 37, and neither of them are being followed.

 

On the files provenance1html, provenance2html and provenance3html the script
element that contains the standoff markup has and id that doesn’t correspond
to the id of the provenance records or the provenance pointer, besides the
spec says that is only one provenanceRecords per script lement.

<script id="its-standoff-no-2" type="application/its+xml">
<its:provenanceRecords xml:id="pr1"
xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
    
<its:provRule selector="/h:html/h:body/h:p[@id='#pr1']"
      provenanceRecordsRefPointer="@id"/>
 <p id="#pr1">

 

>From my point of view the rules of provenance1htmlrules and
provenance2htmlrules, are duplicated

 

    <its:provRule selector="/h:html/h:body/h:p[@id='#pr1']"

      provenanceRecordsRefPointer="@id"/>

    <its:provRule selector="/h:html/h:body/h:p[@id='#pr2']"

      provenanceRecordsRefPointer="@id"/>

 

There’s no need for two rules, just one like this would work:

    <its:provRule selector="/h:html/h:body/h:p[@id]"

      provenanceRecordsRefPointer="@id"/>

 

 

The first rule of provenance3htmlrules wouldn’t work according to the
elements of the file provenance3htmlrules 

   <its:param name="provenanceParam">#pr1</its:param>
    <its:provRule
selector="/h:html/h:body/h:p[@its-translation-provenance-records-ref=$proven
anceParam]"
      provenanceRecordsRefPointer="@id"/>

 

There’s no attribute id.

 

Besides there a use case that is not reflected on the examples and it’s two
provenanceRecord inside one provenanceRecords

    <script id=pr2 type=aplication/its+xml>
      <its:provenanceRecords xml:id="pr2"
xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
        <its:provenanceRecord
         person="John Doe"
         orgRef="http://www.legaltrans-ex.com/"
         provRef="http://www.examplelsp.com/excontent987/legal/prov/e6354"
         revPerson="Tommy Atkins" 
         revOrgRef="http://www.vistatec.com/" />
        <its:provenanceRecord
         revPerson="John Smith" 
         revOrgRef="http://john-smith.qa.example.com" />
        </its:provenanceRecords>
      </script>

Just like in the example 66.

 

Finally the output of provenance1htmloutput and provenance2htmloutput

/html/body[1]/p[1]     provenanceRecordsRef[1]="#pr1" provRef[1]=

 

I think that’s not correct, I think that the number inside the brackets
depends on the repeated attributes, not on the number of the element. Maybe
Yves can shine a light on this.

 

I would be more than happy to correct the files and to make up new examples
if you want. Talk to you in a bit.

 

Cheers,

Pablo.

 

Also on the issue of point 4 it seems that its:span is down for HTML in a
few other categories. I update this now.

 

Leroy

 

On 30 November 2012 14:12, Leroy Finn <finnle@tcd.ie> wrote:

Pablo,

 

This  provenance3html.html  is on my to do list and about point 4 there
should be no test for  its:span in HTML i will remove this from the Google
Doc.

 

Thanks,

Leroy

 

On 30 November 2012 13:55, Pablo Nieto Caride <pablo.nieto@linguaserve.com>
wrote:

Hey Leroy, Dom, all,

 

Some issues about the test suite HTML files of provenance:

1)      On provenance3html.html the rules link is to
provenance4htmlrules.xml that doesn’t exist.

2)      On provenance3htmlrules.xml the param value is p1 (<its:param
name="provenanceParam">p1</its:param>) when it should be pr1 according to
provenance3html.html

3)      On the files provenance1html.html, provenance2html.html and
provenance3html.html , the standoff  implementation is not correct. All the
files has a <script id="its-standoff-no-2" type="application/xml"> with
translationProvenanceRecords (now is provenanceRecords) inside, the id
its-standoff-no-2 is not correct, there should be two script elements with
ids pr1 and pr2 respectively like in the example
http://www.w3.org/International/multilingualweb/lt/drafts/its20/examples/htm
l5/EX-provenance-html5-local-2.html, the type should be application/its+xml,
like this <script id=pr1 type=application/its+xml>, otherwise you cannot
access to the nodes, in the draft there is a note about this: “In HTML the
standoff markup MUST be stored inside a script element. It MUST have a type
attribute with the value application/its+xml. Its id attribute MUST be set
to the same value as the xml:id attribute of the provenanceRecords element
it contains.”

4)      Finally on
https://docs.google.com/spreadsheet/ccc?key=0AgIk0-aoSKOadG5HQmJDT2EybWVvVC1
VbnF5alN2S3c#gid=0 the feature 3 of HTML Local - In <its:span> has no
correspondence with the file provenance3html.html that is GLOBAL with
its-param.

 

Cheers,

__________________________________

Pablo Nieto Caride

Dpto. Técnico/I+D+i

Linguaserve Internacionalización de Servicios, S.A.

Tel.: +34 91 761 64 60 ext. 0422
<tel:%2B34%2091%20761%2064%2060%20ext.%200422> 
Fax: +34 91 542 89 28 <tel:%2B34%2091%20542%2089%2028>  

E-mail:  <mailto:pablo.nieto@linguaserve.com> pablo.nieto@linguaserve.com

www.linguaserve.com <http://www.linguaserve.com/> 

 

«En cumplimiento con lo previsto con los artículos 21 y 22 de la Ley
34/2002, de 11 de julio, de Servicios de la Sociedad de Información y
Comercio Electrónico, le informamos que procederemos al archivo y
tratamiento de sus datos exclusivamente con fines de promoción de los
productos y servicios ofrecidos por LINGUASERVE INTERNACIONALIZACIÓN DE
SERVICIOS, S.A. En caso de que Vdes. no deseen que procedamos al archivo y
tratamiento de los datos proporcionados, o no deseen recibir comunicaciones
comerciales sobre los productos y servicios ofrecidos, comuníquenoslo a
clients@linguaserve.com, y su petición será inmediatamente cumplida.»

 

"According to the provisions set forth in articles 21 and 22 of Law 34/2002
of July 11 regarding Information Society and eCommerce Services, we will
store and use your personal data with the sole purpose of marketing the
products and services offered by LINGUASERVE INTERNACIONALIZACIÓN DE
SERVICIOS, S.A. If you do not wish your personal data to be stored and
handled, or you do not wish to receive further information regarding
products and services offered by our company, please e-mail us to
clients@linguaserve.com. Your request will be processed immediately.”

__________________________________

 

 
Received on Monday, 17 December 2012 15:55:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 17 December 2012 15:55:19 GMT