Our website uses cookies to enhance your browsing experience.
Accept
to the top
>
>
>
Examples of errors detected by the...

Examples of errors detected by the V735 diagnostic

V735. Possibly an incorrect HTML. The "</XX>" closing tag was encountered, while the "</YY>" tag was expected.


PHP:Hypertext Preprocessor

V735 Possibly an incorrect HTML. The "</head>" closing tag was encountered, while the "</title>" tag was expected. stub.h 23


static inline zend_string* phar_get_stub(....)
{
  ....
  static const char newstub1_1[] =
  "Extract_Phar::$temp))
    {
    \nheader('HTTP/1.0 404 Not Found');
    \necho
    \"<html>
      \\n <head>
        \\n  <title>File Not Found<title>       // <=
      \\n </head>
      \\n <body>
        \\n  <h1>404 - File Not Found</h1>
      \\n </body>
    \\n</html>\";
    // part of the string is hidden
    ";
  ....
}

This fragment contains over a thousand characters in a single line. There's no way to spot the problem like that, so we've split it up.


Qt

V735 Possibly an incorrect HTML. The "</body>" closing tag was encountered, while the "</ul>" tag was expected. qpixeltool.cpp 707


QString QPixelTool::aboutText() const
{
    const QList<QScreen *> screens = QGuiApplication::screens();
    const QScreen *windowScreen = windowHandle()->screen();

    QString result;
    QTextStream str(&result);
    str << "<html></head><body><h2>Qt Pixeltool</h2><p>Qt " << QT_VERSION_STR
     << "</p><p>Copyright (C) 2017 The Qt Company Ltd.</p><h3>Screens</h3><ul>";
    for (const QScreen *screen : screens)
        str << "<li>" << (screen == windowScreen ? "* " : "  ")
            << screen << "</li>";
    str << "<ul></body></html>";
    return result;
}