Permalink
Browse files

Fix issue #226 by making the p: namespace implicit and removing the b…

…ogus source input
  • Loading branch information...
ndw committed Sep 22, 2015
1 parent ccee04e commit 98356000049eb85da6f30702ee3a74b130f77302
Showing with 3 additions and 6 deletions.
  1. +3 −6 src/main/java/com/xmlcalabash/util/UserArgs.java
@@ -627,12 +627,6 @@ public XdmNode getImplicitPipeline(XProcRuntime runtime) throws IOException {
tree.addAttribute(new QName("version"), "1.0");
tree.startContent();
tree.addStartElement(p_input);
tree.addAttribute(new QName("port"), "source");
tree.addAttribute(new QName("sequence"), "true");
tree.startContent();
tree.addEndElement();
tree.addStartElement(p_input);
tree.addAttribute(new QName("port"), "parameters");
tree.addAttribute(new QName("kind"), "parameter");
@@ -902,6 +896,9 @@ public void checkArgs() {
}
stepName = makeQName(plainStepName);
if ("".equals(stepName.getNamespaceURI())) {
stepName = new QName("p", "http://www.w3.org/ns/xproc", stepName.getLocalName());
}
options.clear();
for (Entry<String, String> plainOption : plainOptions.entrySet()) {

0 comments on commit 9835600

Please sign in to comment.