The usage of xsdvalidate
is
stilts <stilts-flags> xsdvalidate schemaloc=<namespace>=<location> ... topel=[{<ns-uri>}][<local-name>] verbose=true|false uselocals=true|false [doc=]<location>If you don't have the
stilts
script installed,
write "java -jar stilts.jar
" instead of
"stilts
" - see Section 3.
The available <stilts-flags>
are listed
in Section 2.1.
For programmatic invocation,
the Task class for this
command is uk.ac.starlink.ttools.task.XsdValidate
.
Parameter values are assigned on the command line as explained in Section 2.3. They are as follows:
doc = <location>
(InputStream)
schemaloc = <namespace>=<location> ...
(String[])
<namespace>=<location>
where the location may be a filename or URL.
Multiple assignments may be made by supplying the parameter
multiple times, or using a space character as a separator.
Each assignment causes any reference to the given namespace
in the validated document to be validated with reference to
the XSD schema at the given location rather than to
a schema acquired in the default way
(using xsi:schemaLocation
attributes
or using the namespace as a retrieval URL).
topel = [{<ns-uri>}][<local-name>]
(String)
uselocals = true|false
(Boolean)
[Default: false
]
verbose = true|false
(Boolean)
[Default: false
]