FOCUS AREAS
|
XML-DEV
|
XML.org DAILY NEWSLINK
|
REGISTRY
|
RESOURCES
|
ABOUT
OASIS Mailing List Archives
View the OASIS mailing list archive below
or browse/search using
MarkMail
.
This list only
All OASIS lists
Help:
OASIS Mailing Lists Help
|
MarkMail Help
[
Date Prev
] | [
Thread Prev
] | [
Thread Next
] | [
Date Next
] -- [
Date Index
] | [
Thread Index
]
Infinity
From
:
Michael Kay <mike@saxonica.com>
To
: XML Developers List <xml-dev@lists.xml.org>
Date
: Sat, 3 Mar 2018 09:22:10 +0000
A question of no practical relevance for those on the list who are more mathematically inclined than I am.
From XSD 1.1 part 2 §3.3.13
(a) The
·
value space
·
of
integer
is the infinite set {...,-2,-1,0,1,2,...}.
(b)
integer
has a lexical representation consisting of a finite-length sequence of decimal digits (#x30-#x39) with an optional leading sign.
So the value space is infinite, but the lexical space is finite. Or is it? Perhaps the set of finite-length strings is itself infinite?
Does every integer in this infinite set have a finite-length lexical representation? Or are there integers in the value space that have no representation in the lexical space?
Whenever I read this, I think, why is that adjective "finite-length" there? Would I have to change my software if it were removed?
Michael Kay
Saxonica
Follow-Ups
:
Re: [xml-dev] Infinity
From:
Mukul Gandhi <gandhi.mukul@gmail.com>
Re: Infinity
From:
ht@markup.co.uk (Henry S. Thompson)
Re: [xml-dev] Infinity
From:
Elliotte Rusty Harold <elharo@ibiblio.org>
[
Date Prev
] | [
Thread Prev
] | [
Thread Next
] | [
Date Next
] -- [
Date Index
] | [
Thread Index
]
News
|
XML in Industry
|
Calendar
|
XML Registry
Marketplace
|
Resources
|
MyXML.org
|
Sponsors
|
Privacy Statement
Copyright 1993-2007 XML.org. This site is hosted by
OASIS