Search found 65 matches

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 problem seems ...
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: 3175

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

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....
by Ron Van den Branden
Mon Sep 15, 2014 3:54 pm
Forum: Common Problems
Topic: Store portable scenario association in xpr file
Replies: 2
Views: 1889

Re: Store portable scenario association in xpr file

Hi Martin, I've managed to set this association via Oxygen's "Configure Transformation Scenario(s)" wizard. When looking at the generated .xpr file, I noticed that the "url" field apparently just expects relative paths (with the .xpr project file as context): <scenarioAssociation...
by Ron Van den Branden
Mon Sep 15, 2014 3:28 pm
Forum: Common Problems
Topic: how to invoke Saxon-EE from ANT task within Oxygen?
Replies: 3
Views: 1995

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

Hi, I'm trying to configure an ANT task in a project file, that tries to invoke an XQuery 3.0 script via following ANT command: <java classname="net.sf.saxon.Query" fork="yes"> <classpath> <pathelement path="${oxygenlib}/saxon9ee.jar"/> </classpath> <!-- ... --> </java>...
by Ron Van den Branden
Tue Jan 28, 2014 4:32 pm
Forum: Common Problems
Topic: can user input be passed to external tools?
Replies: 4
Views: 2044

Re: can user input be passed to external tools?

Hi Radu,

Wonderful, works like a charm! Thanks for your detailed help, you've pointed me to customized menus etc. at once.

Best,

Ron
by Ron Van den Branden
Mon Jan 27, 2014 6:43 pm
Forum: Common Problems
Topic: can user input be passed to external tools?
Replies: 4
Views: 2044

Re: can user input be passed to external tools?

Hi Radu, I assume even a Java-illiterate like me could give the Java option a try/err, by copying/pasting from the documentation and e.g. the TEI framework. Still, the other option you mentioned could just fit the bill, I'm very curious! Both conditions are fulfilled: the contributors edit in Author...
by Ron Van den Branden
Mon Jan 27, 2014 4:16 pm
Forum: Common Problems
Topic: can user input be passed to external tools?
Replies: 4
Views: 2044

can user input be passed to external tools?

For a project, I have set up an Ant transformation that invokes different XSLT stylesheets depending on some choices offered to the user. Those choices are passed as Ant parameters, via a dialog that's generated with the ${ask('message', type, ('real_value1':'rendered_value1'; 'real_value2':'rendere...
by Ron Van den Branden
Mon Oct 07, 2013 5:30 pm
Forum: Common Problems
Topic: Saxon transformation via Ant: how to pass sourceParserClass
Replies: 4
Views: 3852

Re: Saxon transformation via Ant: how to pass sourceParserCl

Ah, indeed, that works too!

Many thanks again for your kind help with my (lack of) basic Ant skills.

Best,

Ron
by Ron Van den Branden
Sat Oct 05, 2013 2:11 am
Forum: Common Problems
Topic: Saxon transformation via Ant: how to pass sourceParserClass
Replies: 4
Views: 3852

Re: Saxon transformation via Ant: how to pass sourceParserCl

Many thanks, Adrian! Recasting the <xslt> task to a <java> task works. Fortunately I don't use extension functions in my stylesheets, so I can do with Saxon-he. In case it might helps others, I'll include the <java> equivalent of my original command line example below: <target name="convert-fol...
by Ron Van den Branden
Fri Oct 04, 2013 11:03 am
Forum: Common Problems
Topic: Saxon transformation via Ant: how to pass sourceParserClass
Replies: 4
Views: 3852

Saxon transformation via Ant: how to pass sourceParserClass

Hi, I'm trying to set up an Ant transformation scenario in Oxygen 15.0, invoking Saxon via the XSLT Ant task. I've succesfully figured out how to pass on XML catalog files so Saxon can locate the DTD and entity files independent of the exact location of the XML source files that are being transforme...
by Ron Van den Branden
Tue Jun 07, 2011 6:07 pm
Forum: Other Issues
Topic: profiling attributes for TEI?
Replies: 5
Views: 2546

Re: profiling attributes for TEI?

Hi Radu, Thank you very much for your helpful offer. I'll try to illustrate my wish list as clearly as possible. I would like to offer our encoders some assistance in disambiguating proper names. Currently (using TEI P4), we're tagging them as <name> elements, and using the @reg attribute for this p...
by Ron Van den Branden
Wed Jun 01, 2011 12:32 pm
Forum: Other Issues
Topic: profiling attributes for TEI?
Replies: 5
Views: 2546

Re: profiling attributes for TEI?

Hi Radu, Thanks for your suggestions. For DITA and Docbook these attribute values can also be accessed in the Attributes view but this was done by using some special framework Java API customization which was not implemented for TEI. That's what I suspected... I guessed that I was trying to 'abuse' ...