OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] ANN: White Paper - "Using OWL to Avoid Syntactic Rigor Mo

[ Lists Home | Date Index | Thread Index ]

From: "Uche Ogbuji" <uche.ogbuji@fourthought.com>

> Hmm.  But that means 3 passes are required overall: preprocess, compile and 
> execute.  This seems a bit much.  It would seem that a pipeline within the 
> stylesheet (using exslt:node-set) or dynamic sub-expressions (dyn:evaluate) 
> are a sensible practicality here.

But schemas are small, and (if using XSLT in some general purpose language)
it only needs to be done once per schema: the runtime performance for
validating the instances is not affected.  I think runtime performance will
be dominated by XPath and tree-creation efficiency, in any case. 

For processing where the compiled schema is not cached, the cost of the
extra pass may be ameliorated by the decrease in size of the schema. 
On the other hand, to do abstract patterns properly, probably we have
to return schematron back to allowing any information item as the
context element (Schematron 1.5 restricted it to elements only).

Rick Jelliffe


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS