Re: [xsl] Re: Creating a XSL to return the input

Subject: Re: [xsl] Re: Creating a XSL to return the input
From: Daniel Veillard <daniel@xxxxxxxxxxxx>
Date: Tue, 4 Mar 2003 23:57:17 +0100
On Tue, Mar 04, 2003 at 10:45:16PM +0100, Dimitre Novatchev wrote:
> This is not so difficult even to guess -- once you know that this is the
> "identity transformation".
> 
> Identity is identity -- it must copy everything.
>
> It seems to me that an XSLT processor that does not perform correctly the
> identity transform (no offense, but this is difficult to believe)
> demonstrates a complete lack of any testing...

  Thanks, that's a very useful comment.
In general libxml2 and libxslt tries to adhere to standards as I understand
them, and fix them when bugs are reported.
  The "identity transformation" is NOT defined as an identity function
but a side effect of the definition of XPath and XSLT and assuming that
the XSLt processor provides serialization.
It will not do identity for all the items possibly present in the
initial infoset or serailization and not represented by the 
XPath data model. If you want a list I can gather one for your instruction.
  You're IMHO both wrong and a bit pedant :-)

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@xxxxxxxxxx  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread