From 2dcc8ba90b0249eb759773cf0608eabbe613f516 Mon Sep 17 00:00:00 2001 From: Baratali Izmailov Date: Sat, 28 May 2016 17:36:45 +0100 Subject: [PATCH] Issue #410: More examples to WritingJavadocChecks wiki-page (#3227) --- src/xdocs/writingjavadocchecks.xml.vm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/xdocs/writingjavadocchecks.xml.vm b/src/xdocs/writingjavadocchecks.xml.vm index a1b93e2e0..6599e176a 100644 --- a/src/xdocs/writingjavadocchecks.xml.vm +++ b/src/xdocs/writingjavadocchecks.xml.vm @@ -313,6 +313,15 @@ JAVADOC -> [0:0] ]]>

+

+ Here is what you get if unknown tag doesn't have matching end tag (for example, HTML5 tag <audio>):
+ Input: + <audio>test + Output: + [ERROR:0] Javadoc comment at column 1 has parse error. Missed HTML close tag 'audio'. Sometimes it means that close tag missed for one of previous tags. + As you see Javadoc parser prints error and doesn't build AST if unknown HTML tag doesn't have matching end tag. +

+

More examples: