Search found 154 matches

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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...
by dcramer
Fri Oct 13, 2017 6:24 pm
Forum: DocBook
Topic: Framework name and Profiling condition sets
Replies: 4
Views: 2157

Re: Framework name and Profiling condition sets

Oh, the other place this shows up is in the variable ${frameworkDir(framework_name)}}. If anybody had made a transformation scenario as part of an xpr or whatever and used that variable, then changing the name breaks them.
by dcramer
Fri Oct 13, 2017 5:15 pm
Forum: DocBook
Topic: Framework name and Profiling condition sets
Replies: 4
Views: 2157

Re: Framework name and Profiling condition sets

Yes, I understand how the mechanism works. In our case, the framework originally had a name like "DocBook - Extension Whatever", so the default profile sets were in play when our extension was used. Users apparently built on those, keeping the existing pattern of "DocBook*". When I changed the frame...
by dcramer
Fri Oct 13, 2017 6:52 am
Forum: DocBook
Topic: Framework name and Profiling condition sets
Replies: 4
Views: 2157

Framework name and Profiling condition sets

I recently renamed my framework extension to a string that no longer starts with "DocBook". Unfortunately, this has broken the ability to use existing condition sets for all my users. Is there a graceful way to fix this, or is changing the name again so it starts with "DocBook" my only real option? ...
by dcramer
Thu Oct 12, 2017 8:02 pm
Forum: Feature Request
Topic: Namespace definitions as code templates
Replies: 2
Views: 1339

Re: Namespace definitions as code templates

It would be really cool if I could associate the code templates with namespaces, so if I'm in the xslt namespace, not matter what kind of document, I can use the xslt-related code templates. So if I'm editing an xproc file, I could use a code template to enter the following, and once I'm at ${caret}...
by dcramer
Wed Oct 11, 2017 8:54 pm
Forum: Feature Request
Topic: Namespace definitions as code templates
Replies: 2
Views: 1339

Namespace definitions as code templates

I'm a big fan of code templates and of course we all love namespaces. I notice that there's already a code template for the xsl namespace that's limited to the xslt editor. That's cool, but... Feature request #1: It should really be possible to define a code template as being for all xml editors (xm...