How to parse a xhtml ignoring the DOCTYPE declaration using DOM parser
- by Rachel
Hi
I face issue parsing xhtml with DOCTYPE declaration using DOM parser.
Error: java.io.IOException: Server returned HTTP response code: 503 for URL:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd%20
Is there a way to parse the xhtml to a Document object iognoring the DOCTYPE.