Search found 65 matches

by Ron Van den Branden
Mon Nov 07, 2022 7:07 pm
Forum: Common Problems
Topic: javascript ANT task no longer working in Oxygen-25.0
Replies: 1
Views: 1040

javascript ANT task no longer working in Oxygen-25.0

Hi, When upgrading from Oxygen-24.1 (with bundled Java version Java SE 8u202) to Oxygen-25.0 (with bundled Java version OpenJDK Temurin 17.0.4.1), I'm stumbling on an ANT script in my project which invokes the Javascript task: <scriptdef name="replaceRegExp" language="javascript"...
by Ron Van den Branden
Fri Feb 12, 2021 12:03 am
Forum: Common Problems
Topic: Error running PDF transformation in recent Oxygen
Replies: 6
Views: 1954

Re: Error running PDF transformation in recent Oxygen

Many thanks Alex, I confirm this has solved the issue!

Best,

Ron
by Ron Van den Branden
Thu Feb 11, 2021 1:36 pm
Forum: Common Problems
Topic: Error running PDF transformation in recent Oxygen
Replies: 6
Views: 1954

Re: Error running PDF transformation in recent Oxygen

Ok, after a bit of tinkering I seem to have found a workaround or solution, by specifying that the <java> task should be executed in a forked JVM, which is running as a clone of the JVM running ANT. In concrete: the transformation does succeed when the <java> task is being specified as folows (notic...
by Ron Van den Branden
Wed Feb 10, 2021 11:09 pm
Forum: Common Problems
Topic: Error running PDF transformation in recent Oxygen
Replies: 6
Views: 1954

Re: Error running PDF transformation in recent Oxygen

Hi Martin, Could it be the duplicate references? Or is this something to do with this lib: ${framework(TEI P5)}/xml/tei/jtei_aux/trans/pdf/lib/fontbox-*.jar That would surprise me: These duplicate entries have always existed, in order to improve compatibility with older Oxygen versions, and have nev...
by Ron Van den Branden
Wed Feb 10, 2021 8:52 pm
Forum: Common Problems
Topic: Error running PDF transformation in recent Oxygen
Replies: 6
Views: 1954

Re: Error running PDF transformation in recent Oxygen

Hi all, Thanks for raising the issue here, Martin. Perhaps it could help to know that this is an ANT transformation scenario, which invokes an XSLT transformation via Java. This is the failing ANT task: <target name="transform-fo"> <delete file="${cfd}/${dest.file.basename}.fo"/>...
by Ron Van den Branden
Mon Mar 30, 2020 1:34 pm
Forum: Common Problems
Topic: validation scenario associations seem to override the default project scenario
Replies: 5
Views: 1785

Re: validation scenario associations seem to override the default project scenario

Hi Adrian, Thanks for your elaboration. I fully understand an integrated editor is a complex beast and that UI decisions have way more far-reaching consequences than it seems at first sight. Validation is performed on-demand, but as you open or edit a document, it can also be automatic (with the ass...
by Ron Van den Branden
Thu Mar 26, 2020 8:55 pm
Forum: Common Problems
Topic: validation scenario associations seem to override the default project scenario
Replies: 5
Views: 1785

Re: validation scenario associations seem to override the default project scenario

Hi Adrian, To clarify how the validation mechanism works, when a file is being validated (it doesn't matter if in batch or single) Oxygen looks for the means to validate the file in the following order (first found is used): 1. It checks if a validation scenario is explicitly associated with the fil...
by Ron Van den Branden
Thu Mar 26, 2020 12:07 am
Forum: Common Problems
Topic: validation scenario associations seem to override the default project scenario
Replies: 5
Views: 1785

validation scenario associations seem to override the default project scenario

Hi, I'm struggling defining validation scenarios for a project (I'm using an XPR file in Oxygen-22). I've created a Schematron file with two phases: a "light" phase, which only checks for structural properties a "full" phase, which checks for structural properties and substantive...
by Ron Van den Branden
Mon Jan 13, 2020 11:47 am
Forum: Common Problems
Topic: Oxygen-21.1: bug with evaluation of ${ask} editor variable?
Replies: 5
Views: 1914

Re: Oxygen-21.1: bug with evaluation of ${ask} editor variable?

Hi Sorin, Many thanks for your workaround. Until Oxygen-21, I managed to "escape" the apostrophe by enclosing the value for that variable in which it occurs in double quotes (analogous to how either single or double quotation marks can be used as XML attribute delimiters): see my previous ...
by Ron Van den Branden
Fri Jan 10, 2020 7:42 pm
Forum: Common Problems
Topic: Oxygen-21.1: bug with evaluation of ${ask} editor variable?
Replies: 5
Views: 1914

Oxygen-21.1: bug with evaluation of ${ask} editor variable?

Hi, In Oxygen-21.1 (build 2019120214) I'm experiencing problems with an ANT transformation scenario that's making use of the ${ask} editor variable. The transformation used to work (and is still working) without problems in earlier Oxygen versions, so it seems tied to version 21.1. The variable is d...
by Ron Van den Branden
Thu Jun 13, 2019 11:56 am
Forum: Common Problems
Topic: Oxygen-21.1 throws Java errors for XSLT transformations via Ant taks (while the XSLT itself is fine)
Replies: 4
Views: 2452

Re: Oxygen-21.1 throws Java errors for XSLT transformations via Ant taks (while the XSLT itself is fine)

Hi Adrian,

Ah, sorry, I had overlooked that argument. I can confirm: specifying "-target:HE" makes it work like a charm!

Thanks,

Ron
by Ron Van den Branden
Thu Jun 13, 2019 10:55 am
Forum: Common Problems
Topic: Oxygen-21.1 throws Java errors for XSLT transformations via Ant taks (while the XSLT itself is fine)
Replies: 4
Views: 2452

Re: Oxygen-21.1 throws Java errors for XSLT transformations via Ant taks (while the XSLT itself is fine)

Hi Adrian, Thanks for your confirmation and suggested solution. I should have checked, and indeed: the Saxon version running in Ant is reported as Saxon-EE 9.8.0.12J. In the past, we had switched our XSLT tranformations to Saxon-HE, since they aren't using any extension or schema-aware features, and...
by Ron Van den Branden
Tue Jun 11, 2019 4:50 pm
Forum: Common Problems
Topic: Oxygen-21.1 throws Java errors for XSLT transformations via Ant taks (while the XSLT itself is fine)
Replies: 4
Views: 2452

Oxygen-21.1 throws Java errors for XSLT transformations via Ant taks (while the XSLT itself is fine)

Hi, I'm facing an issue with Oxygen Editor 21.1, build 2019052108, running on Windows 10 Professional (version 1903). I have an XSLT stylesheet which is producing errors when invoked via an Ant transformation task on some XML input files. I'll quote the errors below, but first some other observation...
by Ron Van den Branden
Tue Jun 11, 2019 3:34 pm
Forum: Common Problems
Topic: batch transformations in Oxygen-21.1: transformation scenarios dialog is empty
Replies: 3
Views: 1762

Re: batch transformations in Oxygen-21.1: transformation scenarios dialog is empty

Hi Adrian, It depends a lot on what's inside those project folders. If you have files of mixed types (xml, xsl, css, etc) in a folder, you will get a blank list as there is no single transformation scenario that can be applied on all types of files. That's indeed the case. You can adjust the setting...
by Ron Van den Branden
Tue Jun 11, 2019 11:17 am
Forum: Common Problems
Topic: batch transformations in Oxygen-21.1: transformation scenarios dialog is empty
Replies: 3
Views: 1762

Re: batch transformations in Oxygen-21.1: transformation scenarios dialog is empty

For clarity: I want to (and believe I previously could) run just 1 transformation on selected project folders. Yet, while I can't select any in the empty transformation scenarios dialog, if I just choose "Apply Transformation Scenario(s)" from the context menu, a number of transformations ...
by Ron Van den Branden
Mon Jun 10, 2019 10:19 pm
Forum: Common Problems
Topic: batch transformations in Oxygen-21.1: transformation scenarios dialog is empty
Replies: 3
Views: 1762

batch transformations in Oxygen-21.1: transformation scenarios dialog is empty

Hi, I'm running Oxygen Editor 21.1, build 2019052108, running on Windows 10 Professional (version 1903). I have a project with associated transformation scenarios, and some project folders defined in the XPR file. When I try to select some of those project folders and run a batch transformation scen...
by Ron Van den Branden
Tue Apr 03, 2018 6:22 pm
Forum: Common Problems
Topic: Oxygen-20.0 is CPU-hogging
Replies: 4
Views: 3080

Re: Oxygen-20.0 is CPU-hogging

Hi Adrian,

Good to know you've already identified the problem, and thanks for the detailed instructions! I've successfully replaced the JRE with the previous version, I trust this will improve the situation.

Best,

Ron
by Ron Van den Branden
Tue Apr 03, 2018 5:28 pm
Forum: Common Problems
Topic: Oxygen-20.0 is CPU-hogging
Replies: 4
Views: 3080

Re: Oxygen-20.0 is CPU-hogging

One more observation: switching perspectives (e.g. from "Editor" to "XSLT Debugger") seems to drop CPU usage for a while.
by Ron Van den Branden
Tue Apr 03, 2018 5:23 pm
Forum: Common Problems
Topic: Oxygen-20.0 is CPU-hogging
Replies: 4
Views: 3080

Oxygen-20.0 is CPU-hogging

Hi, On my Windows 7 (64bit) PC, Oxygen-20.0 (build 2018032903) tends to swallow lots of CPU when it's left idling. Even though I'm not doing anything in Oxygen, CPU will often rise to 10-20%, and the PC fan goes fanning. This was not the case with previous versions of Oxygen. Unfortunately, I'm not ...
by Ron Van den Branden
Mon Dec 18, 2017 4:27 pm
Forum: Common Problems
Topic: (new) log4j warning with XSLT transformation via ANT
Replies: 3
Views: 1944

Re: (new) log4j warning with XSLT transformation via ANT

Hi Radu, Thanks, that makes sense. I don't see a ${oxygenHome}/log4j.properties file, though, but it does work with the one I find at ${oxygenHome}/frameworks/dita/DITA-OT/. Adding this path to the classpath indeed solves the issue at hand. I have control over the framework I'm developing this ANT s...
by Ron Van den Branden
Mon Dec 18, 2017 3:04 pm
Forum: Common Problems
Topic: (new) log4j warning with XSLT transformation via ANT
Replies: 3
Views: 1944

(new) log4j warning with XSLT transformation via ANT

Hi, When performing an XSLT transformation via an ANT task with Oxygen-19.1, I notice how I'm getting a warning I don't recall seeing before: [java] log4j:WARN No appenders could be found for logger (ro.sync.util.security.f). [java] log4j:WARN Please initialize the log4j system properly. Note: the t...
by Ron Van den Branden
Wed Sep 13, 2017 10:43 am
Forum: Common Problems
Topic: how to configure log4j logging for Ant FOP task?
Replies: 4
Views: 4317

Re: how to configure log4j logging for Ant FOP task?

Hi Adrian, Ahh, I had put the -Dlog4j.configuration argument in the wrong place: "Additional arguments" instead of "JVM Arguments". My bad, I can confirm it works perfectly if I accurately follow your earlier instructions and add the reference to the log4j properties file under &...
by Ron Van den Branden
Tue Sep 12, 2017 4:29 pm
Forum: Common Problems
Topic: how to configure log4j logging for Ant FOP task?
Replies: 4
Views: 4317

Re: how to configure log4j logging for Ant FOP task?

Hi Adrian, Thanks for your help. Normally just placing the log4j.properties file in the working directory, or the classpath folder works, but I found this is not the case with ANT. So the easiest way I found for an ANT scenario is to keep the log4j.properties file in the same folder as the ant build...
by Ron Van den Branden
Mon Sep 11, 2017 11:51 pm
Forum: Common Problems
Topic: how to configure log4j logging for Ant FOP task?
Replies: 4
Views: 4317

how to configure log4j logging for Ant FOP task?

Hi, I have trouble getting logging right for an ANT transformation scenario that invokes a FOP task. Consider this simple Ant task: <target name="transform-pdf"> <fop format="application/pdf" fofile="test.fo" outfile="test.pdf" messagelevel="debug"/>...
by Ron Van den Branden
Sat Mar 11, 2017 1:36 am
Forum: Common Problems
Topic: XSLT instructions inside Schematron are working fine, but are they supposed to at all?
Replies: 1
Views: 2312

XSLT instructions inside Schematron are working fine, but are they supposed to at all?

Hi, I am writing an ISO Schematron file for validating my XML files, and have encountered a nice feature, but am wondering about its status. It seems that embedded XSLT instructions in a Schematron file are just processed. For example, following Schematron file contains a dummy rule that will always...
by Ron Van den Branden
Wed Nov 09, 2016 5:44 pm
Forum: Common Problems
Topic: defining the classpath for an ANT task in an ANT build file
Replies: 1
Views: 5909

defining the classpath for an ANT task in an ANT build file

Hi, I am maintaining a framework that defines an ANT transformation task that (among others) executes a FOP transformation. After an Oxygen update, I noticed the included FOP distribution had been updated, so I had to update the jar file references. In order to improve future compatibility, I tried ...
by Ron Van den Branden
Mon Jun 22, 2015 11:12 pm
Forum: Common Problems
Topic: specify editor variable as default value for 'url' parameter
Replies: 4
Views: 2996

Re: specify editor variable as default value for 'url' param

Ah, I stand corrected: it does seem to work in Oxygen 17.0. In my previous attempt I had forgotten to wrap the default value (including the ${pdu} variable) in quotation marks. This is the correct version: ${ask('folder or file', url, '${pdu}')} Now, the value of the project folder is filled in the ...
by Ron Van den Branden
Mon Jun 22, 2015 10:29 pm
Forum: Common Problems
Topic: specify editor variable as default value for 'url' parameter
Replies: 4
Views: 2996

Re: specify editor variable as default value for 'url' param

Hi Radu, I thought I had seen evaluation of ${ask()} variables mentioned in some changelogs for version 17.0, but when I tried to specify the project folder of an Oxygen Project as default folder in the ${ask()} variable (in the latest build 2015052917): ${ask('folder or file', url, ${pdu})} I notic...
by Ron Van den Branden
Tue May 19, 2015 5:16 pm
Forum: Common Problems
Topic: (how) does Oxygen add Schematron Quick Fixes dynamically?
Replies: 5
Views: 3139

Re: (how) does Oxygen add Schematron Quick Fixes dynamically

Hi Octavian, Many thanks for your thoughts. This solution is ok for you, or you want to create dynamically all the proposals as fixes? A way to create fixes dynamically for each proposal is what I was looking for originally; I'll definitely inquire at the github tracker. Yet, sqf:user-entry definite...