forked from relaxng/jing-trang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jing.1
73 lines (73 loc) · 1.66 KB
/
jing.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
.TH jing 1 @VERSION@
.SH NAME
jing \- validate an XML document using a RELAX NG schema
.SH SYNOPSIS
.B jing
.RB [ \-cfit ]
.RB [ \-e
.IR encoding ]
.I rng-file
.RI [ xml-file ...]
.SH DESCRIPTION
If
.I rng-file
is a correct RELAX NG schema and each
.I xml-file
is a well-formed XML document that is valid with respect to
.IR rng-file ,
then
.B jing
will be silent and terminate with a status of 0.
Otherwise,
.B jing
will report one or more errors to the standard
output and will terminate with a status of 1.
Both
.I rng-file
and
.I xml-file
can be filenames or URIs.
.SH OPTIONS
.TP
.B \-c
Uses the compact syntax for the schema.
.TP
.BI \-e " enc"
Uses the encoding
.I enc
to read the schema.
.TP
.BI \-f
Checks that the document is feasibly valid. A document is feasibly
valid if it could be transformed into a valid document by inserting
any number of attributes and child elements anywhere in the tree.
This is equivalent to transforming the schema by wrapping every
.BR data ,
.BR list ,
.B element
and
.B attribute
element in an
.B optional
element and then validating against the transformed schema. This
option may be useful while a document is still under construction.
This option also disables checking that for every IDREF there is a
corresponding ID.
.TP
.B \-i
Disables checking of ID/IDREF/IDREFS. By default,
Jing enforces the constraints imposed by RELAX NG DTD Compatibility
with respect to ID/IDREF/IDREFS.
.TP
.B \-t
Prints the time used by Jing for loading the schema and
for validation.
.SH "SEE ALSO"
trang(1)
.PP
http://relaxng.org
.SH AUTHOR
James Clark (jjc@jclark.com)
.PP
This product includes software developed by the
Apache Software Foundation (http://www.apache.org/).