diff --git a/src/main/java/com/adobe/epubcheck/xml/handlers/XMLHandler.java b/src/main/java/com/adobe/epubcheck/xml/handlers/XMLHandler.java index 6025dc587..3370723d2 100755 --- a/src/main/java/com/adobe/epubcheck/xml/handlers/XMLHandler.java +++ b/src/main/java/com/adobe/epubcheck/xml/handlers/XMLHandler.java @@ -59,6 +59,7 @@ public XMLHandler(ValidationContext context, URL baseURL) public final void setDocumentLocator(Locator locator) { this.locator = new DelegateLocator(locator); + super.setDocumentLocator(this.locator); } @Override