[Home] [By Thread] [By Date] [Recent Entries]

  • From: Roger L Costello <costello@m...>
  • To: "xml-dev@l..." <xml-dev@l...>
  • Date: Sun, 26 Mar 2023 19:28:37 +0000

<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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member