OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why Are Schemas Hard?



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")