After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 523548 - Fail to compile xsl (regression?)
Fail to compile xsl (regression?)
Status: RESOLVED NOTGNOME
Product: libxslt
Classification: Platform
Component: general
1.1.22
Other All
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2008-03-20 13:28 UTC by Daniel O
Modified: 2008-03-20 14:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel O 2008-03-20 13:28:32 UTC
Please describe the problem:
Basically, http://www.w3.org/2001/sw/grddl-wg/td/hl7-rim-to-pomr.xslt produces unexpected errors (at least in the PHP binding)

This works with

xsltproc --version
Using libxml 20630, libxslt 10122 and libexslt 813

but not PHP 5.2.6RC3 using 
XSL => enabled
libxslt Version => 1.1.22
libxslt compiled against libxml Version => 2.6.31
EXSLT => enabled
libexslt Version => 0.8.13


Steps to reproduce:
1. See http://bugs.php.net/bug.php?id=44489 for reproduce code (PHP)

Actual results:
PHP Warning:  XSLTProcessor::importStylesheet(): compilation error: file
http://www.w3.org/2001/sw/grddl-wg/td/hl7-rim-to-pomr.xslt line 179
element type in G:\work\xml_grddl\tests\bug-h17.php on line 13
PHP Warning:  XSLTProcessor::importStylesheet(): Attribute 'resource':
The content is expected to be a single text node when compiling an AVT.
in G:\work\xml_grddl\tests\bug-h17.php on line 13


Expected results:
Correct transformation created

Does this happen every time?
Yes

Other information:
Comment 1 Rob Richards 2008-03-20 14:00:40 UTC
please don't open bugs in two projects at once. And its not even reproducible using xsltproc