XMLReader to output ignorableWhitespace where possible
Brought to you by:
derrickoswald
It would be good if when text is just whitespace in an area where text usually can't occur, it were output as an ignorableWhitespace() instead of a characters() SAX event.
It's only a nice-to-have but to be realistic, it's probably hard to implement because it requires the XMLReader to be able to determine whether the space between two given tags can contain "real" text or not. For instance between </p> and <p> any whitespace can be considered ignorable, whereas between </b> and <b> this is not the case.