Name: | validateXSD |
Description: | The active:validateXSD service performs XML schema validation of a XML document |
Id: | apache.XSDValidator |
Category: | accessor |
validateXSD is an accessor using Active URI syntax with the following base identifiers:
Base |
---|
active:validateXSD |
and the following arguments: (for more details on argument passing details see here)
Argument | Rules | Typing | Description |
---|---|---|---|
operand | Mandatory | Representation (java.lang.Object) | XML document to be validated |
operator | Mandatory | Representation (java.lang.Object) | XML schema document |
The response representation of this accessor for SOURCE requests is unknown.
This accessor throws no documented exceptions.
To use validateXSD accessor you must import the module urn:org:netkernel:xml:core:
When a request with the SOURCE verb is issued to active:validateXSD
the XML document specified in the required operand argument
is validated against the XML schema specified in
the required operator argument.
By default, the response representation returned is an
java.lang.Boolean object.
The xml-jing package provides numerous schema language validators
such as Relax NG and includes an alternative implementation of an XML schema validator.