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

"1." shouldn't be a valid xs:integer





------- Additional Comments From [EMAIL PROTECTED]  2001-10-26 06:53 -------
This is an interesting issue; I believe it points out an inconsistency in the 
XML Schema:  Datatypes recommendation.

According to 3.3.13 [1], "integer is �derived� from decimal by fixing the value 
of �fractionDigits� to be 0."  But a decimal with fractionDigits of 0 can still 
have a trailing decimal point (at least, that's my reading of 3.2.3.1 [2]).  
However, the Lexical representation in 3.3.13.1 [3] doesn't mention a trailing 
decimal point.

Does 3.3.13.1 describe an additional pattern facet that must also be applied, 
or is 3.3.13 intended to be a complete description with 3.3.13.1 being a 
supplement?  According to 3.3 [4], "the complete definitions of the �built-in�  
�derived� datatypes are provided in Appendix A."  But the definition for 
integer that appears in the Schema for Datatype Definitions in Appendix A [5] 
does not prohibit a trailing decimal point from appearing on an integer value.  
So my guess is that 3.3.13.1 is in error, but that's just a guess.  I'll submit 
a question to the "Schema comments" mailing list.

[1] http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#integer
[2] http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#decimal-lexical-
representation
[3] http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#integer-lexical-
representation
[4] http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#built-in-derived
[5] http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#schema

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

Reply via email to