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 537638 - An attribute and its value are not copied to the result tree
An attribute and its value are not copied to the result tree
Status: RESOLVED INCOMPLETE
Product: libxslt
Classification: Platform
Component: general
1.1.22
Other Windows
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-10 17:37 UTC by Russ Urquhart
Modified: 2009-01-19 08:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Russ Urquhart 2008-06-10 17:37:23 UTC
My xml file is very simple:

<?xml version='1.0'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" />
<xsl:template match="*[@filter='filter1']">
</xsl:template>
<xsl:template match="*|@*|text()">
<xsl:copy><xsl:apply-templates select="*|@*|text()"/>
</xsl:copy>
</xsl:template>


</xsl:stylesheet>

The file is very long, about 32Mb. It finds and deletes attributes having filter1 for their filter value. That works. The problem is that in other elements, it seems to be not copying over an Orientation=Standard attribute  and value.

Is this now fixed, or is there something i'm missing?

thanks!


Russ
Comment 1 William M. Brack 2008-06-12 05:42:46 UTC
Please provide a small xml file which fails in the manner you describe.
Comment 2 Christoph Wurm 2009-01-19 08:22:16 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!