Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minor copy edits

...

The MSV component performs XML validation of the message body using the MSV Library using and any of the supported XML schema languages supported , such as XML Schema or RelaxNG XML Syntax.

...

Code Block
msv:someLocalOrRemoteResource[?options]

Where someLocalOrRemoteResource is some URL to a local resource on the classpath or a full URL to a remote resource or resource on the file system. For example

Code Block

msv:org/foo/bar.rng

...


msv:file:../foo/bar.rng

...


msv:http://acme.com/cheese.rng

...


You can append query options to the URI in the following format, ?option=value&option=value&...

Options

Option

Default

Description

useDom

true

Camel 2.0: Whether DOMSource/DOMResult or SaxSource/SaxResult should be used by the validator. Note: DOM must be used by the MSV component.

...