Opened 15 years ago
Closed 15 years ago
#11940 closed defect (bug) (invalid)
Eclipse validation false-positive: Error: Duplicate tag (html)
Reported by: | UnderWordPressure | Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | trivial | Version: | 2.9.1 |
Component: | Optimization | Keywords: | has-patch |
Focuses: | Cc: |
Description
I develop my add-ons in PHP-Eclipse.
On every new WP-Release there was a validation error in
wp-includes/functions.php
Reason is a Here-Document at line 2863 (see screenshots).
If this block will be printed, the code is okay for the Eclipse validation.
Attachments (3)
Change History (7)
#1
@
15 years ago
- Component changed from Validation to Optimization
- Keywords has-patch added
- Milestone changed from Unassigned to Future Release
#2
@
15 years ago
- Summary changed from Eclipse validation error:Duplicate tag (html) to Eclipse validation false-positive: Error: Duplicate tag (html)
Note: See
TracTickets for help on using
tickets.
The HTML validator in Eclipse is not all the time able to properly work with HTML fragments within PHP code, that is why it shows a error/warning here and there.
To show the picutre on current trunk:
Normally there is not taken any care of such things because we do not write code to fix against Eclipse deficiencies.
Please only put tickets to component validation that are about output validation.
I suggest to close as invalid.
If you do not want to see such errors any longer, please disbale the HTML checker for the files it does report those warnings in error (e.g. by creating a working set for validation in your eclipse configuration).