Closed voke closed 10 years ago
I think I agree - that should probably be a StringElement
I finally got back to thinking about this, and I think #13 (EmptyElement) should provide the ability to treat parsing results more-consistently. Let me know if you see any trouble with that solution.
Thanks for your feedback!
Suppose you read a XML file with some blank nodes:
Wouldn't it make more sense to return a StringElement with the value of nil instead of returning an empty HashElement? It won't work well with the
put_attributes_in_hash!
option but anyways.