RE: Classroom critique of XML Schema 1.1

"Costello, Roger L." <[email protected]>
Newsgroups gmane.text.xml.schema.devel
Message-ID <[email protected]>
Hi Andrew,

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

That's an excellent point.

However, the XML Schema language should not force a schema designer to always look down just so that implementations can support streaming. If it is important for a schema designer to make use of streaming then he will design his XML Schema <assert> elements to always look down, but if streaming is not important to him then his <assert> elements should be able to look anywhere, including across documents.

/Roger
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.