請教高手,這是什麼錯誤?

perfectwxj發表於2007-02-26
我使用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,還是其他原因

相關文章