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 567192 - --output option makes xsltproc ignore --xinclude
--output option makes xsltproc ignore --xinclude
Status: RESOLVED FIXED
Product: libxslt
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2009-01-09 19:38 UTC by Joachim Breitner
Modified: 2009-08-23 13:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Possible fix (808 bytes, patch)
2009-01-09 19:39 UTC, Joachim Breitner
none Details | Review

Description Joachim Breitner 2009-01-09 19:38:12 UTC
As reported on http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497585:

Hi,

I was about to pull out my hair trying to debug some strangenss with
xinclude in my XML files when I finally discoverd this bug:

xsltproc does honour --xinclude only when it outputs its result to
stdout, _not_ when sending it somewhere using --output.

The attached patch fixes this. Please consider applying it for the next
upload.

The code paths of xsltproc with and without --output seem to differ
quite a lot, there might be more problems hidden.

Greetings,
Joachim

BTW: The --xincludestyle parameter is not documented in the manpage.
Comment 1 Joachim Breitner 2009-01-09 19:39:21 UTC
Created attachment 126136 [details] [review]
Possible fix
Comment 2 Daniel Veillard 2009-08-23 13:00:05 UTC
Makes sense, it also needed to pass parser flags, applied and commited,

  thanks !

Daniel