You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by Christopher Lenz <cm...@gmx.de> on 2001/07/27 00:00:08 UTC
[PATCH] WebdavMethod XML parsing
this patch does:
- Only create the DOM DocumentBuilder when the WebdavMethod actually
needs to parse XML content
- Don't store the DocumentBuilder as member, as it is only needed
once in every WebdavMethod subclass that needs XML parsing
- Return SC_BAD_REQUEST only when a SAXException occurs while parsing
the XML request, and return SC_INTERNAL_SERVER_ERROR for
ParserConfigurationException and IOException.
-chris
________________________________________________________________
cmlenz at gmx.de