I am trying to use javax.xml.parsers.SAXParser to parse an XML document. It is OK until the XML document tries to use SYSTEM entities to reference another XML document. You know the idea: - ]> ... &foo; ... Here's the existing parsing code: - Reader in = _file.getReader(); SAXParser parser = getParserFactory().newSAXParser(); parser.parse(new InputSource(in), this); ...