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

Re: XSLT vs Perl

Subject: Re: XSLT vs Perl
From: Adam Turoff <ziggy@xxxxxxxxx>
Date: Tue, 3 Feb 2004 13:36:10 -0500
Re:  XSLT vs Perl
On Tue, Feb 03, 2004 at 09:35:09PM +0400, David Tolpin wrote:
> In my opinion, validation of constructed elements is not a good thing
> because it does not serve to construct the result of transformation, but
> only to mark the result as valid or not; validation can be performed
> at subsequent processing steps without any loss in expressive power.

I disagree.

There is a point behind validation of the output.  With XSLT,
misbehaving stylesheets (or malformed input) can produce bizarre output
that is quite tricky to debug.  It is an art, quite unlike the usual art
of debugging.

Validating the output as it is generated makes it easier for a
stylesheet engine to identify precisely where input/templates are
misbehaving.  This feature makes it much closer to the 'error on line X'
form of debugging most of us are familiar with.

That said, I do not think this needs to be a *language* feature.
Especially when it mandates one schema language to the exclusion of all
others.  This kind of feature should be left to implementors to figure
out, not language designers to mandate.

Z.


 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.