[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why Are Schemas Hard?
- From: Evan Lenz <elenz@xyzfind.com>
- To: Eddie Robertsson <eddie@allette.com.au>,Joe English <jenglish@flightlab.com>
- Date: Sun, 26 Aug 2001 23:08:40 -0700
Eddie Robertsson wrote:
> Although, I agree that W3C XML Schema can be complex why make it worse
> than it has to be?
> The above can written as (unless there is a specific reason for
> restricting the anyType that I can't think of...):
You are restricting anyType here too. The shorthand version is just syntax
sugar. So I think it's actually easier to learn if you forget about the
abbreviated version until you know what the full syntax means, which is one
of the points made in the article[1].
Evan Lenz
XYZFind Corp.
[1] http://www.xml.com/pub/a/2001/08/22/easyschema.html (particularly the
section aptly titled "Ambushed by Abbreviation")