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=7039>.
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=7039

Typo in facet error message

           Summary: Typo in facet error message
           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 accidentally used "dateTime", instead of
"date" in the following element 
type:

<xsd:element name="demoDate">
    <xsd:annotation>
        <xsd:documentation 
xml:lang="en">
            Require a time zone.
        </xsd:documentation>
    </xsd:annotation>
    
<xsd:simpleType>
        <xsd:restriction base="xsd:dateTime">
            <xsd:minInclusive 
value="1970-01-01Z"/>
            <xsd:maxExclusive value="2051-01-01Z"/>
            <xsd:pattern 
value=".*Z"/>
            <xsd:pattern value=".*-[0-9][0-9]:[0-9][0-9].*"/>
        </xsd:restriction>
    
</xsd:simpleType>
</xsd:element>

The error message says:

[Error] built-
in.xsd:125:21: FacetValueFromBase: Value '2051-01-01Z' of facet 'maxExclusive' must 
from the 
value space of the base type.

Note that it should say "must be from" or some such.

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

Reply via email to