diff options
Diffstat (limited to 'testing/src')
-rw-r--r-- | testing/src/org/aspectj/testing/xml/AjcSpecXmlReader.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/testing/src/org/aspectj/testing/xml/AjcSpecXmlReader.java b/testing/src/org/aspectj/testing/xml/AjcSpecXmlReader.java index 28912a026..8e13e5778 100644 --- a/testing/src/org/aspectj/testing/xml/AjcSpecXmlReader.java +++ b/testing/src/org/aspectj/testing/xml/AjcSpecXmlReader.java @@ -471,14 +471,17 @@ public class AjcSpecXmlReader { String publicId, String systemId) throws SAXException { + InputSource result = null; if ((null != systemId) && systemId.endsWith(NAME)) { String path = getPath(systemId); if (null != path) { - return new InputSource(path); + result = new InputSource(path); + result.setSystemId(path); + result.setPublicId(path); } } - return null; + return result; } } } |