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

Summary: Error checking tripped up by PHP inside tag attributes
Product: web Reporter: grantovich <grantovich>
Component: HTML EditorAssignee: Marek Fukala <mfukala>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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.