请教高手,这是什么错误?
我使用SaxReader解析xml文件
saxReader.setEntityResolver(new PlanlistHandler());
saxReader.setErrorHandler(new PlanErrorHander());
saxReader.setMergeAdjacentText(true);
saxReader.setValidation(true);
this.document = saxReader.read(in);
验证外部dtd文件,一直报下面的错误
The markup declarations contained or pointed to by the document type declaration must be well-formed.
,请问这是什么原因。
是xml文件不匹配dtd,还是其他原因