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
xprocdoc not working with Calabash #80
Comments
Exactly the same as me :-) For 3., this is because the variables $namespace-uri. The value of both of them is a namespace node. Explicitly taking their string value solve the error, but that is a bug IMHO (changing |
After fixing the namespace bug, the problem remains. It appears that XML Calabash always connects input ports to the default readable port, whether they are primary nor not. Re-reading the spec, I think that's wrong. :-) |
Ok, after I (think) I've fixed that, I get: SEVERE: file:/Volumes/Data/github/xprocdoc/xd2html.xsl:56:err:FORG0002:Base URI {} is not an absolute URI Which looks like a pipeline bug to me. Where/how is the $output-base-uri parameter set? |
The xd2html.xsl stylesheet recognizes 4 parameters: output-base-uri, input-base-uri, product, and overview-file (see the project README for more details). All of them are optional, but I have clearly never tested the pipeline without specifying output-base-uri. Should be fixed now. Can you give it another try? The parametere were passed to the stylesheet as normal XProc parameters (so you had to pass them via xd:xprocdoc's parameter input port). I decided to make them XProc options to make their existence more explicit. I have also put some xprocdoc-style documentation in the pipeline. So you can now use the pipeline to generate its own XHTML documentation :) (Note that I have also changed the namespace uri of the xd:xprocdoc to something more meaningful.) |
Yep. That works. Thanks, Vojtech! |
I was trying to run my xprocdoc pipeline (http://github.com/vojtechtoman/xprocdoc) with Calabash and I ran into a number of issues.
The pipeline works with Calumet and is supposed to be processor-independent, but I failed to make it work with Calabash.
Suppose you have this pipeline (
pipeline.xpl
):then calling:
will fail with:
It turns out that somehow this does not work in Calabash:
Once I replace the
p:pipe
inp:xslt
with<p:document href="xd2html.xsl"/>
, thep:xslt
step does not complain anymore.After applying the above mentioned workaround, the pipeline still does not run:
At this point I gave up :)
Also note that if you do
Calabash fails with:
The text was updated successfully, but these errors were encountered: