From d63c74fe0f81ba2c2876db7c953dd33781be16f7 Mon Sep 17 00:00:00 2001 From: Conal Tuohy Date: Fri, 12 Dec 2014 08:03:42 +1000 Subject: [PATCH] fixed error where I'd stupidly put an absolute URI instead of a relative one --- src/com/conaltuohy/xprocz/XProcZServlet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/conaltuohy/xprocz/XProcZServlet.java b/src/com/conaltuohy/xprocz/XProcZServlet.java index eb2be21..08d863e 100644 --- a/src/com/conaltuohy/xprocz/XProcZServlet.java +++ b/src/com/conaltuohy/xprocz/XProcZServlet.java @@ -196,7 +196,7 @@ public void service(HttpServletRequest req, HttpServletResponse resp) // sending the result to the HTTP client XProcConfiguration config = new XProcConfiguration(); XProcRuntime runtime = new XProcRuntime(config); - Input input = new Input("file:///usr/src/XProc-Z/xproc/xproc-z.xpl"); + Input input = new Input("xproc/xproc-z.xpl"); XPipeline pipeline = runtime.load(input); // wrap request DOM in Saxon XdmNode XdmNode inputDocument = runtime.getProcessor().newDocumentBuilder().wrap(requestXML);