Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324095 - Syntax Coloring of xml when we disable short tags should be fixed
Summary: Syntax Coloring of xml when we disable short tags should be fixed
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact: Ilina Stefanova CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-31 10:26 EDT by Sylvia Tancheva CLA
Modified: 2020-05-14 11:33 EDT (History)
1 user (show)

See Also:


Attachments
screen-shot (15.11 KB, image/png)
2010-08-31 10:26 EDT, Sylvia Tancheva CLA
no flags Details
patch (2.64 KB, patch)
2010-11-16 04:23 EST, xu jiaxi CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvia Tancheva CLA 2010-08-31 10:26:33 EDT
Created attachment 177842 [details]
screen-shot

1. Go to Project -> Properties -> PHP Interpreter
Enable Project Specific Settings -> disable Use Short tags and rebuild
2. Use this code in a php file:
<?xml version='1.0' standalone='no'?>

Expected: In case of disabling the short tags, the highlighting of short tags should be exactly as it is provided in a simple HTML editor (i.e green)

Actual: They still look as short php tags (i.e. red)

See screen-shot
Comment 1 xu jiaxi CLA 2010-11-16 04:23:40 EST
Created attachment 183198 [details]
patch

It seems that it can be reproduced if enable Use Short tags, not disable Use Short tags.
Comment 2 Zhongwei Zhao CLA 2011-06-08 23:29:29 EDT
applied the patch to head,thanks!
Comment 3 Ilina Stefanova CLA 2011-07-25 06:48:27 EDT
Verified.