Details
Description
SimpleXMLCollectijon prints debugging messages to System.err on attribute nodes. Other similar lines are commented out. Here is the patch:
--- SimpleXMLCollection.java.orig 2015-02-25 10:29:36.000000000 -0500
+++ SimpleXMLCollection.java 2015-02-25 10:29:49.000000000 -0500
@@ -169,7 +169,7 @@
{
String attributeName = (parentNodeName +
ELEMENT_ATTR_SEPARATOR + n.getNodeName()).toLowerCase();
- System.err.println("ATTRIBUTE NODE " + attributeName+" "+n.getNodeValue());
+ // System.err.println("ATTRIBUTE NODE " + attributeName+" "+n.getNodeValue());
if(DocIdIsAttribute && attributeName.equals(DocIdLocation))
ThisDocId = n.getNodeValue().replaceAll("\n","");
if(PropertiesInAttibutes && PropertyElements.containsKey(attributeName))
--- SimpleXMLCollection.java.orig 2015-02-25 10:29:36.000000000 -0500
+++ SimpleXMLCollection.java 2015-02-25 10:29:49.000000000 -0500
@@ -169,7 +169,7 @@
{
String attributeName = (parentNodeName +
ELEMENT_ATTR_SEPARATOR + n.getNodeName()).toLowerCase();
- System.err.println("ATTRIBUTE NODE " + attributeName+" "+n.getNodeValue());
+ // System.err.println("ATTRIBUTE NODE " + attributeName+" "+n.getNodeValue());
if(DocIdIsAttribute && attributeName.equals(DocIdLocation))
ThisDocId = n.getNodeValue().replaceAll("\n","");
if(PropertiesInAttibutes && PropertyElements.containsKey(attributeName))
Actually this class is chock full of println statements that should either be cleaned out or wrapped in the logger. But I don't have the patience to do that