php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #52470 XSLTProcessor allows only import/include of one XSL stylshet
Submitted: 2010-07-28 14:22 UTC Modified: 2013-12-02 11:44 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: borislavmaric at boro dot org Assigned:
Status: Open Package: XSLT related
PHP Version: Irrelevant OS: Linux/Unix
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: borislavmaric at boro dot org
New email:
PHP Version: OS:

 

 [2010-07-28 14:22 UTC] borislavmaric at boro dot org
Description:
------------
When procesing one XSLT stylesheet that try to import multiple XSTL stylesheets
displays only the last one.

Test script:
---------------
$xslDoc = new DOMDocument();
$xslDoc->load("XML/index.xsl");

$xmlDoc = new DOMDocument();
$xmlDoc->load("XML/index.xml");

$proc = new XSLTProcessor();
$proc->importStylesheet($xslDoc);
echo $proc->transformToXML($xmlDoc);

Expected result:
----------------
to import more then one XSLT stylesheet

Actual result:
--------------
display only the last XSLT stylesheet

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-12-02 11:44 UTC] mike@php.net
-Type: Bug +Type: Feature/Change Request
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 17:01:32 2024 UTC