Search found 148 matches

by dcramer
Tue Jun 19, 2018 6:24 pm
Forum: Other Issues
Topic: Mutual, non-recursive xinclusion
Replies: 11
Views: 1074

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

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

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

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

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

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

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

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

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

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 pr...
by dcramer
Thu Dec 07, 2017 3:13 am
Forum: Feature Request
Topic: XSL Debugger: Quickly diff result against source
Replies: 3
Views: 1050

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

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

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

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

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

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

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

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

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

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

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" m...
by dcramer
Thu Oct 12, 2017 8:02 pm
Forum: Feature Request
Topic: Namespace definitions as code templates
Replies: 2
Views: 747

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

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...
by dcramer
Mon Oct 09, 2017 11:40 pm
Forum: Other Issues
Topic: xinclude 1.1 and Calabash within Oxygen
Replies: 17
Views: 1661

Re: xinclude 1.1 and Calabash within Oxygen

It ended up being easy to implement schematron-based validation for IDs and IDREFs by importing transclusion-fixup.xsl and reusing the functions and templates in my schematron rules (so if I change the logic in transclusion-fixup.xsl it will propagate to my schematron). Doing this in schematron turn...
by dcramer
Mon Oct 09, 2017 9:49 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Frameworks and Oxygen versions
Replies: 1
Views: 550

Frameworks and Oxygen versions

On the root element of a .framework file is a version number corresponding to the version of Oxygen that created/edited the file: <serialized version="18.1" xml:space="preserve"> <serializableOrderedMap> ... We have users on more than one version of Oxygen, but for development it...
by dcramer
Fri Oct 06, 2017 6:56 pm
Forum: DocBook
Topic: Preventing invalid content in Author view
Replies: 3
Views: 971

Re: Preventing invalid content in Author view

Ok, now I see what it's doing. In general, it's doing things that make sense. Often it splits elements. For example, if you insert a chapter in the middle of a para in the context /book/chapter/section/para, it closes the current chapter (closing the para, section, and chapter), and inserts a new ch...
by dcramer
Thu Oct 05, 2017 10:32 pm
Forum: Common Problems
Topic: Search within added/deleted lines in diff/compare tool
Replies: 1
Views: 422

Search within added/deleted lines in diff/compare tool

Is there a way to do a Find within a diff/compare session but limit the scope to content that was added (or optionally removed)? Not a big deal, but would be handy just now.

Thanks,
David
by dcramer
Thu Oct 05, 2017 6:30 pm
Forum: DocBook
Topic: Preventing invalid content in Author view
Replies: 3
Views: 971

Preventing invalid content in Author view

I'm trying to figure out what the default behavior of Oxygen is and if I've broken something with a config or framework change. If you're in Author view editing a DocBook 5.x document, say in the middle of a para, and press return to bring up the content completion thing, you're presented with a lis...
by dcramer
Thu Oct 05, 2017 5:46 pm
Forum: Other Issues
Topic: xinclude 1.1 and Calabash within Oxygen
Replies: 17
Views: 1661

Re: xinclude 1.1 and Calabash within Oxygen

We're using nvdl, so I can skip id/idref checking by omitting this option: <option name="http://www.thaiopensource.com/validate/check-id-idref"/> Using nvdl (or something we're doing) might be borking other aspects of the framework, but I'll start another thread about that. David

Go to advanced search