Re: [libxml-devel] Strange node being created from white space

2009-02-01 Thread Charlie Savage
Regarding the use of NOBLANKS, I am actually glad it is not required (and even discouraged). I nly tried it once the initial code did not function as I expected. I cannot think of a scenario where you do want a single "\n" to become a separate node, so I think it should be default behaviour b

Re: [libxml-devel] Strange node being created from white space

2009-02-01 Thread Erik Lindblad
Charlie Savage skrev: I am experiencing some problems when constructing a document piece by piece. I have boiled downed the problem to the following code: require 'rubygems' require 'xml/libxml' # Envelope XML xml_string = %{    xmlns:soapenv="http://sche

Re: [libxml-devel] Strange node being created from white space

2009-02-01 Thread Charlie Savage
I am experiencing some problems when constructing a document piece by piece. I have boiled downed the problem to the following code: require 'rubygems' require 'xml/libxml' # Envelope XML xml_string = %{ http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"

[libxml-devel] Strange node being created from white space

2009-02-01 Thread Erik Lindblad
Hi I am experiencing some problems when constructing a document piece by piece. I have boiled downed the problem to the following code: require 'rubygems' require 'xml/libxml' # Envelope XML xml_string = %{ http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSc