OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xliff message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: CTR test suite files


Hi,

Still trying to figure out what is correctly invalid/valid in the CTR test suite. Here is another note:

For Bad-ctr-property-not-legit-category.xlf I think the error is incorrect and (once corrected for the multiple <changeTrack>
presence) the file is actually correct:

Here is the unit:

      <unit id="1">
         <ctr:changeTrack>
            <ctr:revisions appliesTo="note" currentVersion="r1" ref="n1">
               <ctr:revision author="Bob"
datetime="2013-07-16T10:30:00+8:00" version="r1">
                  <ctr:item property="content">The translation should be formal</ctr:item>
                  <ctr:item property="category">instruction</ctr:item>
               </ctr:revision>
               <ctr:revision author="Bob"
datetime="2013-05-16T10:30:00+8:00" version="r2">
                  <ctr:item property="content">The translation should be informal</ctr:item>
                  <ctr:item property="category">comment</ctr:item>
                  <ctr:item property="category">tangerine</ctr:item><!--
5.6.5.6 property
MUST be either content to signify the content of an element, or the name of the attribute relating to the revision data.
--><!-- violation not a legit category -->
               </ctr:revision>
            </ctr:revisions>
         </ctr:changeTrack>
         <notes>
            <note category="instruction" id="n1">The translation should be formal</note>
            <note category="comment" id="n2">Please Review my translation</note>
         </notes>
         <segment>
            <source>Hello World</source>
            <target>Guten Tag Welt</target>
         </segment>
      </unit>

The comment says:

<ctr:item property="category">tangerine</ctr:item> 
<!-- 5.6.5.6 property MUST be either content to signify the content of an element,
or the name of the attribute relating to the revision data.
Violation not a legit category -->

But 5.6.5.6 refers to the value of property, not the value the attribute it points to. So in this case the note does have a category
attribute (which happens to have a correct value as well). So there is nothing wrong with: <ctr:item
property="category">tangerine</ctr:item>

It would be invalid if you had: <ctr:item property="tangerine">whatever</ctr:item> because 'tangerine' is not an attribute of the
note.

To be frank: I wonder how one can really implement some of the validations for the change tracking module. Some, like 5.6.5.6 seem
very difficult to do. There is also the case of how to represent something that is deleted: looking at
Bad-ctr_property-not-content-or-valid-attribute-ref.xlf one cannot refer to deleted attribute for example. So how we do that?

Cheers,
-yves




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]