I am having to parse a lot of XML files contained in zip files. It would be handy to have the following methods to create an XML document from an InputStream:
XmlDocument (InputStream const *);
static XmlElement* parse (InputStream const *);
I currently call readString on the InputStream from ZipFile::createStreamForEntry and pass it XmlDocument::parse but I think it could be more efficient without the intermediate step.