From:             maximgb at is-a dot ru
Operating system: windows xp sp2
PHP version:      5.1.2
PHP Bug Type:     XSLT related
Bug description:  Importing xsl:output breaks encoding attribute value

Description:
------------
I have two stylesheets first one with xsl:output tag only, where
method="XML" and encoding="windows-1251", second one which imports the
first one and where all other templates are stored. When I use <xsl:import
href='first.xsl' /> then all russian characters after transformation become
XML entities, when I use <xsl:include href="first.xsl' /> then everything
is ok.

All XML files involved in transformation has following xml declaration
<?xml version="1.0" encoding="windows-1251"?>


-- 
Edit bug report at http://bugs.php.net/?id=36244&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=36244&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=36244&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=36244&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=36244&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=36244&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=36244&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=36244&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=36244&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=36244&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=36244&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=36244&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=36244&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=36244&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=36244&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=36244&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=36244&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=36244&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=36244&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=36244&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=36244&r=mysqlcfg

Reply via email to