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

Re: New XSL Optimization

Subject: Re: New XSL Optimization
From: "Simon St.Laurent" <simonstl@xxxxxxxxxxxx>
Date: Fri, 25 Jun 1999 15:41:12 -0400
xslt consecutive transformations
At 02:55 PM 6/25/99 -0400, Jonathan Borden wrote:
>    This is an excellent article and raises several important issues. One
>that struck me is in regards to the question of validating transforms, e.g.
>that the result of an HTML -> HTML transform is valid against the HTML DTD.
>Paul notes that because such transforms are frequently carried out via
>turing complete general purpose languages, that such validation is
>impossible. I wonder what the effect of being side-effect free has on the
>ability to determine whether a result set conforms to a schema? Agreed,
>since XSL is "Turing complete" it is not possible to determine the general
>correctness of XSL programs, for example whether such programs will have
>infinite loops etc. Might it be possible to verify a restricted set of
>conditions?

Validating transforms was part of the motivation that drove me to write
"Toward A Layered Model for XML" (  )  It seems like being able to validate
transformed or composed documents (whatever mechanism was used) against a
schema without having to serialize the internal structure back to an XML
document and reparsing would be a good idea.  So far, I haven't seen a
validator that reads a SAX or DOM input and compares it to a DTD, and
haven't had time to write my own.

You ask a tougher question about being able to validate results through
checking the XSLT itself - that, I suspect is a _lot_ more difficult, even
if you have the schema of the original document to be transformed.  (Run it
through multiple consecutive transformations and it could get even more
interesting.)

Simon St.Laurent
XML: A Primer / Building XML Applications
Inside XML DTDs: Scientific and Technical (July)
Sharing Bandwidth / Cookies
http://www.simonstl.com


 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.