now handles document('')

This commit is contained in:
jez 2007-08-24 08:51:31 +00:00
parent 9a6a8e0a9c
commit 9d70b5c1c0

View file

@ -158,9 +158,6 @@ public:
private:
Arabica::XPath::XPathValue<std::string>* load_document(const std::string& location) const
{
if(location.empty())
throw Arabica::XPath::UnsupportedException("document('')");
SAX2DOM::Parser<std::string> domParser;
SAX::CatchErrorHandler<std::string> eh;
domParser.setErrorHandler(eh);