Page 1 of 1

Variable Replacement In Document Template Not Working

Posted: Fri Aug 12, 2011 9:39 pm
by cdecarlo
Hi,

I'm trying to create a document template xsd file. I want to use variable replacement inside this template...for example in my schema declaration I want to do the following...(xml snippet to follow)

Code: Select all

xmlns="http://www.nycourts.gov/xml/ucms/datamodel/shared/servicedm/universal/task/inquiry/${cfn}
Whenever I create a new file using this template it does not actually replace the value of ${cfn} it just leaves that in the newly created file as the literal string ${cfn}.

Am I doing something wrong? I'm running Oxygen 12.2.0 inside Eclipse Indigo (3.7)

Re: Variable Replacement In Document Template Not Working

Posted: Mon Aug 15, 2011 9:00 am
by Radu
Hi,

We have a limitation and editor variables which are related to the location that the saved file will have on disk (like ${cf}, ${cdf}, ${cfn}, etc) are not expanded at all.

In the standalone version of Oxygen this limitation makes sense because the file is first created with a generic "Untitled.xml" name and then the user saves it on the local disk, but in Eclipse the user also chooses the place where the file will be saved so maybe in Eclipse we will be able to overcome this limitation. I will add an improvement request for this and update this post when we find a solution.

Regards,
Radu

Re: Variable Replacement In Document Template Not Working

Posted: Thu Aug 15, 2013 1:47 pm
by Radu
Hi,

Just to update this thread, the issue was fixed in Oxygen 15.0.

Regards,
Radu