Re: Enabling/improving 'follow your nose' from XML

Anne van Kesteren scripsit:

> It had not occurred to me that we can't even agree as to whether
> 
> # Content-Type:text/xml
> #
> # <test:test/>
> 
> is XML or not (I say not). Sad.

Well, yes, it is sad.  But if you say that something is "not XML"
that is plainly a well-formed XML document, then we are going to
disagree.  Humanity can't even agree that the world is round: see
<http://www.alaska.net/~clund/e_djublonskopf/Flatearthsociety.htm>.
By the same token, everything is uncontroversial until someone
controverts it, and then it becomes a subject of controversy.

It's true that your document has no infoset (by fiat) and therefore cannot
be represented using the XDM.  It's also true that some XML-consuming
applications will reject it.  But few XML-consuming applications will
accept just any and every well-formed XML document: most of them are
considerably more picky.

-- 
John Cowan  cowan@ccil.org   http://www.ccil.org/~cowan
Dievas dave dantis; Dievas duos duonos        --Lithuanian proverb
Deus dedit dentes; deus dabit panem           --Latin version thereof
Deity donated dentition;
  deity'll donate doughnuts                   --English version by Muke Tever
God gave gums; God'll give granary            --Version by Mat McVeagh

Received on Tuesday, 26 November 2013 15:00:51 UTC