Search found 45 matches

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

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

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

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

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

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

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

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

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

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

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

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 ...
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: 1125

(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...
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: 785

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

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}&...
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: 542

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 ...
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: 957

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

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

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

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

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 probl...
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: 676

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...
by Ron Van den Branden
Wed Oct 29, 2014 12:08 pm
Forum: Common Problems
Topic: how to select folders with ${ask()} editor variable
Replies: 7
Views: 1142

Re: how to select folders with ${ask()} editor variable

Hi Radu, The third parameter which can be given to the ask editor variable is a default location Sorry; I had overlooked that due to the fact that I had to work around the current limitation that ${ask()} editor variables are evaluated too early in ANT tasks (as I reported in another thread http://w...
by Ron Van den Branden
Wed Oct 29, 2014 1:03 am
Forum: Common Problems
Topic: how to select folders with ${ask()} editor variable
Replies: 7
Views: 1142

Re: how to select folders with ${ask()} editor variable

Hi Radu, Thanks for your thoughts. I will add an improvement request for this. Just to see if I understand, the ask editor variable is used as a parameter to an XSLT-based scenario which is then read in the XSLT and the XSLT iterates resources. Indeed; in this case it is used in an ANT transformatio...
by Ron Van den Branden
Sat Oct 25, 2014 1:05 am
Forum: Common Problems
Topic: Oxygen-16.1: error while expanding the 'ask' editor variable
Replies: 7
Views: 1163

Re: Oxygen-16.1: error while expanding the 'ask' editor vari

Great, I can confirm it works now. Thanks!

Ron
by Ron Van den Branden
Thu Oct 23, 2014 5:40 pm
Forum: Common Problems
Topic: how to select folders with ${ask()} editor variable
Replies: 7
Views: 1142

how to select folders with ${ask()} editor variable

Hi, For a transformation scenario I'm developing in a project, I am looking for an elegant way to ask which files or folders to transform. The most user-friendly option would be a combo box that is populated by a dynamic lookup of the subfolders in a given folder (since more subfolders may be added ...
by Ron Van den Branden
Mon Oct 20, 2014 10:55 pm
Forum: Common Problems
Topic: specify editor variable as default value for 'url' parameter
Replies: 4
Views: 1072

specify editor variable as default value for 'url' parameter

Hi, For some parameters in a transformation scenario I'm developing for a project, I'm gathering user input with the ${ask()} variable. In order to let the user select files, the ${ask()} variable of type 'url' seems quite convenient. However, I'm wondering whether it is possible to define a default...
by Ron Van den Branden
Wed Oct 15, 2014 2:47 pm
Forum: Common Problems
Topic: Oxygen-16.1: error while expanding the 'ask' editor variable
Replies: 7
Views: 1163

Re: Oxygen-16.1: error while expanding the 'ask' editor vari

Hi Radu, I see, apparently the problem is limited to the ANT task. This should reproduce the problem: a new project, created from scratch which contains only one ANT task: <project version="16.1"> <meta> <filters directoryPatterns="" filePatterns="" positiveFilePatterns...
by Ron Van den Branden
Wed Oct 15, 2014 1:37 pm
Forum: Common Problems
Topic: Oxygen-16.1: error while expanding the 'ask' editor variable
Replies: 7
Views: 1163

Re: Oxygen-16.1: error while expanding the 'ask' editor vari

Hi Radu, Thanks for your thoughts. I've isolated this parameter in an otherwise empty task and it works indeed. The error I reported occurred in a more complete task definition that passed more parameters. Investigating this further I think I've found two interesting observations: ⋅ the pr...
by Ron Van den Branden
Tue Oct 14, 2014 5:17 pm
Forum: Common Problems
Topic: Oxygen-16.1: error while expanding the 'ask' editor variable
Replies: 7
Views: 1163

Oxygen-16.1: error while expanding the 'ask' editor variable

Hi, After updating to 16.1, I get errors for project tasks that pass parameters from user input, with the ${ask} editor variable. Following test example: ${ask('message', combobox, ('1':'value 1'; '2':'value 2'; '3':'value 3'))} ...used to work in Oxygen-16.0, and I don't see anything wrong with it....
by Ron Van den Branden
Mon Sep 15, 2014 4:26 pm
Forum: Common Problems
Topic: how to invoke Saxon-EE from ANT task within Oxygen?
Replies: 3
Views: 832

Re: how to invoke Saxon-EE from ANT task within Oxygen?

Hi Radu, Thanks for your quick suggestion! The fork="yes" attribute was a relict of another task that needed to pass its own URIresolvers to Saxon. There's no need for that in this task, so it can be removed indeed. Here's the updated task that runs correctly: <java classname="net.sf....

Go to advanced search