Subject: Re: [xsl] xsltproc/LibXSLT - non-compliance? From: Michael Ludwig <mlu@xxxxxxxxxxxxx> Date: Wed, 30 Apr 2008 13:59:10 +0200 |
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:
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.
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.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsltproc/LibXSLT - non-co, Colin Adams | Thread | Re: [xsl] xsltproc/LibXSLT - non-co, Colin Adams |
Re: [xsl] [XSL] Grouping and Sum pr, Michael Ludwig | Date | Re: [xsl] xsltproc/LibXSLT - non-co, Colin Adams |
Month |