简体   繁体   English

为什么我在Eclipse Indigo中使用php sdk收到“Undefined attribute name”警告?

[英]Why am I getting “Undefined attribute name” warnings in Eclipse Indigo with php sdk?

Has anyone experienced this? 有没有人经历过这个? or does anyone know why I am getting "undefined attribute name" warnings in Eclipse Indigo with PHP SDK? 或者有谁知道为什么我在Eclipse Indigo中使用PHP SDK获得“未定义的属性名称”警告?

this only occurs when I place tags inside html tags, ie 这只发生在我将标签放在html标签内时,即

<span <?php echo ($test_var) ? 'class="active"' : '' ?> >text here</span>

but this is ok : 但这没关系:

<ul>
<?php if( $test ) : ?>
<li>text</li>
<?php endif; ?>
</ul>

I just installed Eclipse Indigo and added the PDT SDK, i never had this kind of warning with galileo ... helios 我刚安装了Eclipse Indigo并添加了PDT SDK,我从来没有用过伽利略这样的警告...... helios

I just got this error by placing a form tag inside a table cell. 我只是通过在表格单元格中放置一个表单标记来解决此错误。 This appears to be an Eclipse issue.. as the Mozilla FF Web Developer Toolbar is telling me my page is in "Standards Compliance Mode". 这似乎是一个Eclipse问题..因为Mozilla FF Web开发人员工具栏告诉我我的页面处于“标准合规模式”。

My page is local right now, but when I get it live I'll test it against the W3C Markup Validation Service and update my answer with the results. 我的页面现在是本地的,但是当我将它生效时,我将针对W3C标记验证服务进行测试,并用结果更新我的答案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM