Re: [xslt] Abort processing unknown variables inside translation



In message <3BBEAF0A.E802D5B0@mail1.stofanet.dk>
          Bjorn Reese <breese@mail1.stofanet.dk> wrote:

> Justin Fletcher wrote:
>
> > runtime error: file test.xsl line 7 element value-of
> > unregistered variable one
>
> Line 7 in test.xsl:
>
>   <xsl:value-of select="translate('hello','ABCDE',$one)" />
>
> $one is used without being declared, so it appears to be an error in the
> stylesheet.

I know; my point was that it caused an abort - I don't mind it failing
on such things, but aborting is generally pretty bad.

-- 
Gerph {djf0-.3w6e2w2.226,6q6w2q2,2.3,2m4}
URL: http://www.movspclr.co.uk/
... Eyes to the heavens, screaming at the sky;
    Trying to send you messages, but choking on goodbye.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]