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

RE: transform optimization for a schema-constrained do

Subject: RE: transform optimization for a schema-constrained domain
From: Joerg Pietschmann <joerg.pietschmann@xxxxxx>
Date: Thu, 26 Jul 2001 17:08:03 +0200
optimization fo
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
> This kind of static type checking is very much part of the philosophy of
> XQuery. It's difficult to know where to stop, though.
...
> Then the schema is enhanced so that the condition can't exist. Is
> the query now in error?
At least you can return an empty result blindingly fast, because you
don't even have to look into the database. :-)

Again, to press my point home: A processor which would use a DTD/Schema
to catch misspelled element names and some expressions which would always
result in an empty node set because of DTD/Schema-constraints would have
saved me a lot of debugging time. I see this as a feature which could be
turned on at development time, much like tracing.

You may have noticed that this might have prevented quite a few "why is
there no output from my code?" questions on this list (assuming the guys
had a proper DTD attached...)

Are there other XSLT-users who think this could be a useful feature?
Rally to the flag! We might convince some friendly processor implementors
to implement it for us :-)

Well, asking for DTD support would probably be to much. Schemas are XML and
could probably hooked into the processors much easier, without inventing
APIs for element definition access and such stuff. So i'm willing to settle
for Schema support only :-)

Regards
J.Pietschmann
--

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.