This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSL lint?
- From: "James Fuller" <james dot fuller at o-idev dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 26 Jun 2002 18:40:16 +0100
- Subject: Re: [xsl] XSL lint?
- Organization: o-iDeveloper ltd.
- References: <6C86AF4F34A0D2119BDE0090272A6DCCB083AC@CHARLIE>
- Reply-to: xsl-list at lists dot mulberrytech dot com
one could write a schema or schematron for xslt
cheers, jim fuller
----- Original Message -----
From: "Bill Cohagan" <bill.cohagan@teraquest.com>
To: <xsl-list@lists.mulberrytech.com>
Sent: Wednesday, June 26, 2002 5:43 PM
Subject: [xsl] XSL lint?
> Has anyone written a "lint" utility for XSL? Our group has noticed that
> there is a set of common errors that aren't actually syntax errors, thus
> aren't caught by the processor. These "silent" errors lead to much
> frustration and gnashing of teeth.
>
> For example, have you ever done
>
> <xsl-value-of ...> rather than <xsl:value-of ...> ??
>
> How about forgetting the "$" in a variable reference (resulting in XSL
> interpreting as an element reference with the current context)?
>
> There are of course others, but these examples show the kind of thing I'm
> talking about. Some of course would be more difficult than others to
> "detect" with a lint type transform.
>
> Anyway, I was about to put this project on my "to-do" list, but thought
I'd
> see if anyone else might have already tackled the job.
>
> Regards,
> Bill
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list