David Helder wrote:
Charlie,
It turns out isn't a legal character reference in XML 1.0 (see
section 4.1). It would be nice if libxml warned or raised an error, but
that's more of a libxml issue, not a ruby-libxml issue.
Ah good. Ok, will scratch that one off the list. Has the encoding sw
Charlie,
It turns out isn't a legal character reference in XML 1.0 (see
section 4.1). It would be nice if libxml warned or raised an error,
but that's more of a libxml issue, not a ruby-libxml issue.
David
On Nov 19, 2008, at 12:23 AM, Charlie Savage wrote:
I see the same thing. Its ha
Hi David,
I'm trying to input and output special characters, but I'm getting parse
errors from libxml.
Code snippet:
node = LibXML::XML::Node.new 'node'
node.content = ''
doc = LibXML::XML::Document.new
doc.encoding = 'UTF-8'
doc.root = node
xml
I'm trying to input and output special characters, but I'm getting
parse errors from libxml.
Code snippet:
node = LibXML::XML::Node.new 'node'
node.content = ''
doc = LibXML::XML::Document.new
doc.encoding = 'UTF-8'
doc.root = node
xml = doc.to_s