Search found 54 matches

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: 364

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: 364

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: 364

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: 292

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: 292

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 is being e...
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: 292

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: 1332

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: 1332

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: 1332

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: 973

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: 973

(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: 1915

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 "JVM Arguments". Prob...
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: 1915

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: 1915

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"/> </target> ...when I execute this with following j...
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: 1194

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: 2995

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: 1853

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: 1853

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: 1939

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...
by Ron Van den Branden
Mon May 18, 2015 5:15 pm
Forum: Common Problems
Topic: (how) does Oxygen add Schematron Quick Fixes dynamically?
Replies: 5
Views: 1939

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

Hi Octavian, Many thanks for your clarifications. Apologies I hadn't found the documentation for the "Quick Fixes for XSD and Relax NG Errors" before. Yes, you ca create a fix based on the values from the document. In your case you need to create a fix for each value you want to set. Then make avail...
by Ron Van den Branden
Mon May 18, 2015 1:44 pm
Forum: Common Problems
Topic: (how) does Oxygen add Schematron Quick Fixes dynamically?
Replies: 5
Views: 1939

(how) does Oxygen add Schematron Quick Fixes dynamically?

Hi, I've been toying with Oxygen's implementation of Schematron Quick Fixes (SQF), and discovered that Oxygen seems to generate SQF rules based on what's in a schema. As soon as I define a closed attribute list in my (RelaxNG) schema, like this: <element name="title"> <ref name="macro.paraContent"/>...
by Ron Van den Branden
Mon May 18, 2015 1:23 pm
Forum: Common Problems
Topic: XSLT via ANT fails in Oxygen-17.0
Replies: 3
Views: 1309

Re: XSLT via ANT fails in Oxygen-17.0

Hi,

As a follow-up, this error seemed to boil down to a classpath issue. Meanwhile, this issue has been fixed in the latest Oxygen build (Build ID: 2015051321).

Thanks for investigating and fixing this!

Ron
by Ron Van den Branden
Tue May 12, 2015 2:44 pm
Forum: Common Problems
Topic: XSLT via ANT fails in Oxygen-17.0
Replies: 3
Views: 1309

XSLT via ANT fails in Oxygen-17.0

Hi, In an Oxygen project I have defined an ANT transformation invoking an XSLT transformation, via the Java ANT task: <target name="xslt"> <java classname="net.sf.saxon.Transform"> <arg value="-s:${in}"/> <arg value="-xsl:${xslt}"/> <arg value="-o:${out}"/> </java> </target> This worked flawlessly w...
by Ron Van den Branden
Mon Mar 30, 2015 3:48 pm
Forum: SDK-API, Frameworks - Document Types
Topic: define FOP configuration file in framework
Replies: 1
Views: 1176

define FOP configuration file in framework

Hi, I've been developing an XSL-FO transformation scenario in an Oxygen project, for which I have defined a dedicated configuration file in the project-specific "FO Processor Settings" http://www.oxygenxml.com/doc/ug-editor/#topics/preferences-fo-processors.html . Eventually, this project will have ...
by Ron Van den Branden
Wed Mar 25, 2015 4:14 pm
Forum: Feature Request
Topic: an inheritance mechanism for document types
Replies: 3
Views: 1823

Re: an inheritance mechanism for document types

Hi Radu, Thanks, but for some reason or other I can't store such an extension externally. The default location (under c:\programs) requires administrator privileges, while whatever other location I try is rejected as not defined in the 'locations' tab of the preferences. Even if I had done so (and r...
by Ron Van den Branden
Wed Mar 25, 2015 1:40 pm
Forum: Feature Request
Topic: an inheritance mechanism for document types
Replies: 3
Views: 1823

an inheritance mechanism for document types

Hi, Document association rules are now exclusive, meaning that when two document types are associated with the same criteria, only the one with highest priority is applied. Yet, in some cases it would be nice to have some inheritance mechanism, where default rules from document type 1 are applied, a...
by Ron Van den Branden
Fri Feb 20, 2015 2:03 pm
Forum: Common Problems
Topic: how can I use 'smart paste' from the TEI framework in anothe
Replies: 2
Views: 1063

Re: how can I use 'smart paste' from the TEI framework in an

Hi Alex, Thanks for the confirmation: I've double checked, and all files are in place. Even better, on closer investigation, I can confirm the 'smart paste' does work as it should! I seem to have been misled by some specific display options in the Author Mode for the project I'm working on: the disp...
by Ron Van den Branden
Thu Feb 19, 2015 12:51 pm
Forum: Common Problems
Topic: how can I use 'smart paste' from the TEI framework in anothe
Replies: 2
Views: 1063

how can I use 'smart paste' from the TEI framework in anothe

Hi, I'm developing an Oxygen project dealing with TEI conformant documents and would like to offer my users 'smart paste' functionality in Author mode. I had noticed that 'smart paste' didn't work out-of-the-box, and is apparently a feature that has to be catered for by the framework (see http://www...
by Ron Van den Branden
Wed Dec 10, 2014 6:23 pm
Forum: Common Problems
Topic: store data source definitions in a project?
Replies: 3
Views: 1158

Re: store data source definitions in a project?

Hi Adrian, I've experimented a bit further, and this seems a possible scenario: [1] export global options [2] isolate "stored sessions" (database.stored.sessions1) (I'm defining a scenario for a shared database account for all project members, so username and passwords shouldn't be a problem) [3] in...
by Ron Van den Branden
Thu Dec 04, 2014 12:15 am
Forum: Common Problems
Topic: store data source definitions in a project?
Replies: 3
Views: 1158

store data source definitions in a project?

Hi, I have defined some eXist database connections in my project and would like to share them with other team members, so they don't have to define them themselves. Is this possible? I couldn't find any trace of data source definitions in the project XPR file I'm editing. Is there perhaps another ex...