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 2003/12/23 11:53:34 UTC
DO NOT REPLY [Bug 25724] New: -
Inherited minLength not compatable with length facet
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=25724>.
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=25724
Inherited minLength not compatable with length facet
Summary: Inherited minLength not compatable with length facet
Product: Xerces2-J
Version: 2.6.0
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: XML Schema datatypes
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: dave-xerces@earth.li
If I have a base type with minLength of 1, and derive a type from it with length
of 5, xerces objects, saying that I can't specify both minLength and length:
lengthInherit.xsd:14:45: length-minLength-maxLength: It is an error for both
length and either of minLength or maxLength to be specified.
As mentioned on the list, this is valid with respect to the schema errata (2),
so should not raise an error.
David
[2] http://www.w3.org/2001/05/xmlschema-errata#E2-35
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org