From nobody@FreeBSD.org  Tue Sep 24 03:37:23 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6009F37B401
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 24 Sep 2002 03:37:23 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1CEF143E42
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 24 Sep 2002 03:37:23 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g8OAbM7R029631
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 24 Sep 2002 03:37:22 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.6/8.12.6/Submit) id g8OAbMV3029630;
	Tue, 24 Sep 2002 03:37:22 -0700 (PDT)
Message-Id: <200209241037.g8OAbMV3029630@www.freebsd.org>
Date: Tue, 24 Sep 2002 03:37:22 -0700 (PDT)
From: Iouri Ivliev <yury@black.cat.kazan.su>
To: freebsd-gnats-submit@FreeBSD.org
Subject: disable-output-escaping attribte of xsl:value-of element doesn't work properly for html output method
X-Send-Pr-Version: www-1.0

>Number:         43325
>Category:       ports
>Synopsis:       disable-output-escaping attribte of xsl:value-of element doesn't work properly for html output method
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 24 03:40:02 PDT 2002
>Closed-Date:    Fri Nov 08 09:46:53 PST 2002
>Last-Modified:  Fri Nov 08 09:46:53 PST 2002
>Originator:     Iouri Ivliev
>Release:        4.6.2-RELEASE
>Organization:
EsterDev
>Environment:
FreeBSD shelob.anysoft.ru 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: Sat Aug 31 01:22:39 MSD 2002 root@shelob.anysoft.ru:/usr/obj/usr/src/sys/SHELOB i386
>Description:
ports installed:
  libxml2-nopython-2.4.24 Xml parser library for GNOME
  libxslt-nopython-1.0.20 The XSLT C library for GNOME
when use xsltproc utility to generate html output from xml document 
containing &lt;, &gt;, &amp;nbsp; &amp;copy; or some else element values
using xsl:value-of element with disable-output-escaping="yes" 
result contains escaped values insted nonescaped.
>How-To-Repeat:
Script:
cat >test.xml <<XML
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="test.xsl"?>
<root>&lt;</root>
XML

cat >test.xsl <<XSL
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" version="4.01" indent="no"/>
<xsl:template match="/root">
  <xsl:value-of disable-output-escaping="yes" select="."/>
  <xsl:value-of disable-output-escaping="no" select="."/>
  <xsl:text disable-output-escaping="yes">&lt;</xsl:text>
  <xsl:text disable-output-escaping="no">&lt;</xsl:text>
</xsl:template>
</xsl:stylesheet>
XSL

xsltproc test.xml

Output:
&lt;&lt;<&lt;

Should be:
<&lt;<&lt;

>Fix:
      
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->gnome 
Responsible-Changed-By: naddy 
Responsible-Changed-When: Mon Oct 7 14:31:41 PDT 2002 
Responsible-Changed-Why:  
over to maintainer group 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43325 
State-Changed-From-To: open->feedback 
State-Changed-By: marcus 
State-Changed-When: Wed Oct 9 09:16:05 PDT 2002 
State-Changed-Why:  
Is this still an issue with 2.4.25 and 1.0.21?  If so, have you reported it 
to the libxml people?  This doesn't seem like a FreeBSD-specific problem. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43325 
State-Changed-From-To: feedback->closed 
State-Changed-By: marcus 
State-Changed-When: Fri Nov 8 09:46:41 PST 2002 
State-Changed-Why:  
Timeout from submitter. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43325 
>Unformatted:
