updated framework not used in conversion

I'm puzzled... I have installed all the recent updates to the TEI framework from the TEI site, and my local .com.oxygen.xml directory contains an updated version of one of the XSLT scripts provided as a result: -rw-rw-r-- 1 lou lou 13520 Apr 29 12:02 ./.com.oxygenxml/extensions/v16.1/frameworks/http___www.tei_c.org_release_oxygen_updateSite.oxygen/tei/xml/tei/stylesheet/profiles/oulipo/from_common.xsl However, when I actually run the conversion from within oXygen, it does not use this version, but instead the one released ages ago, which is still in the installation directory: -rw-r--r-- 1 lou lou 9612 Jan 22 13:43 ./OxygenXMLEditor16/frameworks/tei/xml/tei/stylesheet/profiles/oulipo/from_common.xsl The Ant script I am running in my transformation says "Loading stylesheet /home/lou/OxygenXMLEditor16/frameworks/tei/xml/tei/stylesheet/profiles/oulipo/docx/from.xsl" It also uses the build-from.xml file from the same directory, rather than the one one in the .com.oxygml tree, which is however identical. But since it uses relative paths, maybe that is the problem? Any advice much appreciated...

Hi Lou, You should try to edit the transformation scenario and see how it references the ANT build file. Ideally it would refer to it using a special editor variable which locates the latest TEI P5 installed framework like:
${frameworkDir(TEI P5)}/xml/tei/stylesheet/docx/build-to.xml
If the transformation scenario is shown as read-only (and thus it's defined at framework level) you can find the "TEI P5" document type installed as an add-on in the "Document Type Association" preferences page and you can edit the scenario in the "Transformation" tab. All transformation scenarios defined at framework level should refer to various resources using the "${frameworkDir}" editor variable in order to be portable and self contained. Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 4/29/2015 3:05 PM, Lou Burnard wrote:
I'm puzzled...
I have installed all the recent updates to the TEI framework from the TEI site, and my local .com.oxygen.xml directory contains an updated version of one of the XSLT scripts provided as a result:
-rw-rw-r-- 1 lou lou 13520 Apr 29 12:02 ./.com.oxygenxml/extensions/v16.1/frameworks/http___www.tei_c.org_release_oxygen_updateSite.oxygen/tei/xml/tei/stylesheet/profiles/oulipo/from_common.xsl
However, when I actually run the conversion from within oXygen, it does not use this version, but instead the one released ages ago, which is still in the installation directory:
-rw-r--r-- 1 lou lou 9612 Jan 22 13:43 ./OxygenXMLEditor16/frameworks/tei/xml/tei/stylesheet/profiles/oulipo/from_common.xsl
The Ant script I am running in my transformation says "Loading stylesheet /home/lou/OxygenXMLEditor16/frameworks/tei/xml/tei/stylesheet/profiles/oulipo/docx/from.xsl"
It also uses the build-from.xml file from the same directory, rather than the one one in the .com.oxygml tree, which is however identical. But since it uses relative paths, maybe that is the problem?
Any advice much appreciated...
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Thanks Radu, that's very helpful. In fact, I had edited this transformation scenario, though not in the way it was referencing the ANT build file. I was working on a copy of the framework's default DOCX TEI scenario, which was looking for the ANT build file in ${frameworks} I note your comment below about ${frameworkDir} but this does not appear on the available list of editor variables; the default seems to be ${baseframeworkdir} : is that a synonym? On 29/04/15 13:43, Oxygen XML Editor Support (Radu Coravu) wrote:
Hi Lou,
You should try to edit the transformation scenario and see how it references the ANT build file. Ideally it would refer to it using a special editor variable which locates the latest TEI P5 installed framework like:
${frameworkDir(TEI P5)}/xml/tei/stylesheet/docx/build-to.xml
If the transformation scenario is shown as read-only (and thus it's defined at framework level) you can find the "TEI P5" document type installed as an add-on in the "Document Type Association" preferences page and you can edit the scenario in the "Transformation" tab. All transformation scenarios defined at framework level should refer to various resources using the "${frameworkDir}" editor variable in order to be portable and self contained.
Regards, Radu

Hi Lou, Sorry but I don't know much about your setup. Did you extend the TEI P5 framework in the "Document Type Association" preferences page and make modifications to it? Was it the framework which comes with Oxygen or the one installed via the update site from the TEI web site? Was your extension saved internal or to an external location? About this remark:
I note your comment below about ${frameworkDir} but this does not appear on the available list of editor variables; the default seems to be ${baseframeworkdir} : is that a synonym?
Usually an editor variable like "${baseframeworkdir}" can be used when you extend an existing framework. Such a variable resolves to the place where the base framework is located. Could you give me a screenshot with your entire application when the editor variables proposals drop down is show? Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 4/29/2015 5:54 PM, Lou Burnard wrote:
Thanks Radu, that's very helpful. In fact, I had edited this transformation scenario, though not in the way it was referencing the ANT build file. I was working on a copy of the framework's default DOCX TEI scenario, which was looking for the ANT build file in ${frameworks}
I note your comment below about ${frameworkDir} but this does not appear on the available list of editor variables; the default seems to be ${baseframeworkdir} : is that a synonym?
On 29/04/15 13:43, Oxygen XML Editor Support (Radu Coravu) wrote:
Hi Lou,
You should try to edit the transformation scenario and see how it references the ANT build file. Ideally it would refer to it using a special editor variable which locates the latest TEI P5 installed framework like:
${frameworkDir(TEI P5)}/xml/tei/stylesheet/docx/build-to.xml
If the transformation scenario is shown as read-only (and thus it's defined at framework level) you can find the "TEI P5" document type installed as an add-on in the "Document Type Association" preferences page and you can edit the scenario in the "Transformation" tab. All transformation scenarios defined at framework level should refer to various resources using the "${frameworkDir}" editor variable in order to be portable and self contained.
Regards, Radu
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (2)
-
Lou Burnard
-
Oxygen XML Editor Support (Radu Coravu)