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

Re: Co-validating stylesheets?

Subject: Re: Co-validating stylesheets?
From: "Oren Ben-Kiki" <oren@xxxxxxxxxxxxx>
Date: Thu, 4 Nov 1999 08:02:13 +0200
Re: Co-validating stylesheets?
disco <disco@xxxxxxxxxxxxxxx> wrote:
> This is something I had give some thought to, and am actually quite
> curious what other people had to say about it. Obviously one DTD isn't
> powerful enough for this sort of thing, because of the explanation above.
> But the general question of "given DTD A, DTD B, and a stylesheet which
> claims to tranform instances of A into B, can the transformation be
> 'co-validated' against the source and result DTDs" is an interesting
> question...
>
> You would likely have to throw out the possibility of text nodes, but most
> other XSLT functions I can think of are deterministic and predictable in
> how they generate result tree fragments.
>
> What do people think about this?

XSLT has hit the point where it is "Turing complete" so _in general_ doing
this validation is impossible. It is possible to write a tool which will
work most of the time, and complain about specific pieces of the code where
it can't follow the code. Such a tool would be very useful, since _typical_
XSLT code would be verifiable.

I'm not aware of anyone doing any work along these lines, though.

Have fun,

    Oren Ben-Kiki


 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.