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: http://saxon.sf.net/feature/linenum

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

2015-05-08 Thread Ayache Khettar
Hi Daniel The Schematron component requires saxon home edition - see pom dependencies below. The home edition is free to use. How did you install camel-schematron component? It should require the saxon-he bundle? Try install the camel-schmetron component including the saxon-he bundle and give it a

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

2015-05-12 Thread Davis, Daniel
Unfortunately I have still not solved this. My routes are in XML DSL and use the schematron component directly in ServiceMix and are not bundled into any of my application code. There is a camel-schematron feature that I installed that does not complain about any missing dependencies. I also ins

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

2015-05-12 Thread Davis, Daniel
Unfortunately I have still not solved this. My routes are in XML DSL and use the schematron component directly in ServiceMix and are not bundled into any of my application code. There is a camel-schematron feature that I installed that does not complain about any missing dependencies. I also ins

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

2015-05-12 Thread Davis, Daniel
An update. I got rid of camel-saxon and the Saxon bundles. Then created a Java DSL route packaged with Saxon-HE-9.6.0-5.jar. Same error message. In smx, it looks like camel-schematron is looking for parsers from the OSGI framework like - javax.xml.parsers,version=0.0.0 from org.apache.felix.fra

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

2015-05-13 Thread Ayache Khettar
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 wrote: > An update. I got rid of camel-sa

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

2015-05-13 Thread Davis, Daniel
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. In the ServiceMix log, the route fails to st

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

2015-05-13 Thread Davis, Daniel
I tried with this Java DSL route. My code is showing a dependency on Saxon in ServiceMIx but I gather the camel-schematron component is doing its own binding to Xalan. So it results in the same exception when trying to start the route. http://pastie.org/10187203 (Java and POM) -- Dan Davis On

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

2015-05-19 Thread Ayache Khettar
Hi Dan Apologies for the late reply. Only yesterday I had a bit of time to look into this in more details. I am able to reproduce it on the latest serviceMix distribution. Looks like, when Camel schematron component is deployed into SMX. it uses Xalan by default as opposed to Saxon. There is a way

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

2015-05-20 Thread Davis, Daniel
Thank you so much for both the workaround and the additional features! -- Dan Davis On 05/19/2015 03:49 AM, Ayache Khettar wrote: > Hi Dan > > Apologies for the late reply. Only yesterday I had a bit of time to look > into this in more details. I am able to reproduce it on the latest > serviceMix

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

2015-06-01 Thread Ayache Khettar
Hi Daniel I have checked a fix and here is the lira ticket (keep an eye on it): https://issues.apache.org/jira/browse/CAMEL-8796 Hopefully, the changes will make it to 2.14.1 version soon. The above ticket only deals with class loader issue and it should get you pass the issue you were facing on

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

2015-06-01 Thread Davis, Daniel
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 and here is the lira ticket (keep an eye on it): > https://issues.apache.org/jira/browse/CAMEL-8796 Hopefully, the changes > will make it to 2.14.1 version soon. > > T

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

2015-06-02 Thread Ayache Khettar
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, Daniel wrote: > Thanks. I am grabbing a copy to build. > > -- > Dan > > On 06/01/20

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

2015-10-26 Thread Davis, Daniel
It was time for me to switch from the workaround to using the "official" distribution of the component. I upgraded to ServiceMix 5.5.0 and picked up the revised Schematron component. The code that picks up initialization from ServiceMix works perfectly. However, I am still having trouble gett

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

2015-10-26 Thread Davis, Daniel
It was time for me to switch from the workaround to using the "official" distribution of the component. I upgraded to ServiceMix 5.5.0 and picked up the revised Schematron component. The code that picks up initialization from ServiceMix works perfectly. However, I am still having trouble get