Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324095

Summary: Syntax Coloring of xml when we disable short tags should be fixed
Product: z_Archived Reporter: Sylvia Tancheva <silviya>
Component: PDTAssignee: PHP UI <php.ui-inbox>
Status: CLOSED FIXED QA Contact: Ilina Stefanova <ilina.s>
Severity: normal    
Priority: P3 CC: karl
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
screen-shot
none
patch none

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.