xsl-list
[Top] [All Lists]

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

2014-06-18 12:21:23
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(_at_)saxonica(_dot_)com
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 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(_at_)saxonica(_dot_)com
+44 (0118) 946 5893


--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>