Altova RaptorXML+XBRL Server 2024

The valxml-withxsd | xsi command validates one or more XML instance documents according to the W3C XML Schema Definition Language (XSD) 1.0 and 1.1 specifications.

 

raptorxmlxbrl valxml-withxsd | xsi [options] InputFile

 

The InputFile argument is the XML document to validate. The --schemalocation-hints option specifies what mechanism is used to find the schema. The --xsd=FILE  option specifies the schema/s to use if the XML or XBRL instance file contains no schema reference.

To validate multiple documents, either: (i) list the files to be validated on the CLI, with each file separated from the next by a space; or (ii) list the files to be validated in a text file (.txt file), with one filename per line, and supply this text file as the InputFile argument together with the --listfile option set to true (see the Options list below).

 

Note:If using the --script option to run Python scripts, make sure to also specify --streaming=false.

 

Examples

Examples of the valxml-withxsd command:

 

raptorxmlxbrl valxml-withxsd --schemalocation-hints=load-by-schemalocation --xsd=c:\MyXSD.xsd c:\HasNoXSDRef.xml

raptorxmlxbrl xsi c:\HasXSDRef.xml

raptorxmlxbrl xsi --xsd-version=1.1 --listfile=true c:\FileList.txt

 

 

Options

Options are listed in short form (if available) and long form. You can use one or two dashes for both short and long forms. An option may or may not take a value. If it takes a value, it is written like this: --option=value. Values can be specified without quotes except in two cases: (i) when the value string contains spaces, or (ii) when explicitly stated in the description of the option that quotes are required. If an option takes a Boolean value and no value is specified, then the option's default value is TRUE. Use the --h, --help option to display information about the command.

 

 

© 2017-2023 Altova GmbH