113114115116117118119120121122123
tree.addText("\n"); } } tree.addEndElement(); tree.endDocument(); result.write(tree.getResult()); } }); } catch (FileNotFoundException fnfe) {
7172737475767778798081
tree.addText(uri.toASCIIString()); performDelete(href, base, recursive, fail_on_error); tree.addEndElement(); tree.endDocument(); result.write(tree.getResult()); } private void performDelete(RuntimeValue href, String base,
89909192939495969798
} tree.addEndElement(); } tree.addEndElement(); tree.endDocument(); result.write(tree.getResult()); } }
294295296297298299300301302303304
treeWriter.addText(e.toString()); treeWriter.addEndElement(); treeWriter.addText("\n"); treeWriter.endDocument(); step.reportError(treeWriter.getResult()); if (validationException == null) { validationException = e;
336337338339340341342343344345346
115116117118119120121122123124125
tree.startDocument(step.getNode().getBaseURI()); tree.addStartElement(XProcConstants.c_result); tree.startContent(); tree.addText(id.toASCIIString()); tree.addEndElement(); tree.endDocument(); result.write(tree.getResult()); } catch (XProcException e) { throw e; } catch (Exception e) { if (e.getCause() instanceof SaxonApiException) {
67686970717273747576
} catch (IOException e) { throw new XProcException(step.getNode(), "Mkdir failed for: " + href.getString()); } tree.addEndElement(); tree.endDocument(); result.write(tree.getResult()); } }
979899100101102103104105106107
throw new XProcException(err_fu01); } else { tree.addStartElement(c_error); tree.addText("File not found"); tree.addEndElement(); tree.endDocument(); result.write(tree.getResult()); return; } }
187188189190191192193194195196197
tree.addEndElement(); } tree.addEndElement(); tree.addEndElement(); tree.endDocument(); qe.close(); result.write(tree.getResult()); }
178179180181182183184185186187188
} } } tree.addEndElement(); tree.endDocument(); result.write(tree.getResult()); } private void remapDefaultNamespace(TreeWriter tree, XdmNode unescnode) { if (unescnode.getNodeKind() == XdmNodeKind.ELEMENT) {