Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] XSLT 2.1

From: Wendell Piez <wapiez@------------.--->
To: xsl-list@-----.------------.---
Date: 10/31/2008 6:45:00 PM
Hi,

At 01:21 PM 10/31/2008, you wrote:
>I know that my "true identity template" is far out but this is what we
>must do today to counter the limits of the "XQuery 1.0 and XPath 2.0
>Data Model" (XDM).
>
>But I would like to know if my common sense approach is right: if an
>XSLT stylesheet works in an XSLT processor then it could also have
>been part of the XSLT processor in the first place?
>
>That is, what I propose could have been done, but it would be a too
>clumsy road to follow?

I rather doubt that the "common sense" reasoning above is correct. 
There is too much variation among possible implementation strategies 
(now and in the future) to say generally that because one processor 
does a thing, therefore any processor should be able to do it.

Consider the specification for a system that chops onions. The pieces 
of onion must be uniform in size within certain parameters, say 
between 0.5 square cm and 2 square cm. One system employs a knife and 
cutting board to accomplish this successfully. Another works more 
like a food processor: the onions are dropped in a bin, a rotary 
knife blade is applied for a certain time, and the onions are chopped.

The manufacturer of the food processor also distributes a blender 
attachment which can make fruit smoothies. It is easily done, but 
nothing analogous can be done with the knife to accomplish the same end.

XSLT is not like either the food processor or the knife attachment: 
it's the specification of the chopped onions. What is easily 
accomplished by one XSLT (onion-chopping) implementation -- a fruit 
smoothie -- is not necessarily accomplished by another XSLT implementation.

Asking that the literal form of XML input must be respected by an 
XSLT engine and reproducible on output -- however that is defined to 
include or exclude entity references, attribute order, whitespace in 
tags, and other syntactic distinctions that are semantically opaque 
in XML qua XML -- is liable to be much easier to accomplish using 
some approaches than others, if not altogether impossible to do with 
some that may be very good at XSLT in every other respect.

Note also that this has nothing to do with how reasonable the 
requirement is to make fruit smoothies. If it's a reasonable 
requirement, it can be specified, and a technology developed to do it.

Regards,
Wendell



======================================================================
Wendell Piez                            mailto:wapiez@m...
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
   Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe@l...>
--~--



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent