XML : Java .compare on xml string

I need to handle massively a xml file. I search for a opening tag ("<object" in this case) comparing with line from xml file. My software found a match in this line: "xsi:schemaLocation="http://schemas.oracle.com/bpel/faultpolicy xsd/fault-bindings.xsd""
( with 60 as return value). i can't understand why. Someone can help?
Here is where it found a match:

          if(line.compareTo(OBJECT_START)>=0)    

No comments:

Post a Comment