RE: Question on https://github.com/finnle/ITS-2.0-Testsuite/pull/22/

Yes, xml:id makes no sense here, we should replace it with something like ref in both <par> and <legalnotice> and the rules.

 

It seems to be the case for most files in the xml tests for Provenance.

 

-ys

 

From: Felix Sasaki [mailto:fsasaki@w3.org] 
Sent: Wednesday, August 21, 2013 8:13 AM
To: Multilingual Web LT-TESTS Public
Subject: Question on https://github.com/finnle/ITS-2.0-Testsuite/pull/22/

 

Hi all,

see 
https://github.com/finnle/ITS-2.0-Testsuite/pull/22/
and the proposed change at
https://github.com/garfieldnate/ITS-2.0-Testsuite/commit/1417ef0408876a0bc525d1e9b51c5e5b7c016197
garfieldnate is right about xml:id. I am just wondering whether xml:id is the right attribute here. Or should the file (relevent
part below) rather look like this?


<its:rules version="2.0">
    <its:provRule selector="/text/body/par"
      provenanceRecordsRefPointer="@ref"/>
    <its:provRule selector="/text/body/legalnotice"
      provenanceRecordsRefPointer="@ref"/>
  </its:rules>
  <title>Translation Revision Provenance Agent: Global Test in XML</title>
  <body>
    <par ref="#pr1"> This paragraph was translated from the machine.</par>
    <legalnotice ref="#pr2">This text was
      translated directly by a person.</legalnotice>
  </body>

Best,

Felix

Received on Wednesday, 21 August 2013 06:34:16 UTC