W3C home > Mailing lists > Public > xproc-dev@w3.org > January 2011

Re: Problems running Calabash pipelines with oXygen 12.1

From: Jostein Austvik Jacobsen <josteinaj@gmail.com>
Date: Mon, 31 Jan 2011 15:49:31 +0100
Message-ID: <AANLkTik_13KcGn8CG0HbKr9u80w2tVmKYqo1_ef2r1vX@mail.gmail.com>
To: Philip Fennell <Philip.Fennell@marklogic.com>
Cc: XProc Dev <xproc-dev@w3.org>
To avoid the problem, you can try reading the file with content-type
text/html (or text/plain), and then use p:unescape-markup (i.e. TagSoup) to
parse it afterwards:

<p:identity>
    <p:input port="source">
        <p:inline>
            <c:request method="GET" override-content-type="text/html;
charset=utf-8"/>
        </p:inline>
    </p:input>
</p:identity>
<p:add-attribute match="c:request" attribute-name="href">
    <p:with-option name="attribute-value" select="'test.html'"/>
</p:add-attribute>
<p:http-request/>
<p:unescape-markup content-type="text/html"/>
<p:unwrap match="c:body"/>


Regards
Jostein

2011/1/31 Nic Gibson <nicg@corbas.net>

> Not quite - if it's a catalog problem, Philip should have seen the same
> issue in both versions of Oxygen as the catalogs are identical.
> That's why I suggested adding to the catalog - something external might
> have changed rather than Oxygen.
>
> nic
>
> On 31 Jan 2011, at 14:22, Florent Georges wrote:
>
> > On 31 January 2011 15:14, Nic Gibson wrote:
> >
> >> The catalogs in the two versions are identical and neither
> >> appears to reference the xhtml DTDs. Seems unlikely.
> >
> >  That's the point.  You should try adding a system entry for
> > http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd in one of
> > your catalogs.
> >
> >  Anyway, that's more an oXygen issue than an XProc question.
> >
> >  Regards,
> >
> > --
> > Florent Georges
> > http://fgeorges.org/
>
> --
> Nic Gibson
> Corbas Consulting
> Digital Publishing Consultancy and Training
> http://www.corbas.co.uk, +44 (0)7718 906817
>
>
>
>
>
>
>
>
Received on Monday, 31 January 2011 14:50:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 31 January 2011 14:50:27 GMT