W3C home > Mailing lists > Public > xproc-dev@w3.org > July 2011

RE: Stange Behavior <xsl:text>

From: <vojtech.toman@emc.com>
Date: Mon, 4 Jul 2011 01:51:58 -0400
To: <xproc-dev@w3.org>
Message-ID: <3799D0FD120AD940B731A37E36DAF3FE33D948B293@MX20A.corp.emc.com>
Betty,

The problem is, I believe, that the disable-output-escaping applies to the serialization of the XSLT result tree, which is completely unrelated to serialization in XProc. I think the disable-output-escaping attribute is never used because the p:xslt step is (typically) not serializing in an XProc pipeline, and because the XProc processor then serializes the data in its own way. (Also note that the p:serialization functionality available in XProc does not allow you to control output escaping.)

Regards,
Vojtech



--
Vojtech Toman
Consultant Software Engineer
EMC | Information Intelligence Group
vojtech.toman@emc.com
http://developer.emc.com/xmltech

> -----Original Message-----
> From: xproc-dev-request@w3.org [mailto:xproc-dev-request@w3.org] On
> Behalf Of Betty Harvey
> Sent: Saturday, July 02, 2011 7:20 PM
> To: xproc-dev@w3.org
> Subject: Stange Behavior <xsl:text>
> 
> When running XProc (Calabash) the following does not work when doing an
> transformation XSLT:
> 
>  <xsl:text disable-output-escaping='yes'>&lt;</xsl:text>
> 
> the output is '&lt;' but running the XSLT in standalone mode the output
> is as expected '>'.
> 
> Is this a bug or a feature.
> 
> TIA!
> 
> Betty
> 
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
> Betty Harvey                         | Phone:  410-787-9200  FAX: 9830
> Electronic Commerce Connection, Inc. |
> harvey@eccnet.com                    | Washington,DC XML Users Grp
> URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
> Member of XML Guild (www.xmlguild.org)
> 
Received on Monday, 4 July 2011 05:53:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 4 July 2011 05:53:52 GMT