On Thu, Jul 20, 2000 at 06:58:34AM -0400, Nick Semenov wrote:
> the XML like this started producing an error:
>
> <option value="FL">Florida
> <xsl:attribute name="selected">selected</xsl:attribute>
> </option>
>
> An error is smth like "attempt to add attribute after the element was
> created". It was not a problem in Sablotron 3.6.
It's a fix. The XSLT specification says:
The following are all errors:
- Adding an attribute to an element after children have been added to it;
implementations may either signal the error or ignore the attribute.
(http://www.w3.org/TR/xslt#creating-attributes)
The behaviour of Sablotron 0.36 was wrong.
.robin.
--
A man, a plan, a cat, a ham, a yak, a yam, a hat, a canal--Panama!