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

I was wondering that too.
Not sure. I suppose class could hold the URI even of the value is not a URI type.

The truth is probably that it’s unlikely that someone use a global rule with provenanceRecordsRefPointer when the attribute
its-provenance-records-ref can be used inside the document.

-ys

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

Am 21.08.13 08:35, schrieb Yves Savourel:
By the way: it looks like we have the same incorrect use of id in most of the HTML examples too.

Good point. What would be the proper replacement for the "id" attribute here - any idea? At e.g. HTML "p" you can only use id,
class, style, title, align - nothing seems to fit.

- Felix


 
-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 07:51:31 UTC