← Prev in month ← Prev in thread
Next in thread → Next in month →

XSD change

From
Yves Savourel <>
Date
2003-09-10T14:55:53+00:00
ID
Thread
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
← Prev in month ← Prev in thread
Next in thread → Next in month →