Tempore 18:44:18, die 02/10/2005 AD, hinc in
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com scripsit Michael Kay <mike(_at_)saxonica(_dot_)com>:
Actually, using xsl:element name="{EXPR}" with a bad element name is
defined in the spec to be a recoverable error, and the recovery action
is exactly as you describe.
Really? What a coincidence...
But it's implementation-dependent whether a product reports
the error or takes the recovery action, and in my view this is one of
those errors that really ought to be fatal.
I never took a good look at it, but IMHO I think the idea of letting the
implementation decide what to do with xsl errors is rather bizar. It
should at least be controllable.
Use conditional logic in your stylesheet, it's a much better solution.
If You say so, I'll have to resign...:)
regards,
--
Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041)
Vincit omnia simplicitas
Keep it simple
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--