Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re^4: Vertical Tab (\x0b) in XML::LibXML

by choroba (Chancellor)
on Jul 25, 2014 at 08:42 UTC ( #1095008=note: print w/replies, xml ) Need Help??

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;


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

    I am me I am

    #!/usr/bin/perl -- use warnings; use strict; use XML::LibXML; print join "\n", XML::LibXML::LIBXML_DOTTED_VERSION(), XML::LibXML::LIBXML_VERSION(), XML::LibXML::LIBXML_RUNTIME_VERSION(), $XML::LibXML::VERSION, ;;;; my $doc = 'XML::LibXML::Document'->createDocument('1.0', 'utf-8'); $doc->setDocumentElement(my $root = $doc->createElement('root')); $root->appendText("\x0b"); print $doc->toString; __END__ 2.9.0 20900 20900 2.0014<?xml version="1.0" encoding="utf-8"?> <root> </root>

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1095008]
talexb admires the shimmering pool after an enjoyable hour-long All Hands meeting spent listening with one ear and reading Perlmonks with the other .. ear.
[talexb]: Used all my votes during that meeting .. been a while since I've done that. Now, back to work. Good localtime, monks!
[Corion]: talexb: You enjoyed the All Hands meeting in the pool?!
[Corion]: I understand "surfing" in the pool ;)
[talexb]: Corion I admired the pool .. I wasn't .. soaking in it. ;)

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (12)
As of 2017-07-20 15:07 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (304 votes). Check out past polls.