<html><head></head><body class="ApplePlainTextBody" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br>* Lars Heuer<br><blockquote type="cite"><br></blockquote><blockquote type="cite">Now I wonder if it is wise to derive the datatype from xsd:integer<br></blockquote><blockquote type="cite">since xsd:integer has an infinite value range. What value should<br></blockquote><blockquote type="cite">ctm-integer have? Infinity +1?<br></blockquote><br>Infinity is sufficient, I believe. :)<br><br>Seriously: the only requirement we have is that the value must compare as bigger than any specific integer. So infinity would do nicely.<br><br><blockquote type="cite">Wouldn't it be more logical to derive from xsd:int and set the value<br></blockquote><blockquote type="cite">of ctm-integer to xsd:int's maxInclusive +1?<br></blockquote><br>There isn't really any way to do that in XML Schema that I'm aware of. XML Schema doesn't much involve itself with the value space, and deals almost exclusively with the lexical space instead.<br><br>Look here: http://www.w3.org/TR/xmlschema-2/#union-datatypes<br><br>It's the equivalent of what we want, except that they use the token "unbounded" instead of "*". Nothing is said (that I can see) about what the value of "unbounded" might be.<br><br><blockquote type="cite">Or has ctm-integer no explicit value, just the notation "*"?<br></blockquote><br>I think so.<br><br><div id="AppleMailSignature">--Lars M.<br>http://www.garshol.priv.no/tmphoto/<br>http://www.garshol.priv.no/blog/<br></div><br></body></html>