Re: SAXBuilder dtd location
Victor Toni <[email protected]>
| Newsgroups | gmane.comp.java.jdom.general |
|---|---|
| Message-ID | <[email protected]> |
Hello Bernd, On 03.07.2009 21:01, Bernd Müller wrote: > I try to build documents with the SAXBuilder with turned on > validation. I have a bunch of xml-documents that are spread through > various sub folders. Therefore, I want the SAXBuilder to look at a > given position for the dtd. How do I tell the SAXBuilder where to find > the dtd? The way to go would be to implement the EntityResolver interface: http://java.sun.com/j2se/1.5.0/docs/api/org/xml/sax/EntityResolver.html For a more info see: http://www.ibm.com/developerworks/library/x-tipent.html Kindest regards, Victor _______________________________________________ To control your jdom-interest membership: http://www.jdom.org/mailman/options/jdom-interest/[email protected]