Re: [xml] xmllint --noblanks will not strip ignoreable whitespaces

On Thu, May 16, 2002 at 12:49:04PM +0200, Christian Glahn wrote:

i found this problem with libxml2 2.4.21 and did not try if it was introduced
with older versions:

when calling xmllint --noblanks it will not strip ignoreable whitespaces.

if seems "xmlKeepBlanksDefaultValue" is simply ignored on any parsing 
process, since either setting this variable directly or by using 

  Sorry, I can't reproduce this !

paphio:~/XML -> /usr/bin/xmllint tst.xml
<?xml version="1.0"?>
paphio:~/XML -> /usr/bin/xmllint --noblanks tst.xml
<?xml version="1.0"?>
paphio:~/XML -> /usr/bin/xmllint --version
xmllint: using libxml version 20421
paphio:~/XML ->


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]