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 554353 - xmlTextWriterFullEndElement doesn't indent.
xmlTextWriterFullEndElement doesn't indent.
Status: RESOLVED FIXED
Product: libxml2
Classification: Platform
Component: general
2.7.1
Other Windows
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-29 19:52 UTC by Jason Brown
Modified: 2008-12-27 13:19 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Jason Brown 2008-09-29 19:52:21 UTC
When using xmlTextWriterFullEndElement on a non-empty node, the end node tag isn't indented to the proper depth.

<?xml version="1.0"?>
<SSD version="1.0">
 <core></core><!-- Call to FullEndElement -->
 <rom>
  <code b1="78">
   <opcode>SEI</opcode>
</code><!-- Call to FullEndElement -->
  <code b1="18">
   <opcode>CLC</opcode>
</code><!-- Call to FullEndElement -->
  <code b1="FB">
   <opcode>XCE</opcode>
</code><!-- Call to FullEndElement -->
  <code b1="5C" b2="00" b3="C0" b4="FD">
   <opcode>JML</opcode>
   <operand>$FDC000</operand>
</code><!-- Call to FullEndElement -->
  <code b1="C2" b2="10">
   <opcode>REP</opcode>
   <operand>#%00010000</operand>
  </code><!-- Call to EndElement -->
 </rom>
</SSD>
Comment 1 Rob Richards 2008-12-27 13:19:42 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.