Re: Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-10-26 Thread Davis, Daniel
ar/zotix/tree/master/schematron-service. Hope this will help. Ayache On 1 June 2015 at 21:58, Davis, Daniel <davi...@si.edu><mailto:davi...@si.edu> wrote: Thanks. I am grabbing a copy to build. -- Dan On 06/01/2015 03:37 PM, Ayache Khettar wrote: Hi Daniel I have checked a fix a

Re: Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-10-26 Thread Davis, Daniel
elegant. Any ideas? -- Dan Davis On 06/02/2015 05:50 AM, Ayache Khettar wrote: Hi Dan I have written a simple schematron service which can be deployed into karaf: https://github.com/akhettar/zotix/tree/master/schematron-service. Hope this will help. Ayache On 1 June 2015 at 21:58, Davis, Da

Camel DevOps at the Smithsonian Institution

2015-07-15 Thread Davis, Daniel
The Smithsonian Institution (SI) is looking for a person to join its SIdora team and create a development operations (DevOps) environment. SIdora is an ever-evolving, open-source infrastructure supporting researchers, to make it easy for them to obtain and use IT resources plus support their data

Re: Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-06-01 Thread Davis, Daniel
. The above ticket only deals with class loader issue and it should get you pass the issue you were facing on karaf. Regards, Ayache On 20 May 2015 at 20:53, Davis, Daniel davi...@si.edu wrote: Thank you so much for both the workaround and the additional features! -- Dan Davis On 05/19/2015 03

Re: Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-05-20 Thread Davis, Daniel
- Expose line numbering support through uri parameter (false by default). 2- Allow users to choose whether to use Saxon as the transformerFactoryClass. Hopefully, I should check in the changes by the end of this weekend. Regards, Ayache On 13 May 2015 at 19:25, Davis, Daniel davi

Implementing a counter in XML DSL and Simple

2015-05-15 Thread Davis, Daniel
From Claus' 2011 blog I tried to implement a counter but I cannot get it to work inside a splitter (I need a count of only a subset of items). The example code is: setHeader header=myCounter simple${header.myCounter}++/simple /setHeader By itself this code fails because myCounter is not a

Re: Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-05-13 Thread Davis, Daniel
On 05/13/2015 11:28 AM, Davis, Daniel wrote: I have included the XML DSL version. I am working up a better Java DSL version. I can provoke the issue in a default ServiceMix 5.4.0 install with only the camel-schematron feature added. I have tried it with the Apache Saxon-He bundle installed too

Re: Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-05-13 Thread Davis, Daniel
07:21 AM, Ayache Khettar wrote: Hi Daniel I will try to get a working example deployed into SMX this evening and see if I can reproduce the error. Could you include the source code of your working example so I could have a look? Regards, Ayache On 12 May 2015 at 23:49, Davis, Daniel davi

Re: Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-05-12 Thread Davis, Daniel
at 16:53, Davis, Daniel davi...@si.edu wrote: I tried to install a route that uses the Schematron component into ServiceMix (I am cross posting). I have the camel-schematron bundle installed in ServiceMix with no known issues. However, the route cannot be created due to the following error

Re: Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-05-12 Thread Davis, Daniel
at 16:53, Davis, Daniel davi...@si.edu wrote: I tried to install a route that uses the Schematron component into ServiceMix (I am cross posting). I have the camel-schematron bundle installed in ServiceMix with no known issues. However, the route cannot be created due to the following error

Re: Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-05-12 Thread Davis, Daniel
org.apache.felix.framework (0) I presume if it find Xalan first this is going to be a problem. Onward and upward. -- Dan On 05/12/2015 04:49 PM, Davis, Daniel wrote: dependency +groupIdnet.sf.saxon/groupId +artifactIdSaxon-HE/artifactId +version${saxon-version}/version

Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-05-08 Thread Davis, Daniel
I tried to install a route that uses the Schematron component into ServiceMix (I am cross posting). I have the camel-schematron bundle installed in ServiceMix with no known issues. However, the route cannot be created due to the following error: Not supported:

Re: Deleting a file outside a consumer

2015-04-03 Thread Davis, Daniel
it would only be for special use-cases where you need to write temp files. You can always write a bit of java code that deletes the file, and/or attach the code to the UoW so Camel does it at the end. Or use onCompletion etc. On Fri, Apr 3, 2015 at 1:57 AM, Davis, Daniel davi...@si.edu

Deleting a file outside a consumer

2015-04-02 Thread Davis, Daniel
I have an odd case and Google is not helpful because its an odd case (file producer is always matched). I need to convert PDFs to SWF on linux in a route. The most common tool is called pdf2swf but it has a problem characteristic, it can only read from a file and not a pipe because it reads the

Re: Camel exec component tokenizer in Spring XML DSL removing plus sign in arguments

2015-03-18 Thread Davis, Daniel
://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On March 17, 2015 at 11:06:05 PM, Davis, Daniel (davi...@si.edu) wrote: I have been unable to find an encoding or approach to include the ImageMagick argument +profile in the argument

Camel exec component tokenizer in Spring XML DSL removing plus sign in arguments

2015-03-17 Thread Davis, Daniel
I have been unable to find an encoding or approach to include the ImageMagick argument +profile in the argument list for exec in Spring XML DSL as show below. With each experiment Trace clearly shows that the + sign in the arguments being stripped out. I tried plaintext, HTML and decimal