WARNING: This server provides a static reference view of the NetKernel documentation. Links to dynamic content do not work. For the best experience we recommend you install NetKernel and view the documentation in the live system .

Endpoint
Name:validateXSD
Description:The active:validateXSD service performs XML schema validation of a XML document
Id:apache.XSDValidator
Category:accessor
Identifier Syntax

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)

ArgumentRulesTypingDescription
operand
Mandatory
Representation (java.lang.Object)XML document to be validated
operator
Mandatory
Representation (java.lang.Object)XML schema document
Request Verbs

The following verb is supported:

Verb
SOURCE
Response

The response representation of this accessor for SOURCE requests is unknown.

This accessor throws no documented exceptions.

Import Requirements

To use validateXSD accessor you must import the module urn:org:netkernel:xml:core:

<import>
  <uri>urn:org:netkernel:xml:core</uri>
</import>

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.

Alternative Schema Validators

The xml-jing package provides numerous schema language validators such as Relax NG and includes an alternative implementation of an XML schema validator.