Test Schema - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Parameters
category
priority
message
Guidelines
The test logging command generates an event at the specified level and sends it to
the specified log target. Use this command to test the configuration of a Logging
Target.
To create a Logging Target, use the Global logging target command.
Related Commands
logging target (global)
Examples
v Tests two candidate URLs against the URLmap-1 URL map.

test schema

Tests conformity of an XML file against a schema.
Syntax
test schema file schema
Parameters
file
schema Specifies the URL of the schema.
Specifies the name of an existing Log Category.
Identifies the event priority. The priority indicates that all events that are
greater than or equal to this value are logged. Events use the following
priority in descending order:
v emerg (Emergency)
v alert (Alert)
v critic (Critical)
v error (Error)
v warn (Warning)
v notice (Notice)
v info (Information)
v debug (Debug)
Specifies the text for the message.
# urlmap URLmap-1
URL map mode
#
# match https://www.company.com/XML/stylesheets/*
# match https://www.distributer.com/*xsl
# exit
# test urlmap URLmap-1 https://www.company.com/XML/stylesheets/style1.xsl match
# test urlmap URLmap-1 https://www.distributer.com/Renditions/XML2HTML.xsl match
#
Specifies the URL of the XML file to test.
Chapter 2. Global configuration mode
117

Advertisement

Table of Contents
loading

Table of Contents