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

 


Help: OASIS Mailing Lists Help | MarkMail Help

xliff-omos message

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


Subject: Re: Are three of the 12 validation rule attributes obsolete in the spec?


Hi Robert, (sending the reply also to the TC list as it might be useful to others) I noticed that you are not working with the published version of the XLIFF 2.1 spec. Your link is for the first public reviewÂdocument that changed extensively before the final publication. This is extra relevantÂfor the ITS Module and the Change Tracing module (that was a 2.1 module in the csprd01 version but got demoted to an extension in the published version). Also there are some significantÂchanges to the Translation Candidates module and some importantÂcore fixes.. in the published version that you don't see in the csprd01 version.

For some reason, Google keeps offering the 1st public review version as the most relevant result. You need to click on the latest link on the 1st public review version to get to the published XLIFF 2.1
This is the always current link
http://docs.oasis-open.org/xliff/xliff-core/v2.1/xliff-core-v2.1.htmlÂ
and this is the static OS [final publication] link
http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/xliff-core-v2.1-os.htmlÂÂ
Â
This probably doesn't have impact in this particularÂcase but please be sure to check against the above published links.


Your reference leads to Validation module attributes that are allowed on the rule element and that didn'tÂchangeÂin the publishedÂversion.

It seems that the attributesÂ
- mustLoc
- noLoc
- occurrencesÂÂ
are orphaned (not used in or referenced from the spec body) from an earlier pre-publication version of XLIFFÂ Version 2.0 (not 2.1) I think the main reasonÂfor dropping them was their overlap with ITS features.
So feel free to delete mustLoc.xml, noLoc.xml, and occurrences.xml, from the JLIFFÂrepo.

Finally, the JLIFFÂspec needs to describe both the 2.1 and the 2.0 variants, we have JLIFFÂschema 2.0 corresponding to XLIFF 2.0 and JLIFF schema 2.1 corresponding to XLIFF 2.1

When describing the Change Tracking module for the 2.0 variant you should be checking against the publishedÂversion XLIFF 2.0
[always current]Âhttp://docs.oasis-open.org/xliff/xliff-core/v2.0/xliff-core-v2.0.htmlÂÂ
[static final publication]Âhttp://docs.oasis-open.org/xliff/xliff-core/v2.0/os/xliff-core-v2.0-os.htmlÂ
Â
As promised, in the last meeting, I am going to edit the file.xml to reflect the 2.1 and 2.0 variants. If time allows, I might do analogical edits to group and unit. But I don't think so..

Cheers and thanks
ÂÂ
-dF


On Fri, Jul 17, 2020 at 4:15 PM Dr. Robert van Engelen <engelen@genivia.com> wrote:
David,

According to:

http://docs.oasis-open.org/xliff/xliff-core/v2.1/csprd01/xliff-core-v2.1-csprd01.html#d0e17405

There are 9 possible attributes

- isPresent, OPTIONAL
- occurs, OPTIONAL
- isNotPresent, OPTIONAL
- startsWith, OPTIONAL
- endsWith, OPTIONAL
- existsInSource, OPTIONAL
- caseSensitive, OPTIONAL
- normalization, OPTIONAL
- disabled, OPTIONAL

This is currently mirrored exactly in the JLIFF 2.0 and 2.1 schemas.

But editing the Spec, I noticed these three are defined too as validation attributes:

- mustLoc
- noLoc
- occurrences

Should these be included or removed altogether?


- Robert



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