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: [OASIS Issue Tracker] (XLIFF-46) type for srcLang and trgLang not declared in the core xsd


    [ https://issues.oasis-open.org/browse/XLIFF-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=65670#comment-65670 ] 

Soroush Saadatfar commented on XLIFF-46:
----------------------------------------

The xsd is now updated and the attributes are of "language" type to conform to  RFC 3066. However, in order to validate their values against BCP 47 in Schematron, the schema must use XPath 3.0 (currently on 2.0) to be able to express appropriate regex for BCP 47. Our version of ISO Schematron doesn't yet support and reference XPath 3.0.

> type for srcLang and trgLang not declared in the core xsd
> ---------------------------------------------------------
>
>                 Key: XLIFF-46
>                 URL: https://issues.oasis-open.org/browse/XLIFF-46
>             Project: OASIS XML Localisation Interchange File Format (XLIFF) TC
>          Issue Type: Bug
>          Components: other, validation artifacts
>    Affects Versions: 2.1_csprd02
>         Environment: http://markmail.org/thread/rwrux7w4q27isk5i
>            Reporter: David Filip
>            Assignee: Soroush Saadatfar
>            Priority: Critical
>              Labels: AdoptionBlocker, Approved, material, work_required
>             Fix For: 2.1_csprd03
>
>
> When editing an XLIFF file by hand I realized that file
> <xliff version="2.1" xmlns="urn:oasis:names:tc:xliff:document:2.0"
> srcLang="" trgLang="">
>     <file id="f1">
>         <unit id="u1">
>             <segment id="s1">
>                 <source>test</source>
>                 <target>test</target>
>             </segment>
>         </unit>
>     </file>
> </xliff>
> does not report any error when validated against schemas. Note the
> *srcLang="" trgLang=""*.
> The root cause seems to be in xliff_core_2.0.xsd:
> <xs:attribute name="srcLang" use="required"/>
> <xs:attribute name="trgLang" use="optional"/>
> where type is not defined.



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


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