rnv(1) - Linux man page
Name
rnv - RELAX NG Compact Syntax Validator in C
Synopsis
rnv {-q | -p | -c | -s | -v | -h} grammar.rnc document.xml
- The options are:
-q
- names of files being processed are not printed; in error messages, expected elements and attributes are not listed;
- -n NUM
- sets the maximum number of reported expected elements and attributes, -q sets this to 0 and can be overriden;
- -p
- copies the input to the output;
- -c
- if the only argument is a grammar, checks the grammar and exits;
- -s
- uses less memory and runs slower;
- -v
- prints version number;
- -h
- displays usage summary and exits.
Limitations
This tool has the following limitations:
- • RNV assumes that the encoding of the syntax file is UTF-8.
- • Support for XML Schema Part 2: Datatypes is partial.
- • The schema parser does not check that all restrictions are obeyed, in particular, restrictions 7.3 and 7.4 are not checked.
- • RNV for Win32 platforms is a Unix program compiled on Win32. It expects file paths to be written with normal slashes; if a schema is in a different directory and includes or refers external files, then the schema's path must be written in the Unix way for the relative paths to work. For example, under Windows, rnv that uses ..\schema\docbook.rnc to validate userguide.dbx should be invoked as
rnv.exe ../schema/docbook.rnc userguide.dbx
- • Support for XML Schema Part 2: Datatypes is partial.
Authors
David Tolpin
- Developer
- Thomas Schraitle
- Manpage