W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2002

RE: feature request.

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Tue, 18 Jun 2002 17:54:59 +0200
Message-ID: <DFF2AC9E3583D511A21F0008C7E6210602679EED@daemsg02.software-ag.de>
To: David Carlisle <davidc@nag.co.uk>, Michael.Kay@softwareag.com
Cc: DPawson@rnib.org.uk, public-qt-comments@w3.org

You're right (sorry). There must be an <xsl:fallback/>. I was thinking of
top-level elements.

Michael Kay

> -----Original Message-----
> From: David Carlisle [mailto:davidc@nag.co.uk] 
> Sent: 18 June 2002 11:16
> To: Michael.Kay@softwareag.com
> Cc: DPawson@rnib.org.uk; public-qt-comments@w3.org
> Subject: Re: feature request.
> 
> 
> 
> > There is a neat trick you can use for this: just declare your 
> > namespace as an extension namespace.
> 
> Oh. I use this trick a lot but I always throw in an empty 
> xsl:fallback element as well I thought this was needed and 
> was surprised by your comment
> 
> > The XSLT processor is required to ignore extension 
> instructions in a 
> > namespace that it does not recognize.
> 
> the XSLT 1.0 spec seems a bit obscure here.
> 
> 14.1 says
> 
>  An XSLT processor must not signal an error merely because a 
> template  contains an extension element for which no 
> implementation is  available.
> 
> However the preceding sentence is
> 
> 
>   When such an extension element is instantiated, then the XSLT
>   processor must perform fallback for the element as specified in [15
>   Fallback]. 
> 
> and fallback says:
> 
>   if the instruction element has one or more xsl:fallback 
> children, then
>   the content of each of the xsl:fallback children must be 
> instantiated
>   in sequence; otherwise, an error must be signaled.  
> 
> I have always read this as saying if there are no 
> xsl;fallback elements then the "otherwise" clause implies 
> that an error will be signaled.
> 
> 
> David
> 
> _____________________________________________________________________
> This message has been checked for all known viruses by Star 
> Internet delivered through the MessageLabs Virus Scanning 
> Service. For further information visit 
> http://www.star.net.uk/stats.asp or > alternatively call Star 
> Internet for details on the Virus Scanning Service.
> 
Received on Tuesday, 18 June 2002 12:00:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:22 GMT