W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2011

Re: Classroom critique of XML Schema 1.1

From: Andrew Welch <andrew.j.welch@gmail.com>
Date: Sat, 19 Mar 2011 16:58:14 +0000
Message-ID: <AANLkTimW4q_TUK_zxawgqAe6TFPomi-UB0CGhWCqDQmG@mail.gmail.com>
To: "Costello, Roger L." <costello@mitre.org>
Cc: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
> B.      The "look down" restriction on <assert> can be circumvented by making heavy use of inheritable attributes in ancestor elements.
>
..
>
> In XPath, I can establish a context node anywhere in the tree and navigate along any axis, including the ancestor axis.

Don't forget that XSD can stream xml to validate it, hence the 'look
down' restriction.  Full XPath requires the whole document in memory.


-- 
Andrew Welch
http://andrewjwelch.com
Received on Saturday, 19 March 2011 16:58:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 19 March 2011 16:58:47 GMT