Skip Menu |

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

Report information
The Basics
Id: 21955
Status: new
Priority: 0/
Queue: XML-XPath

Owner: Nobody in particular
Requestors: derhoermi [...]

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

Subject: Step::as_xml fails for processing-instruction()
Date: Sun, 08 Oct 2006 13:21:29 +0200
To: bug-xml-xpath [...]
From: Bjoern Hoehrmann <derhoermi [...]>
Download (untitled) / with headers
text/plain 746b
Hi, The expression 'processing-instruction()' cannot currently be serialized by Step::as_xml as it uses if ($self->{literal}->value) { which will fail as 'literal' is not defined in this case. For e.g. 'processing-instruction("xml-stylesheet")' it would also make more sense to serialize this as <LocationPath> <Step> <Axis>child</Axis> <Test><processing-instruction> <Literal>xml-stylesheet</Literal> </processing-instruction></Test> </Step> </LocationPath> instead of simply ...'xml-stylesheet'... -- Björn Höhrmann · · Weinh. Str. 22 · Telefon: +49(0)621/4309674 · 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 ·

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

Please report any issues with to