Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The validation component provides schema validation of documents using JAXP 1.3 and XMLSchema or RelaxNG.

The component is pretty simple and straightforward; its configured with a schema document as follows. If the inbound document is valid, it continues on its way to the ultimate destination. Otherwise a fault is returned in the message exchange.

Wiki Markup
{snippet:id=example|lang=xml|url=http://svn.apache.org/repos/asf/incubator/servicemix/trunk/servicemix-components/src/test/resources/org/apache/servicemix/components/validation/example.xml}