Public bug reported:

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"/>

** Affects: zorba
     Importance: Medium
     Assignee: Daniel Turcanu (danielturcanu)
         Status: New

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/925133

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

Status in Zorba - The XQuery Processor:
  New

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"/>

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/925133/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to