You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by ji...@apache.org on 2004/04/12 23:19:55 UTC

[jira] Updated: (XERCERJ-218) Wrong error message for dateTime

The following issue has been updated:

    Updater: Serge Knystautas (mailto:sergek@lokitech.com)
       Date: Mon, 12 Apr 2004 2:18 PM
    Changes:
             Attachment changed from dterr.combined
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/XERCERJ-218?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCERJ-218

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCERJ-218
    Summary: Wrong error message for dateTime
       Type: Bug

     Status: Resolved
 Resolution: FIXED

    Project: Xerces2-J

   Assignee: Xerces-J Developers Mailing List
   Reporter: Cliff Binstock

    Created: Wed, 6 Mar 2002 1:36 AM
    Updated: Mon, 12 Apr 2004 2:18 PM
Environment: Operating System: Windows 9x
Platform: PC

Description:
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.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org