#55 XMLReader to output ignorableWhitespace where possible

open
nobody
None
5
2007-03-11
2007-03-11
Trejkaz
No

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.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks