W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2007

RE: block="substitution"

From: Michael Kay <mike@saxonica.com>
Date: Fri, 26 Jan 2007 08:52:17 -0000
To: "'C. M. Sperberg-McQueen'" <cmsmcq@acm.org>, "'Zafar Abbas'" <Zafar.Abbas@microsoft.com>
Cc: <xmlschema-dev@w3.org>
Message-ID: <004101c74127$49cd26a0$6401a8c0@turtle>

> There were some WG members, when this design was proposed, who
> ventured to suggest that readers and users might find it a little
> confusing.  But those with more robust faith in the patience and
> ability of the reader to navigate arbitrarily subtle 
> distinctions ended by carrying the day.

This particular reader (of the spec) can follow the byzantine logic. But he
can't work out how to construct an implementation that will generate an
error message that will tell the poor user what on earth is going on.

Fortunately, I have yet to meet a real user who defines substitution groups
and then blocks their use, so perhaps the problem will never arise. 

Or perhaps it will just become one of those half-true cybermyths: "don't use
block, I tried it once and it didn't work".

Michael Kay
http://www.saxonica.com/
Received on Friday, 26 January 2007 08:52:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:57 GMT