【发布时间】:2011-11-25 03:32:02
【问题描述】:
我正在尝试解析 XSD 文件。解析器解析方法没有给出任何异常,但是当我使用parser.getResult() 时,它返回null。
我的 XSD 文件中有一个 Schema 节点。
XSOMParser parser = new XSOMParser();
parser.parse(new File(schemaPath)); //This runs fine
this.schemaSet = parser.getResult(); //here I get A null
有什么想法吗?
【问题讨论】: