Skip to content
Snippets Groups Projects
Commit 0b8ed5d9 authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- temporary enabled debug output

parent e376a81e
No related branches found
No related tags found
No related merge requests found
...@@ -21,8 +21,8 @@ class ValidationCatalogResolver implements CatalogResolver { ...@@ -21,8 +21,8 @@ class ValidationCatalogResolver implements CatalogResolver {
} }
@Override @Override
public InputSource resolveEntity(String publicId, String systemId) { public InputSource resolveEntity(String publicId, String systemId) {
//System.out.println("======"); System.out.println("======");
//System.out.println("resolveEntity publicId=" + publicId + " systemId=" + systemId); System.out.println("resolveEntity publicId=" + publicId + " systemId=" + systemId);
if (catalogs.length == 0) { if (catalogs.length == 0) {
//System.out.println("No catalog given!"); //System.out.println("No catalog given!");
errors.add("No catalog given!"); errors.add("No catalog given!");
...@@ -35,7 +35,7 @@ class ValidationCatalogResolver implements CatalogResolver { ...@@ -35,7 +35,7 @@ class ValidationCatalogResolver implements CatalogResolver {
cr.setCatalogList(catalogs); cr.setCatalogList(catalogs);
result = cr.resolveEntity(publicId, systemId); result = cr.resolveEntity(publicId, systemId);
} catch (IOException | CatalogException | SAXException e) { } catch (IOException | CatalogException | SAXException e) {
//System.out.println("No mapping found for publicId=" + publicId + ", systemId=" + systemId + ", " + e.getMessage()); System.out.println("No mapping found for publicId=" + publicId + ", systemId=" + systemId + ", " + e.getMessage());
errors.add("No mapping found for publicId=" + publicId + ", systemId=" + systemId + ", " + e.getMessage()); errors.add("No mapping found for publicId=" + publicId + ", systemId=" + systemId + ", " + e.getMessage());
} }
return result; return result;
...@@ -43,23 +43,23 @@ class ValidationCatalogResolver implements CatalogResolver { ...@@ -43,23 +43,23 @@ class ValidationCatalogResolver implements CatalogResolver {
@Override @Override
public Source resolve(String href, String base) { public Source resolve(String href, String base) {
//System.out.println("======"); System.out.println("======");
//System.out.println("resolve href=" + href + " base=" + base); System.out.println("resolve href=" + href + " base=" + base);
return null; return null;
} }
@Override @Override
public InputStream resolveEntity(String publicId, String systemId, String baseUri, String nameSpace) { public InputStream resolveEntity(String publicId, String systemId, String baseUri, String nameSpace) {
//System.out.println("======"); System.out.println("======");
//System.out.println("resolveEntity2 publicId=" + publicId + " systemId=" + systemId); System.out.println("resolveEntity2 publicId=" + publicId + " systemId=" + systemId);
return null; return null;
} }
@Override @Override
public LSInput resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseUri) { public LSInput resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseUri) {
//System.out.println("======"); System.out.println("======");
//System.out.println("resolveResource publicId=" + publicId + " systemId=" + systemId); System.out.println("resolveResource publicId=" + publicId + " systemId=" + systemId);
return null; return null;
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment