Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GerbenAbbink opened this issue Jul 31, 2020 · 1 comment
Open

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

GerbenAbbink opened this issue Jul 31, 2020 · 1 comment

Comments

@GerbenAbbink
Copy link

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:

<p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
xmlns:c="http://www.w3.org/ns/xproc-step" version="1.0">
<p:input port="source">
<p:inline>
Hello world!
</p:inline>
</p:input>
<p:output port="result"/>
<p:identity/>
</p:declare-step>

@GerbenAbbink
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant