DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6894>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6894

Wrong error message for dateTime

           Summary: Wrong error message for dateTime
           Product: Xerces2-J
           Version: 2.0.0
          Platform: PC
        OS/Version: Windows 9x
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: XML Schema datatypes
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I had in my schema THE ADMITTEDLY INVALID:

<xsd:element name="demoDateTime">
    
<xsd:simpleType>
        <xsd:restriction base="xsd:dateTime">
            <xsd:minInclusive 
value="1970-01-01Z"/>
            <xsd:maxInclusive value="2050-12-31Z"/>
        </xsd:restriction>
    
</xsd:simpleType>
</xsd:element>

The slightly confusing thing was that I got back 
an
error message *twice* that said that 'maxInclusive'
did not fit the value 
space:

[Error] built-in.xsd:68:21: FacetValueFromBase: Value '2050-12-31' of facet 
'max
Inclusive' must from the value space of the base type.
[Error] built-in.xsd:68:21: 
FacetValueFromBase: Value '2050-12-31' of facet 'max
Inclusive' must from the value space of 
the base type.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to