Re: [xsl] Schema-awareness and built-in types

Subject: Re: [xsl] Schema-awareness and built-in types
From: "Max Toro maxtoroq@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 18 Jun 2014 17:21:07 -0000
> A basic XSLT processor can use an XDM implementation that doesn't support type annotations on nodes (other than untyped). This means it can be built on an untyped tree model such as JDOM.

OK, so the reason is backwards compatibility with existing XDM
implementations. Besides that, assuming this issue didn't exist, would
you consider this a good feature? People who care about simple type
safety but don't really care about complex type safety could basically
forget about XSD and use their own little schema language/function to
convert an untyped tree to a type-annotated one, in pure XSLT.

--
Max Toro


On Mon, Jun 16, 2014 at 3:47 PM, Michael Kay mike@xxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> A basic XSLT processor can use an XDM implementation that doesn't support type annotations on nodes (other than untyped). This means it can be built on an untyped tree model such as JDOM.
>
> Michael Kay
> Saxonica
> mike@xxxxxxxxxxxx
> +44 (0118) 946 5893

Current Thread