Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Java
saxparser ignore <!doctype> line
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="SnooPac, post: 595971"] Try setting, explicitly: Although i havent done this exactly, I did check factory.isValidating() and it was already set to false. [URL]http://www.saxproject.org/apidoc/org/xml/sax/package-summary.html#package_description[/URL] Thanks for the list. From that page, I tried factory.setFeature("resolve-dtd-uris", false); but from that i got the exception: org.xml.sax.SAXNotRecognizedException: Feature: resolve-dtd-uris So it doesnt look like my jdk's (sun 1.4.2 i believe) matches whats in that webpage you sent :) Anyway, I dont really know if (or think that) setting "resolve-dtd-uris" to false would have helped anyway, but it looked like the closest thing to what I wanted. Thanks though. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Java
saxparser ignore <!doctype> line
Top