|How to write % char within xml that is included for org.eclipse.ui.editors.templates [message #640849]
||Tue, 23 November 2010 05:52
Registered: November 2010
I want to write % char within xml file. Whenever xml is parsed by eclipse it tries to search for localized string since % is used in xml to get localized string from .properties file. Is there a way by which you can exclude % from parsing. |
This happens specially when you implement extension point org.eclipse.ui.editors.templates and add new include and specify xml file to read the templates.
For example your included xml file can have this.
<?xml version="1.0" encoding="UTF-8"?>
<template name="test" id="xyz"
description="%test.Description" context="java" enabled="true"
When i start eclipse and view these templates it comes as
note ! mark. while debugging i found that its trying to find localized string which is empty. so ! is displayed.
Powered by FUDForum
. Page generated in 0.09119 seconds