"http://www.w3.org/2001/XMLSchema", eh);
maybeSetProperty
(sp, "http://java.sun.com/xml/jaxp/properties/schemaSource",
schemaUris(), eh);
SAXHandler sh = new SAXHandler ();
XMLFilter filter = new XmlnsUrisPatcher ();
filter.setParent(sp.getXMLReader());
filter.setContentHandler(sh);
filter.setDTDHandler(sh);
filter.setEntityResolver(sh);
filter.setErrorHandler(eh);
// build Document
filter.parse(toParse);
doc = sh.getDocument();
Element root = doc.getRootElement();
if (root == null || !root.getName().equals ("Package")
|| !root.getNamespaceURI().equals (XPDLUtil.XPDL_NS)) {
eh.add (new PrioritizedMessage