You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I use the validator jar on the command line for parsing HTML5 files (local or URL based), I get a XHTML error:
java -jar ~/software/vnu/vnu/vnu.jar --html /software/vnu/vnu/index.html
"file:/software/vnu/vnu/index.html":140.23-140.23: error: XHTML element “style” not allowed as child of XHTML element “p” in this context. (Suppressing further errors from this subtree.)
If instead I run using the http client against a locally running standalone vnu instance I get an error which doesn't reference XHTML:
java -cp ~/software/vnu/vnu/vnu.jar nu.validator.client.HttpClient /software/vnu/vnu/index.html
"/software/vnu/vnu/index.html":140.1-140.23: error: Element "style" not allowed as child of element "p" in this context. (Suppressing further errors from this subtree.)
Why the difference in error reporting?
The text was updated successfully, but these errors were encountered:
If I use the validator jar on the command line for parsing HTML5 files (local or URL based), I get a XHTML error:
java -jar ~/software/vnu/vnu/vnu.jar --html
/software/vnu/vnu/index.html/software/vnu/vnu/index.html":140.23-140.23: error: XHTML element “style” not allowed as child of XHTML element “p” in this context. (Suppressing further errors from this subtree.)"file:
If instead I run using the http client against a locally running standalone vnu instance I get an error which doesn't reference XHTML:
java -cp ~/software/vnu/vnu/vnu.jar nu.validator.client.HttpClient
/software/vnu/vnu/index.html/software/vnu/vnu/index.html":140.1-140.23: error: Element "style" not allowed as child of element "p" in this context. (Suppressing further errors from this subtree.)"
Why the difference in error reporting?
The text was updated successfully, but these errors were encountered: