An bug in XSV or Xerces ?

Given the following test case, XSV and Xerces seems to have
different results.  A specific issue is whether
       <tInstant2>2000-10-02T21:00:00</tInstant2>
is valid or not?

Please cc to me because I'm not on the list!

Thx,

-Stanley


<?xml version="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
               targetNamespace="http://www.oracleschema.org/datatypes"
               xmlns:catd = "http://www.oracleschema.org/datatypes"
               elementFormDefault="qualified">
<simpleType name="myType">
  <restriction base="gMonthDay">
     <minInclusive value="--10-03"/>
     <maxInclusive value="--10-05"/>
  </restriction>
</simpleType>

<simpleType name="myType1">
  <restriction base="gMonthDay">
     <minInclusive value="--10-03Z"/>
     <maxInclusive value="--10-05Z"/>
  </restriction>
</simpleType>

<simpleType name="myType2">
  <restriction base="dateTime">
     <minInclusive value="2000-10-03T11:00:00Z"/>
     <maxInclusive value="2000-10-30T11:00:02Z"/>
  </restriction>
</simpleType>

<element name="builtInTypes">
  <complexType>
   <sequence>
    <element name="tInstant" type="catd:myType" maxOccurs="unbounded"/>
    <element name="tInstant1" type="catd:myType1" maxOccurs="unbounded"/>
    <element name="tInstant2" type="catd:myType2" maxOccurs="unbounded"/>
   </sequence>
  </complexType>
</element>



</schema>


<?xml version="1.0"?>
<builtInTypes xmlns ="http://www.oracleschema.org/datatypes"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://www.oracleschema.org/datatypes
3127030_1.xsd" >

    <tInstant>--10-03</tInstant>
    <tInstant>--10-05</tInstant>
    <tInstant>--10-03Z</tInstant>
    <tInstant1>--10-03Z</tInstant1>
    <tInstant1>--10-05Z</tInstant1>
    <tInstant1>--10-03</tInstant1>

    <tInstant2>2000-10-04T11:00:00Z</tInstant2>
    <tInstant2>2000-10-29T21:00:00Z</tInstant2>
    <tInstant2>2000-10-03T11:00:00Z</tInstant2>
    <tInstant2>2000-10-04T11:00:00</tInstant2>
    <tInstant2>2000-10-29T21:00:00</tInstant2>
    <tInstant2>2000-10-02T21:00:00</tInstant2>
    <tInstant2>2000-10-02T20:00:00</tInstant2>
</builtInTypes>

Received on Friday, 5 September 2003 17:22:53 UTC