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 652766 - Output should not include extraneous newlines when indent is off
Output should not include extraneous newlines when indent is off
Status: RESOLVED FIXED
Product: libxslt
Classification: Platform
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2011-06-16 17:58 UTC by Laurence Rowe
Modified: 2012-08-16 13:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make newlines conditional on indent="on" (2.75 KB, patch)
2011-06-16 17:59 UTC, Laurence Rowe
none Details | Review

Description Laurence Rowe 2011-06-16 17:58:12 UTC
The output from xsltSaveResultTo currently adds extra newlines at the root even when indent="off". The attached patch makes these conditional, matching behaviour of xmlSaveOption XML_SAVE_FORMAT off).
Comment 1 Laurence Rowe 2011-06-16 17:59:28 UTC
Created attachment 190065 [details] [review]
Make newlines conditional on indent="on"
Comment 2 Daniel Veillard 2012-08-16 13:27:05 UTC
Okay, that looks fine, it just disturb on text in libxslt regression and
after looking that looks okay, pushed:
http://git.gnome.org/browse/libxslt/commit/?id=1eae5e8cbcad26415fe229885244316387bc15d9


  thanks a lot !

Daniel