File tree Expand file tree Collapse file tree 3 files changed +39
-0
lines changed Expand file tree Collapse file tree 3 files changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,11 @@ To check one or more HTML documents from the command line:
31
31
32
32
java -jar ~/vnu.jar FILE.html FILE2.html FILE3.HTML FILE4.html...
33
33
34
+ ** Note:** If you get a ` StackOverflowError ` error when using the vnu.jar file,
35
+ try adjusting the thread stack size by providing the ` -Xss ` option to java:
36
+
37
+ java -Xss512k -jar ~/vnu.jar FILE.html...
38
+
34
39
To check all HTML documents in a particular directory:
35
40
36
41
java -jar ~/vnu.jar some-directory-name/
Original file line number Diff line number Diff line change @@ -43,6 +43,17 @@ <h2>Usage</h2>
43
43
java -jar ~/vnu.jar FILE.html FILE2.html FILE3.HTML FILE4.html...
44
44
</ pre >
45
45
46
+ < div class =note >
47
+ < p > < b > Note:</ b > If you get a < code > StackOverflowError</ code >
48
+ error when using the vnu.jar file, try adjusting the thread stack size by
49
+ providing the < code > -Xss</ code > option to java:</ p >
50
+
51
+ < pre >
52
+ java < span class ="option-value "> -Xss512k</ span > -jar ~/vnu.jar FILE.html...
53
+ </ pre >
54
+
55
+ </ div >
56
+
46
57
< p > To check all HTML documents in a particular directory:
47
58
< pre >
48
59
java -jar ~/vnu.jar some-directory-name/
@@ -199,6 +210,12 @@ <h4 id="version">--version</h4>
199
210
margin-right : 2px ;
200
211
border-radius : 6px ;
201
212
}
213
+ .note {
214
+ background-color : rgb (241 , 255 , 240 );
215
+ }
216
+ .note p {
217
+ margin-top : 8px ;
218
+ }
202
219
code {
203
220
background-color : # F8F8F8 ;
204
221
border : 1px solid # ccc ;
Original file line number Diff line number Diff line change @@ -49,6 +49,17 @@ <h2>Web-based usage</h2>
49
49
that allows you to enter the URL of an HTML document and have the
50
50
results for that document displayed in the browser.
51
51
52
+ < div class =note >
53
+ < p > < b > Note:</ b > If you get a < code > StackOverflowError</ code >
54
+ error when using the vnu.jar file, try adjusting the thread stack size by
55
+ providing the < code > -Xss</ code > option to java:</ p >
56
+
57
+ < pre >
58
+ java < span class ="option-value "> -Xss512k</ span > -cp ~/vnu.jar nu.validator.servlet.Main 8888
59
+ </ pre >
60
+
61
+ </ div >
62
+
52
63
< section id =http-client >
53
64
< h2 > HTTP client (for fast command-line checking)</ h2 >
54
65
@@ -239,6 +250,12 @@ <h4 id="nuvalidatorclientasciiquotes">nu.validator.client.asciiquotes</h4>
239
250
margin-right : 2px ;
240
251
border-radius : 6px ;
241
252
}
253
+ .note {
254
+ background-color : rgb (241 , 255 , 240 );
255
+ }
256
+ .note p {
257
+ margin-top : 8px ;
258
+ }
242
259
code {
243
260
background-color : # F8F8F8 ;
244
261
border : 1px solid # ccc ;
You can’t perform that action at this time.
0 commit comments