Re: Classroom critique of XML Schema 1.1
Andrew Welch <[email protected]>
| Newsgroups | gmane.text.xml.schema.devel |
|---|---|
| Message-ID | <[email protected]> |
> 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