I am trying to parse some XML that uses namespace elements without declaring them.  This is from a service I do not control, so I can not fix the source.

Is there a way to tell the DocumentBuilder a default namespace?  Much like the XPathCompiler#declareNamespace("xxx", "http://path/to/xxx/");

My other option is to read the stream into a string and then find the right place to drop in the text so that saxon can read -- but I would like to avoid that

The current error is:

Error on line 1 column 114 

  SXXP0003: Error reported by XML parser: The prefix "xxx" for element "xxx:numhits" is not bound.