pxp:set-base-uri doesn't emit document content #162

Closed
phtyson opened this Issue Jul 30, 2014 · 3 comments

Comments

Projects
None yet
2 participants
@phtyson

phtyson commented Jul 30, 2014

In version 1.0.18-95, pxp:set-base-uri does not put document content on result port.

  <pxp:set-base-uri uri="http://example.org/primary">
     <p:input port="source">
       <p:inline>
      <doc><title>Document 2</title><p>paragraph</p></doc>
       </p:inline>
     </p:input>
   </pxp:set-base-uri>

  <p:store href="primary.xml"/>

produces a document with empty content:

 <doc xmlns:c="http://www.w3.org/ns/xproc-step" 
    xmlns:pxp="http://exproc.org/proposed/steps"/>

(It does, however, seem to set the base URI of the document.)

@ndw

This comment has been minimized.

Show comment
Hide comment
@ndw

ndw Aug 15, 2014

Owner

It's hard to know what the problem is without the examples. You can fence code blocks on github with three back quotes on a single line before and after the example.

Owner

ndw commented Aug 15, 2014

It's hard to know what the problem is without the examples. You can fence code blocks on github with three back quotes on a single line before and after the example.

@phtyson

This comment has been minimized.

Show comment
Hide comment
@phtyson

phtyson Aug 16, 2014

On Fri, 2014-08-15 at 15:48 -0700, Norman Walsh wrote:

It's hard to know what the problem is without the examples. You can
fence code blocks on github with three back quotes on a single line
before and after the example.

Edited comment to add example. Empty document appears on result port of
pxp:set-base-uri. Expecting copy of input source document.

Thanks,
--Paul


Reply to this email directly or view it on GitHub.

phtyson commented Aug 16, 2014

On Fri, 2014-08-15 at 15:48 -0700, Norman Walsh wrote:

It's hard to know what the problem is without the examples. You can
fence code blocks on github with three back quotes on a single line
before and after the example.

Edited comment to add example. Empty document appears on result port of
pxp:set-base-uri. Expecting copy of input source document.

Thanks,
--Paul


Reply to this email directly or view it on GitHub.

ndw added a commit that referenced this issue Aug 17, 2014

Fix issue #162 make sure descendants are copied correctly.
Also switch from RelevantNodes to AxisNodes.

@ndw ndw added the test label Aug 18, 2014

@ndw

This comment has been minimized.

Show comment
Hide comment
@ndw

ndw Aug 26, 2014

Owner

I believe this is fixed in XML Calabash 1.0.19, released today.

Owner

ndw commented Aug 26, 2014

I believe this is fixed in XML Calabash 1.0.19, released today.

@ndw ndw closed this Aug 26, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment