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

- refactoring, renamed method printXMLinfo() to print()

parent da3bb01e
No related branches found
No related tags found
No related merge requests found
......@@ -273,7 +273,7 @@ public class SLUBXmlFormatValidationPlugin implements FormatValidationPlugin {
XmlInfoRecord info = getXMLinfo(doc);
reportDetail("detect XML type via NS:" + info.nameSpaceUri);
/* align corresponding Schema based on systemID */
info.printXMLinfo();
info.print();
if (!info.xmlVersion.equals("1.0")) {
reportError("not an expected XML 1.0 document, found " + info.xmlVersion);
} else {
......
......@@ -14,7 +14,7 @@ class XmlInfoRecord {
this.systemID = systemID;
this.publicID = publicID;
}
public void printXMLinfo() {
public void print() {
System.out.println(
"\n-------------------------------------------"
+ "\n namespaceuri= " + this.nameSpaceUri
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment