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 bu...@apache.org on 2002/03/12 00:40:31 UTC
DO NOT REPLY [Bug 7039] New: -
Typo in facet error message
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: xerces-j-dev@xml.apache.org
ReportedBy: binstock@pacifier.net
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: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org