Donate Share

C++ Web services

Tracker: Bugs

5 Exception on xsd:dateTime restriction - ID: 2088428
Last Update: Settings changed ( vivek200120 )

Hi,

An exception is raised upon parsing when the following content is present
in a XSD file:

<xsd:simpleType name="example">
<xsd:restriction base="xsd:dateTime">
<minInclusive value="1901-01-01T00:00:00" />
<maxInclusive value="2036-12-31T23:59:59" />
</xsd:restriction>
</xsd:simpleType>

However, the following content is OK:

<xsd:simpleType name="example">
<xsd:restriction base="xsd:dateTime">
<minInclusive value="1901-01-01" />
<maxInclusive value="2036-12-31" />
</xsd:restriction>
</xsd:simpleType>

Hope this helps!

Regards,

Florian


Florian ( fponroy ) - 2008-09-02 08:10

5

Closed

None

vivek

schema parser

None

Public


Comments ( 2 )




Date: 2008-09-16 18:01
Sender: vivek200120Project AdminAccepting Donations

Fixed this..The method XmlUtils::parseInt was throwing an exception.I made
it return the value parsed so far. Ofcourse full fledged date time parsing
is not supported yet.


Date: 2008-09-02 08:13
Sender: fponroy


Sorry, i forgot to specify the version: 1.19.
I have not tried the 1.20 yet, but it haven't seen any reference to this
kind of bug in the CHANGES.txt file.


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 2 )

Field Old Value Date By
status_id Open 2008-09-16 18:14 vivek200120
close_date - 2008-09-16 18:14 vivek200120