in reply to Re^3: Vertical Tab (\x0b) in XML::LibXML
in thread Vertical Tab (\x0b) in XML::LibXML
#!/usr/bin/perl use warnings; use strict; use XML::LibXML; my $doc = 'XML::LibXML::Document'->createDocument('1.0', 'utf-8'); $doc->setDocumentElement(my $root = $doc->createElement('root')); $root->appendText("\x0b"); print $doc->toString;
Output:
<?xml version="1.0" encoding="utf-8"?> <root> </root>
No errors, no warnings. Maybe a different version of the underlying C library?
Update: Thanks anonymous. 2.9.1, 2.0018 here.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Vertical Tab (\x0b) in XML::LibXML
by Anonymous Monk on Jul 25, 2014 at 08:51 UTC |