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 installed the camel-saxon feature.  In my bundles
I have the Apache ServiceMix :: Bundles :: Saxon-HE (9.5.1.5_1) and the
camel-saxon bundle.  In theory, Saxon should be in good shape to support
the line-numbering requirement.

--
Dan Davis
Technical Manager
Office of Research Information Systems
Smithsonian Institution

On 05/08/2015 01:58 PM, Ayache Khettar wrote:
> 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 go. It should work.
>
> Regards,
>
> Ayache
>
>
>
> <dependency>
> +            <groupId>net.sf.saxon</groupId>
> +            <artifactId>Saxon-HE</artifactId>
> +            <version>${saxon-version}</version>
> +        </dependency>
>
>
>
> On 8 May 2015 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:
>>
>> Not supported: http://saxon.sf.net/feature/linenumbering
>>
>> I suspect this has to do with Saxon integration.  I have not found a
>> solution but this article shows a related code commit:
>>
>> https://mail-archives.apache.org/mod_mbox/camel-commits/201409.mbox/%3cf6e2a049a1eb4bbbae6b22d2677f0...@git.apache.org%3E
>> .  There are other articles pointing to Saxon integration as the issue
>> but I have not found anything with my combination of integrated
>> components.  This is a very simple Schematron ruleset (linenumbers are
>> not used) but it looks like Camel Schematron requests this feature by
>> default.
>>
>> Does anyone have any insight?
>>
>> --
>> Dan Davis
>>
>>
>>

Reply via email to