[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] XSLT 3.0: Question about the meaning of

Subject: [xsl] XSLT 3.0: Question about the meaning of <xsl:modetyped="unspecified"/>
From: "Dimitre Novatchev dnovatchev@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 30 Dec 2014 02:48:38 -0000

 The 2nd Last Call of the W3C XSLT 3.0 specification lists the
attributes of the <xsl:mode> declaration and their possible values.

In Section "6.6.1 Declaring Modes"
(http://www.w3.org/TR/2014/WD-xslt-30-20141002/#declaring-modes), the
possible values of the "typed" attribute are enumerated as:

   typed? = boolean | "strict" | "lax" | "unspecified"

Here it is also said that the default value for this attribute is "unspecified".

These values are discussed in section "6.6.3 Declaring the Type of
Nodes Processed by a Mode"

It is explained what the two possible Boolean values mean, and that
the values  "strict" and "lax" imply the Boolean true() and add some
nuances to it.

However, there is no mention of the default value "unspecified" and
thus it is not known what this value exactly means.

My question is:

  What is the meaning of the value "unspecified" of the "typed"
attribute of <xsl:mode> and how it is different from specifying the
Boolean value false() ("no", 0 or "false").

Have I missed an existing description of this, or does such
description need to be added?

Dimitre Novatchev

Current Thread