This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The following is a valid PHP/HTML code combination: <input value="" <?php echo ""; ?>/><p> </p> NetBeans reports a warning for attribute "value", that reads: "unknown attribute value of tag <p>" Obviously there is a problem, when a PHP-tag is found inside a HTML tag. Several similar warnings and errors can be provoked by writing similar constructs. Another example: <form method="post" action="index.php" <?php echo ''; ?>> </form> NetBeans reports a warning for "unmatched tag" tag "</form>". Another example: <ul> <li <?php echo ""; ?>> <a href="">test</a> </li> </ul> NetBeans reports an error for tag "a" (unexpected tag a found, expecting one of li), another warning for "</li>" (unmatched tag) and another error for "ul" (the content is unresolved, expecting one of li). Suggestion: Maybe HTML-errors should be ignored where NetBeans can't predict the output of a script? Otherwise NetBeans will clutter up all error-reports / task-list with messages, that are obviously nonsense. Background information: While users are encouraged not to mix PHP and HTML anyway, PHP template engines like Smarty automatically produce mixed content pages for output-caching. NetBeans tries to index these cached files and by doing so produces tons of false-positives.
Probably a duplicate of issue 149968, marku please verify
Yes, you are right it is duplicate of issue #149968 *** This issue has been marked as a duplicate of 149968 ***