Skip Menu |

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

Report information
The Basics
Id: 38675
Status: resolved
Priority: 0/
Queue: XML-Compile

People
Owner: Nobody in particular
Requestors: allan [...] goldbamboo.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.93-raw
Fixed in: (no value)



Subject: Spaces are stripped from token data type
I am interfacing with a service that returns a token with the following value: <responseMessage xmlns="...">REJECTED - Duplicate Lead</responseMessage> however when I access it through the API it has no spaces: $result->{parameters}{responseMessage} eq 'REJECTED-DuplicateLead' I am wondering if the problem is that Schema/BuiltInTypes.pm should define _collapse along these lines instead: sub _collapse { $_ = $_[0]; s/^\s+//; s/\s+$//; s/(\s)$1+/$1/g; $_ };
Got fixed in 0.94. Thanks for your contributions