W3C home > Mailing lists > Public > xsl-editors@w3.org > July to September 1999

Re: extension-element-available()

From: James Clark <jjc@jclark.com>
Date: Thu, 30 Sep 1999 08:57:42 +0700
Message-ID: <37F2C396.7422B5C4@jclark.com>
To: Kay Michael <Michael.Kay@icl.com>
CC: "'xsl-editors@w3.org'" <xsl-editors@w3.org>
Kay Michael wrote:
> What should the extension-element-available() function return if an
> implementation of the named extension element exists, but cannot be used in
> the current context because the namespace prefix is not declared in the
> [xsl:]extension-element-prefixes attribute of any enclosing element?
> The current spec suggests "true",


> but usability considerations suggest
> "false", since if the extension-element is actually used in that context it
> will be interpreted as a literal result element rather than reverting to the
> xsl:fallback behaviour.

It depends.  I might do:

<!ATTLIST xt:document
  xsl:extension-element-prefixes NMTOKEN #FIXED "xt"

Received on Wednesday, 29 September 1999 22:31:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:17 UTC