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)



X-Y-GMX-Trusted: 0
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.5 required=8.0 tests=BAYES_00,FORGED_RCVD_HELO,SPF_PASS
X-Mailer: Forte Agent 3.3/32.846
Received-SPF: pass (x1.develooper.com: domain of derhoermi [...] gmx.net designates 213.165.64.20 as permitted sender)
X-Authenticated: #723575
content-type: text/plain; charset="utf-8"
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 7882E4D80B6 for <bug-xml-xpath [...] rt.cpan.org>; Sun, 8 Oct 2006 07:21:39 -0400 (EDT)
Received: (qmail 31584 invoked by alias); 8 Oct 2006 11:21:38 -0000
Received: from mail.gmx.de (HELO mail.gmx.net) (213.165.64.20) by la.mx.develooper.com (qpsmtpd/0.28) with SMTP; Sun, 08 Oct 2006 04:21:33 -0700
Received: (qmail invoked by alias); 08 Oct 2006 11:21:24 -0000
Received: from dslb-084-056-247-045.pools.arcor-ip.net (EHLO hive) [84.56.247.45] by mail.gmx.net (mp034) with SMTP; 08 Oct 2006 13:21:24 +0200
Delivered-To: cpan-bug+xml-xpath [...] diesel.bestpractical.com
Subject: Step::as_xml fails for processing-instruction()
Return-Path: <derhoermi [...] gmx.net>
X-Original-To: bug-xml-xpath [...] rt.cpan.org
X-Spam-Check-BY: la.mx.develooper.com
Date: Sun, 08 Oct 2006 13:21:29 +0200
Message-Id: <sknhi2le5frrgvs4kmkmcljvbu1v7ka59b [...] hive.bjoern.hoehrmann.de>
To: bug-xml-xpath [...] rt.cpan.org
Content-Transfer-Encoding: 8bit
From: Bjoern Hoehrmann <derhoermi [...] gmx.net>
X-RT-Original-Encoding: ISO-8859-1
Content-Length: 746
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.