public static Diff compareXML(String control, Reader test)
        throws SAXException, IOException {
        return new Diff(new StringReader(control), test);
    }
public static Diff compareXML ( String control , Reader test ) throws SAXException , IOException { return new Diff ( new StringReader ( control ) , test ) ; }
Compare XML documents provided by two Reader classes
@param control Control document
@param test Document to test
@return Diff object describing differences in documents
@throws SAXException
@throws IOException