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

Re: xsltproc/LibXSLT - non-compliance?

Subject: Re: xsltproc/LibXSLT - non-compliance?
From: Michael Ludwig <mlu@xxxxxxxxxxxxx>
Date: Wed, 30 Apr 2008 13:59:10 +0200
Re:  xsltproc/LibXSLT - non-compliance?
Colin Adams schrieb:
On 30/04/2008, Michael Ludwig <mlu@xxxxxxxxxxxxx> wrote:
 What exactly does xsltproc's (that is: LibXSLT's) non-compliance
 (with the spec, I guess) consist in?

I don't know in full at all. Others on this list might be able to do better.

The one thing I do know is that is doesn't complain if you code
select= rather than match= on an xsl:template.

Thanks for your answer, Colin. This oddity is good to know about. Actually, xsltproc doesn't seem to complain if you add random attributes as in:

<xsl:template moin="moin" select="/">

The template is simply ignored, as it won't match anything. This may
actually bite you when you don't spot the mistake and wonder why your
output isn't as expected. So when in doubt, consult an alternative
processor. Might save a lot of time.

Not a show-stopper.

Definitely not.


I'd still be interested to know if (a) there is more to LibXSLT's
non-conformance and (b) if there is anything like a test suite in
order to determine a processor's degree of conformance.

Michael

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

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-2007 All Rights Reserved.