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] Schema style and parser performance

[ Lists Home | Date Index | Thread Index ]
  • To: xml-dev@lists.xml.org
  • Subject: Re: [xml-dev] Schema style and parser performance
  • From: Richard Tobin <richard@cogsci.ed.ac.uk>
  • Date: Thu, 1 May 2003 15:12:13 +0100 (BST)
  • Cc:
  • In-reply-to: <195d01c30f5d$26f19e90$1401a8c0@snobird>
  • Organization: HCRC, University of Edinburgh

>If validating and converting the schema to internal form is a large part of
>validation cost, would transformations that "flatten" a schema make a
>significant difference?
...
>I am thinking of things like
>flattening type derivations, putting the contents of included schemas
>inline, etc.

Certainly type derivation is one of the most complicated parts of
schema compilation, but I don't know whether it's expensive in CPU
time.  XSV is full of inefficiencies, and when we've profiled it it
has usually turned out that lots of the time is spent in some piece of
code written without any thought for efficiency, or some idiom that
turns out to be expensive in Python.  I've never profiled a schema
validator written with efficiency as an important goal.

-- Richard




 

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

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