@@ -31,29 +31,29 @@ <h2>Usage</h2>
3131< p > You can use the < code > vnu.jar</ code > markup checker as an executable for
3232command-line checking of HTML documents by invoking it like this:
3333< pre >
34- java -jar ~/vnu.jar [--entities] [-- errors-only] [--no-stream]
34+ java -jar ~/vnu.jar [--errors-only] [--no-stream]
3535 [--format gnu|xml|json|text] [--help] [--html]
36- [--schema URL] [-- verbose] [--version] FILES
36+ [--verbose] [--version] FILES
3737</ pre >
3838
39- < p > To validate one or more HTML documents from the command line:
39+ < p > To check one or more HTML documents from the command line:
4040< pre >
4141 java -jar ~/vnu.jar FILE.html FILE2.html FILE3.HTML FILE4.html...
4242</ pre >
4343
44- < p > To validate all HTML documents in a particular directory:
44+ < p > To check all HTML documents in a particular directory:
4545< pre >
4646 java -jar ~/vnu.jar some-directory-name/
4747</ pre >
4848
49- < p > To validate a Web document:
49+ < p > To check a Web document:
5050< pre >
5151 java -jar ~/vnu.jar < var > URL</ var >
5252
5353 example: java -jar ~/vnu.jar http://example.com/foo
5454</ pre >
5555
56- < p > To validate from standard input:
56+ < p > To check standard input:
5757< pre >
5858 java -jar ~/vnu.jar -
5959
@@ -64,20 +64,12 @@ <h3 id="options">Options</h3>
6464< p > When used from the command line as described in this section, the
6565< code > vnu.jar</ code > executable provides the following options:
6666
67- < h4 id ="entities "> --entities</ h4 >
68- < pre >
69- Specifies that the XML parser should not load remote/external entities (such
70- as DTDs) from the Internet.
71-
72- default: [unset; the XML parser will attempt to load external entities]
73- </ pre >
74-
7567< h4 id ="errors-only "> --errors-only</ h4 >
7668< pre >
7769Specifies that only error-level messages and non-document-error messages
78- are reported.
70+ are reported (so that warnings and info messages are not reported) .
7971
80- default: [unset; all message reported, including info- and warning-level ]
72+ default: [unset; all message reported, including warnings & info messages ]
8173</ pre >
8274
8375< h4 id ="format "> --format < var > format</ var > </ h4 >
@@ -98,33 +90,25 @@ <h4 id="help">--help</h4>
9890
9991< h4 id ="html "> --html</ h4 >
10092< pre >
101- Specifies that all documents should be parsed by the HTML parser as text/html
102- (otherwise, *.xhtml documents are parsed by the XML parser).
93+ Forces all documents to be parsed by the HTML parser, as text/html
94+ (otherwise, *.xhtml documents are parsed using an XML parser).
10395
104- default: [unset; *.xhtml documents are parsed by the XML parser]
96+ default: [unset; *.xhtml documents are parsed using an XML parser]
10597</ pre >
10698
10799< h4 id ="no-stream "> --no-stream</ h4 >
108100< pre >
109- Specifies that all documents parsed by the HTML parser will be parsed in
110- buffered mode instead of streaming mode (causes some parse errors to be
111- treated as non-fatal document errors instead of as fatal document errors).
101+ Forces all documents to be be parsed in buffered mode instead of streaming
102+ mode (causes some parse errors to be treated as non-fatal document errors
103+ instead of as fatal document errors).
112104
113105default: [unset; non-streamable parse errors cause fatal document errors]
114106</ pre >
115107
116- < h4 id ="schema-url "> --schema < var > URL</ var > </ h4 >
117- < pre >
118- Specifies a URL for a known http://s.validator.nu/* schema to use for
119- document checking.
120-
121- default: < span class =option-value > http://s.validator.nu/html5-all.rnc</ span >
122- </ pre >
123-
124108< h4 id ="verbose "> --verbose</ h4 >
125109< pre >
126- Specifies that the output should be "verbose". (Currently this just means
127- that the names of files being validated are written to stdout.)
110+ Specifies "verbose" output . (Currently this just means that the names of
111+ files being checked are written to stdout.)
128112
129113default: [unset; output is not verbose]
130114</ pre >
0 commit comments