RE: Stange Behavior <xsl:text>

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 UTC