Re: Classroom critique of XML Schema 1.1

> 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 UTC