Search found 159 matches

by dcramer
Sat Jul 25, 2020 12:39 am
Forum: Common Problems
Topic: Schematron and external functions
Replies: 6
Views: 1003

Re: Schematron and external functions

+1 for a convenient way to disable this check.
by dcramer
Fri May 01, 2020 8:02 am
Forum: SDK-API, Frameworks - Document Types
Topic: Module schematron files with sqf:fixes element
Replies: 1
Views: 206

Re: Module schematron files with sqf:fixes element

Ok, figured it out. xi:include does the trick.
by dcramer
Fri May 01, 2020 7:41 am
Forum: SDK-API, Frameworks - Document Types
Topic: Module schematron files with sqf:fixes element
Replies: 1
Views: 206

Module schematron files with sqf:fixes element

Say I have: common.sch one.sch two.sch In common.sch, I have a number of sch:patterns, each with an id and an sqf:fixes section, with my common fixes. In one.sh and two.sch, I sch:include different subsets of the patterns from common.sh However, Oxygen is not happy because the sqf:fixes are not avai...
by dcramer
Mon Apr 13, 2020 6:23 pm
Forum: Feature Request
Topic: Validation scenario as an Action for mapping to a button in the UI
Replies: 4
Views: 324

Re: Validation scenario as an Action for mapping to a button in the UI

It would be ideal if this mechanism worked with an id associated with the validation scenario instead of the validation scenario's name. This would avoid the situation where a framework maintainer rename's a validation scenario without realizing there's a dependency elsewhere in the framework on tha...
by dcramer
Fri Apr 10, 2020 11:13 pm
Forum: Feature Request
Topic: Validation scenario as an Action for mapping to a button in the UI
Replies: 4
Views: 324

Validation scenario as an Action for mapping to a button in the UI

Hi there, We have a validation scenario that can be expensive so we don't have it on by default. We can have users configure their validation scenario to turn it on, but then they have to remember to turn it back off. The process involves a few clicks each time. Users have requested a single button ...
by dcramer
Sat Aug 17, 2019 12:58 am
Forum: Feature Request
Topic: Display value of a parameter in an ${ask} message
Replies: 8
Views: 845

Re: Display value of a parameter in an ${ask} message

Cool, thanks! The other things I can think of related to $ask (and may have already talked about in other threads) are: Enhance the file chooser to allow for the selection of directories instead of only files Control whether the resulting value of the file chooser starts with 'file:' or not Combine ...
by dcramer
Wed Aug 14, 2019 5:59 pm
Forum: Feature Request
Topic: Display value of a parameter in an ${ask} message
Replies: 8
Views: 845

Re: Display value of a parameter in an ${ask} message

The only problem there would be the user might change the value of outputFolder to be something else. I'd have to pass in ${pd} and then hard code the output folder in the Ant to prevent that. My sense is that the whole ${ask} mechanism is only appropriate for very simple things. For anything else, ...
by dcramer
Tue Aug 13, 2019 6:14 pm
Forum: Feature Request
Topic: Display value of a parameter in an ${ask} message
Replies: 8
Views: 845

Re: Display value of a parameter in an ${ask} message

In this case, it's another parameter, but not an ${ask}. I suppose someone could set that one to an ${ask} though in their version of the transform scenario. It would typically be set to ${pd}/output or something like that.
by dcramer
Mon Aug 12, 2019 7:01 pm
Forum: Feature Request
Topic: Display value of a parameter in an ${ask} message
Replies: 8
Views: 845

Display value of a parameter in an ${ask} message

In a transform scenario, I have a user requesting a dialog box to confirm cleaning the output directory. Ideally, I'd like to show them the path to the directory I'm asking them about removing. I was hoping I could do: ${ask('Really remove ${OutputDirectory}?', radio, ('true':'Yes';'false':'No'), 't...
by dcramer
Thu Aug 08, 2019 7:09 pm
Forum: Common Problems
Topic: Sequence of transformations
Replies: 5
Views: 1598

Re: Sequence of transformations

I guess this limitation only applies if you're mixing types of transformation scenarios (e.g. xslt and ant)? The behavior I'm observing with respect to Ant transformation scenarios is that they are performed in the order that I click the boxes. I'm also able to put multiple target names in the "Buil...
by dcramer
Fri Jan 04, 2019 7:58 pm
Forum: Feature Request
Topic: Ability to control the order of ${ask} parameters in an Ant transformation scenario
Replies: 1
Views: 962

Ability to control the order of ${ask} parameters in an Ant transformation scenario

I have a simple Ant transformation scenario where I ask the user for the username and password when the scenario is run. Oxygen sorts these parameters alphabetically. As a result, password comes before username, so the user is prompted first for the password and then for the user name. In this case,...
by dcramer
Tue Jun 19, 2018 6:24 pm
Forum: Other Issues
Topic: Mutual, non-recursive xinclusion
Replies: 11
Views: 2922

Re: Mutual, non-recursive xinclusion

Thanks!
by dcramer
Fri May 11, 2018 6:28 pm
Forum: Common Problems
Topic: Accessing editor variables from ant
Replies: 1
Views: 917

Accessing editor variables from ant

Hi there, I know that I can pass in editor variables from a parameter in my transformation scenario. E.g. I can create a parameter foo and pass in ${oxygenInstallDir} In my Ant file, I can also access Custom Editor Variables using env. E.g. ${env.MY_CUSTOM_EDITOR_VAR} Is there a way I can access non...
by dcramer
Tue May 08, 2018 3:33 pm
Forum: Other Issues
Topic: Mutual, non-recursive xinclusion
Replies: 11
Views: 2922

Re: Mutual, non-recursive xinclusion

Thanks for finding a fix so quickly. I've sent my information. Our users do indeed have some complex documents to test it against.

Regards,
David
by dcramer
Mon May 07, 2018 5:32 pm
Forum: Other Issues
Topic: Mutual, non-recursive xinclusion
Replies: 11
Views: 2922

Re: Mutual, non-recursive xinclusion

We do encourage authors to split out reusable pieces, but opportunistic sharing still happens. From the author's point of view, it's much more convenient to insert an xi:include, use the file chooser to pick the book file, and use the nifty picker to find the section they want than it is to worry ab...
by dcramer
Fri May 04, 2018 5:57 pm
Forum: Other Issues
Topic: Mutual, non-recursive xinclusion
Replies: 11
Views: 2922

Re: Mutual, non-recursive xinclusion

Update: Just spent some time with a group of users who were having performance problems with Oxygen where it was spiking their CPU. It turned out to be this issue again. Is switching to Norm's implementation an option? Though then we'd want to pester him to fix https://github.com/ndw/xmlcalabash1/is...
by dcramer
Wed May 02, 2018 1:00 am
Forum: XML Schemas
Topic: xsl:include/@href sometimes incorrect in output of schematronDispatcher.xsl
Replies: 1
Views: 1526

xsl:include/@href sometimes incorrect in output of schematronDispatcher.xsl

This is an edge case, but I thought I'd mention it: When I run frameworks/schematron/impl/schematronDispatcher.xsl against a schematron file that contains xsl:include elements, relative paths in the href attributes on the xsl:include elements are only correct if the result document happens to be in ...
by dcramer
Mon Apr 30, 2018 3:54 pm
Forum: Other Issues
Topic: Mutual, non-recursive xinclusion
Replies: 11
Views: 2922

Re: Mutual, non-recursive xinclusion

Actually, it works for me using p:xinclude to resolve the xi:includes: dcramer@MacBook-Pro ~/Desktop/xinclude-recursion-test $ cat xinclude.xpl <?xml version="1.0" encoding="UTF-8"?> <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" xmlns:c="http://www.w3.org/ns/xproc-step" version="1.0" name="ma...
by dcramer
Fri Apr 27, 2018 1:34 am
Forum: Other Issues
Topic: Mutual, non-recursive xinclusion
Replies: 11
Views: 2922

Mutual, non-recursive xinclusion

As I understand the xinclude spec, it's legal to xinclude for document's to xinclude from each other as long as they don't loop: https://www.w3.org/TR/xinclude/#loops When I process either of the following documents with Calabash, it handles them just fine. However, if I try to validate either in Ox...
by dcramer
Mon Mar 19, 2018 6:25 pm
Forum: DocBook
Topic: Insert row bug
Replies: 3
Views: 2495

Re: Insert row bug

Thanks for the update!

A quick test confirms the bug is no longer manifesting itself in my test docs.

Regards,
David
by dcramer
Tue Jan 16, 2018 6:44 pm
Forum: DocBook
Topic: Insert row bug
Replies: 3
Views: 2495

Insert row bug

We've run across a strange bug using the insert row actions when a document has two prefaces and the first one is xincluded in. I've put example files and a screen cap of the error dialog up in a gist: https://gist.github.com/dwcramer/f29bfd967f47a56397a70588e28a2743 Save doc.xml and preface1.xml on...
by dcramer
Thu Dec 07, 2017 3:13 am
Forum: Feature Request
Topic: XSL Debugger: Quickly diff result against source
Replies: 3
Views: 1905

Re: XSL Debugger: Quickly diff result against source

That works. I didn't ever know Debug Scenarios were a thing.

Thanks,
David
by dcramer
Tue Dec 05, 2017 4:52 am
Forum: Other Issues
Topic: xinclude 1.1 and Calabash within Oxygen
Replies: 17
Views: 3585

Re: xinclude 1.1 and Calabash within Oxygen

Yes, thanks! I have xinclude 1.1 working beautifully in Oxygen and my xproc-based build pipeline.

Regards,
David
by dcramer
Tue Dec 05, 2017 4:50 am
Forum: Feature Request
Topic: XSL Debugger: Quickly diff result against source
Replies: 3
Views: 1905

XSL Debugger: Quickly diff result against source

After running an xslt in the debugger, I'd love it if there were a button that would open the output and the source document for that transform in the xml diff tool. That way I can quickly confirm that the transform changed what I wanted it to change and didn't touch anything it wasn't supposed to. ...
by dcramer
Fri Nov 17, 2017 6:44 pm
Forum: DocBook
Topic: Mixed content in CALS table <entry>
Replies: 1
Views: 1930

Mixed content in CALS table <entry>

The <entry> element can contain either mixed content (text and inlines) or block elements, but not both. Curiously, if your cursor is in an entry that already contains text, when you invoke the content completion, it suggests as possible child elements block elements like para, itemizedlist, etc. On...
by dcramer
Tue Nov 07, 2017 1:26 am
Forum: Feature Request
Topic: Pasting tables into webhelp comments
Replies: 1
Views: 1318

Pasting tables into webhelp comments

Hi there, A nice feature of the webhelp feedback commenting system is that when you copy and paste in content from the html page into the rich text editor, it generally keeps the html formatting (e.g. lists are still lists, bold things are still bold). This is important because it allows the user to...
by dcramer
Mon Oct 23, 2017 6:54 am
Forum: SDK-API, Frameworks - Document Types
Topic: Hot links in schematron error messages
Replies: 4
Views: 1969

Re: Hot links in schematron error messages

Perfect!

Thanks,
David
by dcramer
Thu Oct 19, 2017 7:28 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Hot links in schematron error messages
Replies: 4
Views: 1969

Re: Hot links in schematron error messages

Another, similar approach would be to support some kind of help content inside the framework, such that I could add something to map certain error to certain help, then Oxygen adds a help icon or link to the message opening the help content. A hot link is fine too, especially if it's also hot in the...
by dcramer
Thu Oct 19, 2017 7:22 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Hot links in schematron error messages
Replies: 4
Views: 1969

Hot links in schematron error messages

In my schematron message, I sometimes include hyperlinks to point the user to a source for more information about their problem: <sch:rule context="db:book|db:part|db:section|db:chapter|db:appendix|db:preface|db:table|db:figure|db:simplesect"> <sch:assert test="@xml:id">xml:id required on <xsl:value...