A replacing of the parser is not a solution. It is not a big deal just to read and parse CSS or HTML. The most important thing is to render document layout, respecting the parsed styles and the document markup.
PD4ML HTML renderer supports “the most popular” features of HTML and CSS. And the number of the features is quite big. If you dramatically need a support for some more – just send us an HTML/CSS sample. We’ll analyze and make decision to implement the missing features or not.
Because of generic Java platform restionctions we always need to balance between feature-richness and performance.