Hello Dave!
Sorry for the late response. The issue is solved. You can find some unit
test for it in [1] and [2].
[1]
https://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/java/org/apache/camel/component/validator/ValidatorIncludeRouteTest.java
[2]
https://svn.apache.org/repos/asf/camel
Hello -
Can someone please tell me where this landed and/or point me to
documentation?
This discussion appears to be at the heart of a problem I'm working through.
My situation is that I have all of my XSDs in one OSGi bundle. I'd like to
reference an XSD in that bundle from a validator in a Came
Hi,
the more I think of this, the more I prefer a simple solution with
just a catalog resource resolver (through xml-resolver).
That's because it's (to my knowledge) a de facto standard to map
public and system ids and in this case it would be a perfect
opportunity to follow the principle of "conv
Yeah, pax-url absolutely is appropriate here.
Freeman
On 2011-11-13, at 上午10:07, Raul Kripalani wrote:
Hi,
Since we are talking OSGi, this looks like an appropriate use case for
the PAX URL classpath protocol. It provides means to lookup resources
in any other deployed bundle, either by specif
Hi,
Since we are talking OSGi, this looks like an appropriate use case for
the PAX URL classpath protocol. It provides means to lookup resources
in any other deployed bundle, either by specifying its symbolic name
or by performing a container-wide search.
It worked like a charm for me with a use
We found another library/dependency which JB can bundle... :-) I will
provide a patch for it later...
I discussed this with JB that this should of cure also work in OSGI in
different scenarios:
1) the XSD is packaged together with the route in an OSGI bundle
2) the XSD is packages in another OSGI b
Let's discuss this later by having breakfest together and afterwards we
will share our opinions here...
Sent from a mobile device
Hi Christian,
it sounds good, but the question is: how to load/look up the XSD in the
validator component ?
I mean, in Karaf, to validate a feature XML, we use the following code:
SchemaFactory factory =
SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
// root
Does Apache XML Resolver work with OSGi ?
But seems like a good idea so a +1 from me.
On Sat, Nov 12, 2011 at 7:02 AM, Christian Müller
wrote:
> Hello all!
>
> With [1], we add the functionality to Camel to validate XML files against
> nested schema files with the camel validator component. So f