Search found 161 matches

by dcramer
Sat Mar 18, 2023 11:56 pm
Forum: Feature Request
Topic: Use .gitignore File to Filter Project
Replies: 3
Views: 2779

Re: Use .gitignore File to Filter Project

A big +1 for this request. There should be an option to respect version control system ignore files in project views. This seems so obviously useful, I'm surprised it's not supported already.
by dcramer
Thu Mar 11, 2021 10:08 am
Forum: General XML Questions
Topic: XSLT which output non-xml text in XProc
Replies: 3
Views: 3570

Re: XSLT which output non-xml text in XProc

I know this is an old post, but if anybody comes across it (like me, the next time I forget how this works and google the error again), I thought I should clarify that you can store non-xml from xproc by using p:store, but, as Radu says, you must produce xml from the xslt step. In this case, make su...
by dcramer
Sat Jul 25, 2020 12:39 am
Forum: Common Problems
Topic: Schematron and external functions
Replies: 6
Views: 3386

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

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

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

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

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

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

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

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

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

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 "...
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: 1881

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

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

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

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

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

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

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

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...
by dcramer
Fri Apr 27, 2018 1:34 am
Forum: Other Issues
Topic: Mutual, non-recursive xinclusion
Replies: 11
Views: 5565

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

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

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

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

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

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

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

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: 20
Views: 7847

Re: Hot links in schematron error messages

Perfect!

Thanks,
David