XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Philosophy of XML datatypes (was: What is an integer? (was: Re:[xml-dev] XML Quiz))

Time to break out Benacerraf and debate what numbers are :)

On Sun, Mar 26, 2023, at 3:28 PM, Roger L Costello wrote:
<num>44</num>

The value of the <num> element -- 44 -- represents an integer.

How do we know that 44 represents an integer?

Because it matches the regex [+-]?[0-9]+ and someone decided that any string matching that regex represents an integer.

So 44 is an integer?

No, integers are abstract objects and 44 is a physical object.

So 44 is not an integer?

Precisely. It is a representation of an idealized object. It is a representation of an integer.
............................
The philosophers out there, would you elaborate on this please?

/Roger


_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php





[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