Skip Menu |

This queue is for tickets about the SOAP-Lite CPAN distribution.

Report information
The Basics
Id: 23829
Status: resolved
Priority: 0/
Queue: SOAP-Lite

People
Owner: Nobody in particular
Requestors: frantisekb [...] roamsecure.net
Cc:
AdminCc:

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



Subject: SOAP::Lite bug
Date: Wed, 6 Dec 2006 13:23:34 -0500
To: <bug-SOAP-Lite [...] rt.cpan.org>
From: "Frantisek Brabec" <frantisekb [...] roamsecure.net>
Download smime.p7s
application/x-pkcs7-signature 3k

Message body not shown because it is not plain text.

Download image001.gif
image/gif 2.5k
image001.gif
As of v0.69, SOAP::Lite does not encode content of anyURI fields. They can however contain characters that need to be encoded such as ampersands (to separate parameters within the URL). The following block needs to be added into package SOAP::XMLSchema2001::Serializer (file SOAP/Lite.pm), a suitable location is (for v0.69) on line 254. sub as_anyURI { my $self = shift; my($value, $name, $type, $attr) = @_; die "String value expected instead of @{[ref $value]} reference\n" if ref $value; return [$name, {'xsi:type' => 'xsd:anyURI', %$attr}, SOAP::Utils::encode_data($value)]; } <http://www.roamsecure.net/> Frantisek Brabec, Ph.D. Chief Scientist 703.294.6768 x254 Fax: 703.294.6560 frantisekb@roamsecure.net www.roamsecure.net Setting the national standard for text alerting NOTICE: The information contained in this e-mail message is proprietary and intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the named addressee, the reader should immediately notify the sender and destroy the information transmitted without making any copy or distribution thereof. The information contained in this transmission may also be subject to a non-disclosure agreement. If so, the recipient is directed to disclose the information only to those who are bound to retain the confidentiality under provisions of the agreement. Thank you.
Duplicate of 1569418 anyURI Serialization problem (http:// sourceforge.net/tracker/ index.php?func=detail&aid=1569418&group_id=66000&atid=513017). Thanks, Martin