[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Blowout

  • From: Rick Jelliffe <ricko@a...>
  • To: xml-dev@l...
  • Date: Sat, 03 Feb 2001 19:22:19 +0800

blowout
I was thinking, in the light of James' recent valuable comments that it
would be interesting to get some benchmarks of validating with different
schema languages.

However, of course, we can only benchmark implementations not languages (see
http://lists.w3.org/Archives/Public/xmlschema-dev/2000Dec/0158.html for an
interesting example of an innocent schema that causes FSM
explosions--however this can be optimized away) so I am wondering how to
avoid comparing apples with oranges.  Anyone have any ideas?

I think the goal of attempting to benchmark implementations of different
schema languages must be initially to identify pathological cases that
implementors should look out for and structures that schema schema-writers
in the particular language or implementation should avoid. In other words,
whether a schema takes 1 second or 10 normally is not so important, but
whether there are structures or conditions that will make it blow out to 100
seconds or 1000 is important.

But now it occurs to me that perhaps there are some basic questions we can
ask (of a schema implementer or language designer) which may give a head
start in the absense of benchmarking:

 - Are there any innocent-looking structures that explode (or may explode)
(perhaps this is the same as asking are there any constructs which, when
used, may have more than an O(n) effect on performance) and what are the
workarounds (e.g. in XML Schemas case, to detect unbounded particles in
unbounded choice groups) ?

 - How is schema evaluation affected by a slow network or unavailable
websites
(e.g. to use local caching, to give a user option to progress with
validation as far as possible even if some components are missing, etc.) ?


Cheers
Rick Jelliffe


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.