Re: Reading the specs raw from Github

Norm,

Thanks for checking (the little pipeline I put in the earlier post) -- wow!
It turns out the differentiating factor is whether my PC is connected to a
(particular) VPN.

When not connected to the VPN, p:xinclude works fine in both XML Calabash
and Morgana IIIse. When I am connected some kind of intervention occurs.
Not being privy to what they are doing on this network, I can't say what is
failing. But I can easily enough make the error happen again by connecting
to the VPN.

This also useful info for me regarding other problems I am having (with
file: URIs) in a different context - or maybe the same.

And it gives me a way to run my pipeline easily enough.

Very grateful for your efforts to support, thanks again --!
Wendell


On Fri, Jul 4, 2025 at 10:20 AM Norm Tovey-Walsh <ndw@nwalsh.com> wrote:

> Wendell Piez <wapiez@wendellpiez.com> writes:
> > In the first post on the thread is a small pipeline that shows the error
> when run.
>
> Except it runs just fine for me.
>
> > But when this XML is given to p:xinclude, that step dutifully requests
> the linked resource - and gets text/plain back from the host.
>
> I wouldn’t expect that to be a problem because XInclude doesn’t really
> care about the content type. If parse=xml, it tries to parse what it gets
> as XML. This works for me too:
>
>     <p:identity>
>       <p:with-input port="source">
>         <doc xmlns:xi="http://www.w3.org/2001/XInclude">
>           <xi:include href="
> https://raw.githubusercontent.com/xproc/3.0-steps/master/step-text/src/main/xml/specification.xml
> "/>
>         </doc>
>       </p:with-input>
>     </p:identity>
>
>     <p:xinclude/>
>
> > Do we find any better solution in XInclude semantics, or p:xinclude?
>
> You have to show me what the problem is before I can answer that :-)
>
>                                         Be seeing you,
>                                           norm
>
> --
> Norm Tovey-Walsh <ndw@nwalsh.com>
> https://norm.tovey-walsh.com/
>
> > Convictions are more dangerous enemies of truth than lies.--Nietzsche
>


-- 
...Wendell Piez... ...wendell -at- nist -dot- gov...
...wendellpiez.com... ...pellucidliterature.org... ...pausepress.org...
...github.com/wendellpiez... ...gitlab.coko.foundation/wendell...

Received on Friday, 4 July 2025 15:11:14 UTC