microsoft / XLIFF2-Object-Model

If you’re looking to store localization data and propagate it through your localization pipeline allowing tools to interoperate then you may want to use the XLIFF 2.0 object model. The XLIFF 2.0 object model implements the OASIS Standard for the XLIFF 2.0 specification as defined at http://docs.oasis-open.org/xliff/xliff-core/v2.0/xliff-core-v2.0.html.
Other
86 stars 25 forks source link

Validator shouldn't validate <sm/> tags which do not have an <em/> tag referencing them. #7

Open rabularca opened 8 years ago

rabularca commented 8 years ago

Currently, the validator wrongly validates a file which contains the following snippet:

<source>Example of an sm with <sm id="2" type="term"/> term</source>

Since we didn't see anything about this in the XLIFF 2.0 Specification, we reached out to OASIS TC and they told us this should not be validated and they will also update the specification accordingly.

Since the tag might be on another segment, I will upload the whole document in question.

MarkedSpanStart.txt

RyanKing77 commented 8 years ago

Thanks for the issue. We will discuss the issue with the OASIS TC.

RyanKing77 commented 7 years ago

The following thread from the XLIFF discussion list is relevant [(https://lists.oasis-open.org/archives/xliff/201602/msg00021.html)]. If anyone would like to contribute a fix, please do so via a pull request. Otherwise, we will evaluate and prioritize the fix as appropriate.