replace string restriction with xs:boolean in csv-options.xsd

Bug #925133 reported by Cezar Andrei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
Medium
Daniel Turcanu

Bug Description

csv-options.xsd contains these attribute definitions:

    <attribute name="ignore-foreign-input" default="false">
      <simpleType>
        <restriction base="string">
          <pattern value="true|false"/>
        </restriction>
      </simpleType>
    </attribute>
    <attribute name="accept-all-lines" default="false">
      <simpleType>
        <restriction base="string">
          <pattern value="true|false"/>
        </restriction>
      </simpleType>
    </attribute>

What is the reason it was defined using a string restriction and not xs:boolean?

Like this:

    <attribute name="ignore-foreign-input" type="xs:boolean" default="false"/>
    <attribute name="accept-all-lines" type="xs:boolean" default="false"/>

Related branches

Revision history for this message
Cezar Andrei (cezar-andrei) wrote :

Not 100% backwards compatible in the schema sense but previous instances should still be valid.

Changed in zorba:
status: New → Fix Committed
milestone: none → 2.2
Changed in zorba:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.