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

People
Owner: Nobody in particular
Requestors: derhoermi [...] gmx.net
Cc:
AdminCc:

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 [...] rt.cpan.org
From: Bjoern Hoehrmann <derhoermi [...] gmx.net>
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 · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.