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
implementation?

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

is a bug,

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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