| inline php not being recognized [message #61056] | 
Thu, 15 November 2007 03:56  | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hello, 
 
I've installed the latest version of PDT (sept 18 2007, I believe), and  
checked out a php project out of our CVS repository. 
 
I am getting hundreds of annotation errors for inline php.  
 
For example: 
 
  <td style="padding-right: 20px;"><img  
src="<?=WEBIMG_PATH;?>/logo.png"/></td> 
 
The error annotations are: 
- Invalid character used in text string (<?=WEBIMG_PATH;?>/logo.png"/>). 
- Invalid text string (<?=WEBIMG_PATH;?>/logo.png"/>). 
- Tag (img) should be an empty-element tag 
- Start tag (<img>) not closed 
 
Obviously, this is a bug, as the above html/php code is legitimate. 
 
Does anyone know how I can fix this? 
 
Thanks for any info 
 
Max
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.05220 seconds