Code template no longer working after update to 21.1

Having trouble installing Oxygen? Got a bug to report? Post it all here.
martindholmes
Posts: 178
Joined: Wed Apr 20, 2005 5:43 pm
Location: Victoria, BC, Canada

Code template no longer working after update to 21.1

Post by martindholmes »

Hi there,

I have a bunch of code templates that look like this:

Code: Select all

<title level="a">${xpath_eval(replace('${selection}', '[“”]+', ''))}</title>
which were working OK, but having just upgraded to 21.1, they don't seem to be working; nothing happens when I hit the keystroke sequence defined for the template (in this case Control + Shift + A / M1+M2-A). The idea is that a string of text with quotes around it is tagged as an analytic title in TEI, and the quotation marks are removed in the process.

Has something changed which might cause this? Or is there a way to rewrite this so it will work?

All help appreciated,
Martin
alex_jitianu
Posts: 1009
Joined: Wed Nov 16, 2005 11:11 am

Re: Code template no longer working after update to 21.1

Post by alex_jitianu »

Hi Martin,

I'm sorry for the nuisance... I've fixed the issue and the fix will be available in the next maintenance build. If it bothers you too much, please let me know. I can send you an updated version of the editor parser engine.

Best regards,
Alex
martindholmes
Posts: 178
Joined: Wed Apr 20, 2005 5:43 pm
Location: Victoria, BC, Canada

Re: Code template no longer working after update to 21.1

Post by martindholmes »

Hi Alex,

If it's as simple as dropping a new version of a jar file in the lib folder, then please do send it along (mholmes@uvic.ca). Otherwise, I'm happy to wait for the next release.

All the best,
Martin
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: Code template no longer working after update to 21.1

Post by Radu »

Hi,

Just to update this thread, we fixed the problem in the latest minor bug fix release available on our web site.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply