Re: Proposed EXPath module: resource collections

> 
> If schema is provided, how would schema versioning be handled?  

I didn't really think that one through, but I believe some XML database systems have a notion of document type related to the schema that documents conform to, and where they do, it would obviously make a useful selector. For unparsed documents in filestore, one can also imagine a "pre-parse" that looks only at the first few hundred bytes of the file to see if there is a DOCTYPE or XSD schema reference, and use that to filter out irrelevant documents before doing a complete parse. The name or namespace of the outermost element could serve in a similar way.

Michael Kay
Saxonica

Received on Tuesday, 17 February 2015 21:13:16 UTC