Re: [xml] xmlTextWriterSetIndent and significant whitespace



Hi,

On Sun, 2004-01-04 at 15:46, Daniel Veillard wrote:
On Sun, Jan 04, 2004 at 03:40:57PM +0100, Christian Persch wrote:
  <element>TEST  </element>
[...]
Note the extra whitespace after "TEST".

Is this the intended behaviour or a bug in xmlWriter indentation
implementation?

  I would think that obtaining this as the result of
           xmlTextWriterStartElement (writer, "element");
         xmlTextWriterWriteString (writer, "TEST");
         xmlTextWriterEndElement (writer); /* element */

is a bug,

Thanks. I've filed it as
http://bugzilla.gnome.org/show_bug.cgi?id=130513.

Regards,
        Christian




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]