[prev in list] [next in list] [prev in thread] [next in thread]
List: xml-dev
Subject: Re: [xml-dev] An element that contains itself
From: Michael Kay <mike () saxonica ! com>
Date: 2014-08-03 20:01:20
Message-ID: AF12F797-FBD8-4B65-BA42-D86C76708625 () saxonica ! com
[Download RAW message or body]
>
> This ENTITY declaration:
>
> <!ENTITY Set "&A; &B; &Set;">
>
> says that a Set is an element of itself.
I think you've made a fundamental error here: because you've called your entity \
"Set", you're imagining that it is a set. But that's not the case. The entity is \
merely a character string. What you have actually defined here is a character string \
that contains itself as a substring. To handle this we have to cope with infinite \
character strings, which gives us practical programming problems, but doesn't lead to \
any mathematical paradoxes. The analogy with Russell's paradox is a false one, I \
think.
>
Michael Kay
Saxonica
_______________________________________________________________________
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic