With DOXIA-204 we could also add a SinkEventAttributes parameter to the text() event and get underscores using a style attribute 'style="text-decoration: underline"'.Would this be sufficient or do you need explicit sink events?
This means that all text decorations would not have sink events anymore but would be text() event parameters. I think I like it.
Actually wikimodel does something similar with WikiFormat in http://wikimodel.googlecode.com/svn/trunk/org.wikimodel.wem/src/main/java/org/wikimodel/wem/IWemListener.java
The only thing I'd like to have is some helper methods so that as a user of the API I don't have to do any parsing at all to know the style of a text block and also maybe to set it.
Done in r635929, using DOXIA-204.