RE: Problems running Calabash pipelines with oXygen 12.1

Norm,

Looks interesting but I wonder how that is configured via oXygen.

All I know that oXygen has is the lib/xproc/calabash/engine.xml file.

Is there a way to either set the entity and uri resolvers in the engine.xml file or can it reference a Calabash config file.


Regards

Philip



-----Original Message-----
From: xproc-dev-request@w3.org [mailto:xproc-dev-request@w3.org] On Behalf Of Norman Walsh
Sent: 31 January, 2011 4:33 PM
To: XProc Dev
Subject: Re: Problems running Calabash pipelines with oXygen 12.1

Philip Fennell <Philip.Fennell@marklogic.com> writes:

> Norm wrote:
>> Put those DTDs in a catalog with a local copy.
>
> Sorry for being a bit thick, but, there's no mechanism with XProc or 
> Calabash for working with an XML Catalog is there? I've tried adding 
> xhtml catalogue within oXygen but it appeared to make no difference.

There is. You probably have to setup the configuration correctly though. Here's what I have in my ~/.calabash

<cc:xproc-config xmlns:cc="http://xmlcalabash.com/ns/configuration">
  <cc:schema-aware>false</cc:schema-aware>

  <cc:serialization
      omit-xml-declaration="true"/>

  <cc:entity-resolver class-name="org.xmlresolver.Resolver"/>
  <cc:uri-resolver class-name="org.xmlresolver.Resolver"/>

</cc:xproc-config>

I wish the documentation was beter. Sigh.

                                        Be seeing you,
                                          norm

--
Norman Walsh
Lead Engineer
MarkLogic Corporation
www.marklogic.com

Received on Monday, 31 January 2011 16:51:08 UTC