Daniel Lemire's blog

, 1 min read

Using XPath in Java without loading the external DTD

2 thoughts on “Using XPath in Java without loading the external DTD”

  1. Whether or not you validate is not the same as loading the external DTD or not. Doing as you suggest will still result in Java trying to load the external DTD.

  2. Anonymous says:

    Read the API: you just need an

    dbfact.setValidating(false);