Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 9835600
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/main/java/com/xmlcalabash/util/UserArgs.java
Expand Up @@ -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");
Expand Down Expand Up @@ -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()) {
Expand Down

0 comments on commit 9835600

Please sign in to comment.