Re: [xml] xmlTextWriterSetIndent and significant whitespace

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

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

is a bug,


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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