public Document read(URL url) throws DocumentException, IOException, XmlPullParserException {
        String systemID = url.toExternalForm();
        return read(createReader(url.openStream()), systemID);
    }
<p>Reads a Document from the given <code>URL</code></p>

@param url <code>URL</code> to read from.
@return the newly created Document instance
@throws DocumentException if an error occurs during parsing.
@throws IOException if an error occurs during reading
@throws XmlPullParserException if an error occurs creating a pull parser
xmppserver/src/main/java/org/dom4j/io/XMPPPacketReader.java