public interface XMLReporter
void report(String message, String errorType, Object relatedInformation, Location location) throws XMLStreamException
message - 错误信息
errorType - 实现定义的错误类型
relatedInformation - 与错误相关的信息(如果有)
location - 错误的位置(如果有)
XMLStreamException