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] An element that contains itself

> 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

[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