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.

Bug 168829 - Error checking tripped up by PHP inside tag attributes
Summary: Error checking tripped up by PHP inside tag attributes
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-20 18:02 UTC by grantovich
Modified: 2009-07-21 09:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description grantovich 2009-07-20 18:02:21 UTC
If there is some PHP code anywhere inside the attributes area of an HTML tag, NetBeans will think the tag doesn't 
exist, and display errors accordingly. A minimal example:

<table>
    <tr <?php $attribs ?>>
        <td>Test</td>
    </tr>
</table>

The <table> will be marked "tag content unresolved", the <td> will be marked "unexpected tag found", and the </tr> 
will be marked "unmatched tag". In other words, it seems the opening <tr> is rendered invisible to the error checker.
Comment 1 Marek Fukala 2009-07-21 09:46:58 UTC
This issues is fixed in netbeans 6.7.1 patch release, should be available soon. Thanks for the report.