Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [XML Schema 1.1] Many questions about openContent

From: "Michael Kay" <mike@--------.--->
To: "'G. Ken Holman'" <gkholman@----------------.--->, <xmlschema-dev@--.--->
Date: 5/29/2009 5:23:00 PM
> >Surely specifications can be written to be both easy to 
> understand and precise. No?
> 
> I doubt it.  I tried in earlier revisions of OASIS CVA files 
> and the editors hacked away a lot of the English because it 
> was distracting, imprecise and there were possible 
> interpretations of the English that would have been contradictory.

We (the editors of specs) all try to find the right balance between
readability and unambiguity. Part of the art is knowing what you can take as
read. It's easy to get this wrong. In writing the XPath 1.0 specification,
for example, James Clark didn't think it necessary to state that the sum of
an empty set was zero. This led to a challenge during the development of
XQuery, where at least one person thought that the sum of an empty set
should be an empty set, because that's the closest equivalent to what it is
in SQL; and an argument that this would be backwards incompatible could then
be rebutted by pointing out that the XPath 1.0 specification didn't make any
statement on the matter. James wrote highly readable (and very short) specs,
but there have been many cases discovered where they don't clearly say what
happens in all edge cases.

When readers or reviewers of a specification point out an ambiguity or
omission, the editor has no choice but to fix it. When they point out that
the spec is difficult to read, it's not immediately obvious how to respond.
So the pressure on editors is always to make the language less ambiguous
rather than to make it more readable.

I don't claim that XSD has the balance right - it is, even by the standards
of software specifications, a very tough read. But that's a better fault
than ambiguity or imcompleteness.

Fortunately, if the specification is popular, there are usually people who
will write books and tutorials about it, which are much more accessible to
the average user than the official specification.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent