Properly handle empty data nodes (such as generated by Apple's plist editor). They are in the form of <data></data>, whereas the original code path only checked for empty being <data/>.
This causes an assert to be triggered when trying to access the node's content.
Patch reviewed by thorpej.
|