backplane-import/backplanejs — Issue #43: Empty attributes aren't included in submitted data
Author: backplane-import
Created: 2011-10-15 02:50:43+00:00
State: open

### Imported from backplanejs Google Code [issue 43](http://code.google.com/p/backplanejs/issues/detail?id=43).

Reporter
markbirbeck

Date
5 Apr 2010 5:20:29 PM UTC

Reported by Alex Sansom:

When submitting an XML instance using IE (7.0.6002.18005) node elemets
that are empty do not get included in the submitted data.

E.g., if you send:

<data xmlns=""> <currency-amount currency="GBP"
amount=""></currency-amount> </data>

Verifying via Fiddler, only:

<data xmlns=""> <currency-amount currency="GBP"></currency-
amount> </data>

gets sent to the resource you've submitted to.

Maybe it's helpful to note that if using the serialize() function with
xf:output to display the contents of an instance, empty attributes in
instance data are not shown then either.