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

add cdata-section-elements serialization results in calabash not executing the pipeline #323

Closed
mkraetke opened this issue Jun 29, 2021 · 2 comments

Comments

@mkraetke
Copy link

mkraetke commented Jun 29, 2021

Hi @ndw,

I've added @cdata-section-elements to <p:serialization> but Calabash just prints the standard usage information instead of executing the pipeline. The Calabash download pages states that cdata-section-elements are supported since version 0.9.11. Here is a minimal pipeline which demonstrates the issue:

<?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">
  
  <p:input port="source">
    <p:inline>
      <doc>
        <tex-math>\cos (2\theta) = \cos^2 \theta - \sin^2 \theta</tex-math>
      </doc>
    </p:inline>
  </p:input>
  
  <p:output port="result"/>
  
  <p:serialization port="result" cdata-section-elements="tex-math"/>
  
  <p:identity/>
  
</p:declare-step>

This is not an urgent issue, I have an XSLT-based workaround.

best, Martin

@ndw
Copy link
Owner

ndw commented Jul 2, 2021

Either that's a lie or I broke it at some point after that. Man, those pages are out of date! Anyway, I have a fix and will republish this weekend.

@mkraetke
Copy link
Author

mkraetke commented Jul 5, 2021

Thank you!

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

2 participants