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

RE: Problems running Calabash pipelines with oXygen 12.1

From: Philip Fennell <Philip.Fennell@marklogic.com>
Date: Tue, 1 Feb 2011 00:55:57 -0800
To: Romain Deltour <rdeltour@gmail.com>
CC: XProc Dev <xproc-dev@w3.org>
Message-ID: <D20C296D14127D4EBD176AD949D8A75A479B3BE9@EXCHG-BE.marklogic.com>
Romain wrote:

> Calabash picks the value of Java's system property "user.home", which
> on windows comes from a particular registry key if I remember  
> correctly. It should be "C:\Documents and Settings\YourName" on XP or  
> "C:\Users\YourName" on Windows 7.

Many thanks.


Regards

Philip

-----Original Message-----
From: Romain Deltour [mailto:rdeltour@gmail.com] 
Sent: 01 February, 2011 7:58 AM
To: Philip Fennell
Cc: XProc Dev
Subject: Re: Problems running Calabash pipelines with oXygen 12.1

Well, the user home directory exists even on Windows ;)
Calabash picks the value of Java's system property "user.home", which  
on windows comes from a particular registry key if I remember  
correctly. It should be "C:\Documents and Settings\YourName" on XP or  
"C:\Users\YourName" on Windows 7.

BR,
Romain.


Le 1 févr. 11 à 07:41, Philip Fennell a écrit :

> Romain wrote:
>
>> Calabash will look-up the config file from several well-known places.
>
>
> Thanks for the tip.
>
> I'm saddled with a Windoz PC so I'll make a few guesses and see what  
> comes of that.
>
>
> Regards
>
> Philip
>
> -----Original Message-----
> From: Romain Deltour [mailto:rdeltour@gmail.com]
> Sent: 31 January, 2011 6:14 PM
> To: Philip Fennell
> Cc: XProc Dev
> Subject: Re: Problems running Calabash pipelines with oXygen 12.1
>
> Philip,
>
> Calabash will look-up the config file from several well-known places.
> You can notably place the config file in a USER_HOME/.calabash and it
> will be picked automatically (works from oXygen too, without modifying
> the built-in engine).
>
> BR,
> Romain.
>
>
> Le 31 janv. 11 à 17:50, Philip Fennell a écrit :
>
>> 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 Tuesday, 1 February 2011 08:56:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 1 February 2011 08:56:49 GMT