Subject: RE: a bit of distraction ' quiz of XSLT 1.0 oddities'
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 2 Jan 2006 23:21:19 -0000
|
> <img>
> <height>12</height>
> <xsl:attribute name="src"><xsl:value-of
> select="some-value"/></xsl:attribute>
> </img>
>
> will not.
>
> This may seem obvious to some people, but it actually wasted a lot of
> time for us.
It's actually a "recoverable error": the processor is allowed to report it
or ignore it. Saxon will by default give you a warning here in XSLT 1.0 (it
becomes a hard error in XSLT 2.0).
Michael Kay
http://www.saxonica.com/
|