Subject: | not generating attributes properly |
Date: | Wed, 17 Aug 2011 18:37:34 -0500 |
To: | bugs-soap-lite [...] rt.cpan.org |
From: | Caleb Cushing <xenoterracide [...] gmail.com> |
the following XML is generated by the following Dumper object dump.
I'm generating the objec itself with SOAP::Data::Builder, and to me
the object appears correct, however, the XML does not contain <item
id="2"> like I'd expect.
<item>
<unitPrice>2.01</unitPrice>
<quantity>1</quantity>
</item>
$VAR1 = bless( {
'_name' => 'item',
'_signature' => [],
'_value' => [
\bless( {
'_signature' => [],
'_value' => [
bless( {
'_name' => 'unitPrice',
'_signature' => [],
'_value' => [
'2.01'
],
'_attr' => {}
},
'SOAP::Data' ),
bless( {
'_name' => 'quantity',
'_signature' => [],
'_value' => [
1
],
'_attr' => {}
}, 'SOAP::Data' )
],
'_attr' => {}
}, 'SOAP::Data' )
],
'_attr' => {
'id' => '2'
}
}, 'SOAP::Data' );
--
Caleb Cushing
http://xenoterracide.com