[jdom-interest] Parsing HTML elements

Paul Libbrecht paul at hoplahup.net
Tue Nov 20 08:33:42 PST 2012


Hello JDOm experts,

I'm hitting a wall here and I am not sure who is responsible.
Just like the previous series of post, I am trying to parse an HTML document.
In this case I use the CyberNeko HTML parser http://nekohtml.sourceforge.net/ which creates a SAX stream hence is easily convertible to a JDOM document.

Now, my big issue is that the document I have (which I cannot easily change right now) contains undeclared namespace-prefixed attribute-names!

Do I have a way to predefine the namespace somewhere?

thanks in advance

Paul


More information about the jdom-interest mailing list