ndw / xmlcalabash1

XML Calabash, an XProc processor
http://xmlcalabash.com/
108 stars 41 forks source link

Misconfigured. No 'class' in configuration for p:identity #311

Open GerbenAbbink opened 4 years ago

GerbenAbbink commented 4 years ago

I am trying to embed Calabash in another application with no success. I do this:

XProcConfiguration configuration = new XProcConfiguration(); XProcRuntime runtime = new XProcRuntime(configuration); Input input = new Input(xprocInputData.getInputStream(), xprocInputData.getURL()); XPipeline pipeline = runtime.load(input); pipeline.run();

I get this error: XProcException 1 - Misconfigured. No 'class' in configuration for p:identity com.xmlcalabash.core.XProcConfiguration.newStep(XProcConfiguration.java:816) com.xmlcalabash.runtime.XAtomicStep.run(XAtomicStep.java:293) com.xmlcalabash.runtime.XPipeline.doRun(XPipeline.java:236) com.xmlcalabash.runtime.XPipeline.run(XPipeline.java:136)

Any idea what is going on? Im using xmlcalabash-1.2.1-99.

This is the XProc test file: <?xml version="1.0" encoding="UTF-8"?> <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" xmlns:c="http://www.w3.org/ns/xproc-step" version="1.0">

Hello world!
GerbenAbbink commented 4 years ago

I figured it out: i have to add all steps "by hand".