Worked around a bug in how PhantomJS handles the XMLNS namespace.