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: XSD change


The XSD had a problem in the declaration of some elements in <bin-unit>:
The order was enforced while the specifications state it is not, but only
recommended.

It should be:

<xsd:complexType name="ElemType_bin-unit">
 <xsd:sequence>
  <xsd:element name="bin-source" type="xlf:ElemType_bin-source"/>
  <xsd:element name="bin-target" type="xlf:ElemType_bin-target"
minOccurs="0"/>
  <xsd:choice minOccurs="0" maxOccurs="unbounded">
    <xsd:element name="context-group" type="xlf:ElemType_context-group"/>
    <xsd:element name="count-group" type="xlf:ElemType_count-group"/>
    <xsd:element name="prop-group" type="xlf:ElemType_prop-group"/>
    <xsd:element name="note" type="xlf:ElemType_note"/>
    <xsd:element name="trans-unit" type="xlf:ElemType_trans-unit"/>
  </xsd:choice>
  <xsd:any namespace="##other" processContents="lax" minOccurs="0"
maxOccurs="unbounded"/>
 </xsd:sequence>
 ...

while it is currently:

<xsd:complexType name="ElemType_bin-unit">
 <xsd:sequence>
  <xsd:element name="bin-source" type="xlf:ElemType_bin-source"/>
  <xsd:element name="bin-target" type="xlf:ElemType_bin-target"
minOccurs="0"/>
  <xsd:element name="context-group" type="xlf:ElemType_context-group"
minOccurs="0" maxOccurs="unbounded"/>
  <xsd:element name="count-group" type="xlf:ElemType_count-group"
minOccurs="0" maxOccurs="unbounded"/>
  <xsd:element name="prop-group" type="xlf:ElemType_prop-group"
minOccurs="0" maxOccurs="unbounded"/>
  <xsd:element name="note" type="xlf:ElemType_note" minOccurs="0"
maxOccurs="unbounded"/>
  <xsd:element name="trans-unit" type="xlf:ElemType_trans-unit"
minOccurs="0" maxOccurs="unbounded"/>
  <xsd:any namespace="##other" processContents="lax" minOccurs="0"
maxOccurs="unbounded"/>
 </xsd:sequence>
 ...

Comments/double-checkings welcome.

I'll make that change and post the modified XSD end of the comments period.

Kenavo
-yves



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