Skip Menu |

This queue is for tickets about the XML-LibXML CPAN distribution.

Report information
The Basics
Id: 10644
Status: resolved
Worked: 20 min
Priority: 0/
Queue: XML-LibXML

Owner: pajas [...]
Requestors: samuli.karkkainen [...]

Bug Information
Severity: Normal
Broken in: 1.58
Fixed in: (no value)

Subject: setData() has no effect
Download (untitled) / with headers
text/plain 625b
Sequence $import = $doc->createProcessingInstruction("import"); $import->setData(namespace => "xforms", implementation => "#FormsPlayer"); results in toString() showing an empty element, that is <?import?>. Same with $import->setData('namespace="xforms" implementation="#FormsPlayer"'). However $import = $doc->createProcessingInstruction("import", 'namespace="xforms" implementation="#FormsPlayer"'); works correctly, creating element <?import namespace="xforms" implementation="#FormsPlayer"?> This on perl 5.8.3, latest XML::LibXML from cpan, libxml2 2.5.10 from Redhat Enterprise Linux 3 libxml2-2.5.10-7 rpm.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to