Xproc (calabash) : how to change the p:log type?

Questions about XML that are not covered by the other forums should go here.
ojeulin
Posts: 17
Location: Paris, France

Xproc (calabash) : how to change the p:log type?

Thu Nov 14, 2013 5:40 pm

Hi,

when I execute an XProc pipeline with the default processor (calabash) in oXygen exitor, the output of p:log uses the type "wrapped".
E.g.:

Code: Select all

<px:document-sequence xmlns:px="http://xmlcalabash.com/ns/document-sequence" port="result"
   xpl-file="file:/.../xxx.xpl"
   xpl-line="81" dateTime="2013-11-14T13:29:53+01:00">
   <px:document>
...


How can I change the logging type to "plain", "directory" or "off"?
http://xmlcalabash.com/docs/reference/c ... style.html says nothing about a config through the XML config file...
adrian
Posts: 2453

Re: Xproc (calabash) : how to change the p:log type?

Fri Dec 13, 2013 12:34 pm

Hi,

To set a custom configuration for the Calabash used by Oxygen, you should name the file with the configuration calabash.config and place it in: Oxygen\lib\xproc\calabash
See details here:
oXygen User Manual - XProc Engines Preferences

However, I can't seem to find anything about how the log style is specified in this configuration file. This is Calabash specific and its documentation doesn't mention it.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
ojeulin
Posts: 17
Location: Paris, France

Re: Xproc (calabash) : how to change the p:log type?

Fri Dec 13, 2013 1:26 pm

Thanks for your response.
Yes I found this configuration file, and there don't seem to be any way to change the format of the log. But it is doable, because there's a command line flag for that.
So, I'll ask Norman if he can add an option in the XML config file.
adrian
Posts: 2453

Re: Xproc (calabash) : how to change the p:log type?

Mon Dec 16, 2013 5:56 pm

Hi,

We update the XML Calabash libraries in each new version of Oxygen, so this will be included in a future version of Oxygen.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Return to “General XML Questions”

Who is online

Users browsing this forum: No registered users and 0 guests