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.
[NB 6.1 build #20080125; JDK 6u3] I have a project with WordPress 2.3.2 sources. The editor reports an error on line 17 of the wp-links-opml.php file. The offending code fragment is: <!-- generator="wordpress/<?php bloginfo_rss('version') ?>" --> Adding a semicolon ';' after the PHP statement fixes the problem.
Reproduced on 6.1 m1
I'm not sure that we can fix it with changing .nbs file only. It seems it would be possible to write .nbs file for described situation but only when file contains PHP block without HTML blocks. Because the following code will be not correctly recognized by .nbs file ( no matter how it is written ) : <?php echo "one" ?> <a href="a">href</a> <?php echo "two" ?> But I need to investigate this more deeply.
I have investigated situation and investigation confirms my suggestion that syntax without ";" will works only for PHP file without HTML. So I don't know how we can change situation via changing ".nbs" file. Need to ask "languages" module guys.
Fixed in with the new PHP parser.