IBM WebSphere XS40 Command Reference Manual page 166

Datapower xml security gateway
Table of Contents

Advertisement

Syntax
xml validate XML-manager matching-rule [attribute-rewrite policy]
xml validate XML-manager matching-rule [dynamic-schema URL]
xml validate XML-manager matching-rule [schema URL]
no xml validate XML-manager
Parameters
XML-manager
matching-rule
attribute-rewrite policy
dynamic-schema URL
schema URL
Guidelines
Identifies the validation methodology and XML schema to use for document
validation. In the absence a keyword, validation is performed according to
validation instructions, if any, that are contained in the XML document. Documents
that contain no validation instructions are considered to be validated.
Do not use XML Manager-based schema validation when using processing
policy-based validation filters. Simultaneous use of the two schema validations is
redundant and might produce unpredictable results.
Use the no xml validate command to disable XML schema validation for a
specified manager.
Related Commands
httpmatch, matching, rewrite, urlmatch, urlrewrite, xmlmgr
Examples
v Enables schema-based validation for the mgr1 XML Manager. Validation
140
Command Reference
Specifies the name of an XML manager that performs XML schema
validation.
Specifies the name of a Matching Rule. XML documents that match any of
the patterns contained within this Matching Rule are subject to
manager-specific XML schema validation.
Rewrites any schema reference in the body of the XML document with the
specified URL Rewrite Policy. The rewritten schema reference usually
specifies the location of a local "trusted" copy of the schema to use for
document validation.
Specifies the use of a dynamically-generated schema regardless of any
validation processing instructions in the XML document.
Specifies the use of a specific schema regardless of any validation
processing instructions in the XML document.
instructions in XML documents that match star are rewritten in accordance with
the URL-RW-1 URL Rewrite Policy. The XML Manager uses the rewritten schema
reference to validate documents.

Advertisement

Table of Contents
loading

Table of Contents