Search found 29 matches

by csun
Fri Oct 04, 2019 5:34 pm
Forum: Common Problems
Topic: Issue with the "insert.olink" action?
Replies: 4
Views: 204

Re: Issue with the "insert.olink" action?

Hi Radu, Thanks for looking into this. If I understand correctly, the fix be released with a future version of Oxygen. Before that happens, is there a workaround you would recommend, by any chance? I think one workaround is to check off the "Insert xreftext in the Olink" box while in the "OLink" dia...
by csun
Fri Oct 04, 2019 1:17 am
Forum: Common Problems
Topic: Issue with the "insert.olink" action?
Replies: 4
Views: 204

Issue with the "insert.olink" action?

Hi, With a DocBook 5 framework opened in Oxygen Author 21.0, it seems that if the action "insert.olink" is performed (which executes the operation ro.sync.ecss.extensions.docbook.olink.InsertOLinkOperation), it would display an error message in case the <xreftext> of the target includes characters s...
by csun
Sat Aug 10, 2019 12:52 am
Forum: Common Problems
Topic: Opening large DocBook files in Oxygen takes a long time
Replies: 6
Views: 351

Opening large DocBook files in Oxygen takes a long time

Hi, By default, Oxygen opens DocBook files for me in Author mode. Most times it works fine, but when it tries to open a large DocBook file (it is large because of the amount of XIncludes), the Author mode can take 10 minutes or even longer to respond. Do you have some recommendations on improving it...
by csun
Tue Dec 18, 2018 5:15 pm
Forum: Common Problems
Topic: Default app for opening files embedded in XML
Replies: 2
Views: 723

Re: Default app for opening files embedded in XML

Thanks Radu! That is good to know.
by csun
Fri Dec 07, 2018 2:50 am
Forum: Common Problems
Topic: Default app for opening files embedded in XML
Replies: 2
Views: 723

Default app for opening files embedded in XML

Hi, On this page https://www.oxygenxml.com/doc/versions/20.1/ug-editor/topics/preferences-file-types.html it is mentioned "The files that match the Binary file patterns patterns are handled as binary and opened in the associated system application." Is there any workaround to this? For example, for ...
by csun
Tue Nov 20, 2018 10:54 pm
Forum: DocBook
Topic: Distributing custom framework with certain alternative CSS styles turned on by default?
Replies: 4
Views: 1343

Re: Distributing custom framework with certain alternative CSS styles turned on by default?

This sounds to be a good workaround; I can give it a try. Thanks!
by csun
Mon Nov 19, 2018 8:03 pm
Forum: DocBook
Topic: Distributing custom framework with certain alternative CSS styles turned on by default?
Replies: 4
Views: 1343

Re: Distributing custom framework with certain alternative CSS styles turned on by default?

Thanks Radu for your reply, and for adding an internal issue about this.
by csun
Fri Nov 16, 2018 12:08 am
Forum: DocBook
Topic: Distributing custom framework with certain alternative CSS styles turned on by default?
Replies: 4
Views: 1343

Distributing custom framework with certain alternative CSS styles turned on by default?

Hello, I have a question regarding this page: https://www.oxygenxml.com/doc/versions/20.1/ug-author/topics/selecting-combining-multiple-css-styles.html#selecting-combining-multiple-css-styles The figure "Styles Drop-down Menu in a DITA Document" at the bottom of the page shows that a few alternative...
by csun
Fri Oct 05, 2018 1:05 am
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 15770

Re: Potential performance concerns with oxy_url() and oxy_xpath() ?

OK, I have just sent an email with the source code to support@oxygenxml.com . Looking forward to your suggestions. Thanks!
by csun
Thu Oct 04, 2018 1:33 am
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 15770

Re: Potential performance concerns with oxy_url() and oxy_xpath() ?

Hi Alex, I have been able to extend the DocbookLinkTextResolver class, let it expand the editor variable {targets} and parse this target database XML, look up the nodes we need, and return the text. I am using the Java DOM XML parser and XPath for looking up the nodes. It is returning the correct te...
by csun
Thu Sep 27, 2018 1:47 am
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 15770

Re: Potential performance concerns with oxy_url() and oxy_xpath() ?

Hi Alex,

Yes exactly, the ${targets} variable is defined inside preferences.

The expandEditorVariables code you provided is very helpful. And yes, I think I have enough information to build the URL now. Thanks again for the help! Really appreciated.

Charles
by csun
Thu Sep 20, 2018 8:03 am
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 15770

Re: Potential performance concerns with oxy_url() and oxy_xpath() ?

Hi again Alex, I've run into a few more questions; can you please help again? 1. The first step is to define a custom anchor. On the link property you should specify an URL with an anchor that contains everything needed to compute, later on, the target Do you mean that in the CSS, I should write som...
by csun
Mon Sep 17, 2018 10:39 pm
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 15770

Re: Potential performance concerns with oxy_url() and oxy_xpath() ?

Hi Alex,
Thanks for the clarification! This is very helpful.

Charles
by csun
Fri Sep 14, 2018 7:11 am
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 15770

Re: Potential performance concerns with oxy_url() and oxy_xpath() ?

Hi Alex, Yes, I see the samples directory, as well as DocbookLinkTextResolver.java and DocBook5ExtensionsBundle.java in their respective sub-folders now. ro.sync.ecss.extensions.api.ExtensionsBundle is not present there but, if you have the sample Maven project, then Maven will bring the source code...
by csun
Tue Sep 11, 2018 6:10 am
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 15770

Re: Potential performance concerns with oxy_url() and oxy_xpath() ?

The current cache maps a node to the resolved linked text. If you have a document that contains many link nodes (like you mentioned in the first post) to the same ${targets}, Oxygen will still parse the ${targets} document once for every link. Afterwards, the cache will kick in and there will be no...
by csun
Mon Sep 10, 2018 11:49 pm
Forum: DocBook
Topic: Oxygen XML SDK and version 20.0
Replies: 2
Views: 1340

Re: Oxygen XML SDK and version 20.0

Hi Radu,
Thanks for the information!

Charles
by csun
Mon Aug 27, 2018 10:53 pm
Forum: DocBook
Topic: Oxygen XML SDK and version 20.0
Replies: 2
Views: 1340

Oxygen XML SDK and version 20.0

Hello, We are using Oxygen Author and Oxygen Editor version 20.0. Currently, as mentioned on this page, https://www.oxygenxml.com/oxygen_sdk/download.html "The API distributions listed in this page are compatible with the Oxygen version 20.1." Are they compatible with the Oxygen version 20.0 too, or...
by csun
Fri Aug 03, 2018 4:34 pm
Forum: DocBook
Topic: Possible to customize the warning messages in Oxygen?
Replies: 4
Views: 1678

Re: Possible to customize the warning messages in Oxygen?

Hi Sorin,

Yes, this looks to be a great option! :-) Thanks for the help.

Charles
by csun
Fri Aug 03, 2018 12:18 am
Forum: DocBook
Topic: Possible to customize the warning messages in Oxygen?
Replies: 4
Views: 1678

Re: Possible to customize the warning messages in Oxygen?

Hi Sorin, Thanks for your reply. My use case is, when the XIncluded doc content is in XMLs under certain file directories, I'd like to prevent the Oxygen users from following the xi:include links to open and edit them. One option would be to customize the CSS like this: xi|include[href^="urn:mydomai...
by csun
Fri Jul 27, 2018 5:53 am
Forum: DocBook
Topic: Possible to customize the warning messages in Oxygen?
Replies: 4
Views: 1678

Possible to customize the warning messages in Oxygen?

We have a use case where we would like to customize the warning messages displayed in Oxygen, when a user clicks on a link that cannot open. Currently the message is: Description: :Cannot open the link. The URL is not specified. Severity: Warning To change the text in the "Description" field, would ...
by csun
Wed May 09, 2018 6:48 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Using Oxygen SDK in a build system not based on Maven
Replies: 1
Views: 1166

Using Oxygen SDK in a build system not based on Maven

Hello, On this page https://www.oxygenxml.com/oxygen_sdk/download.html It is mentioned that "In case your build system is not based on Maven, you can download the package with all the Oxygen SDK jar files..." Are there instructions on using the Oxygen SDK in a a build system not based on Maven, or a...
by csun
Tue May 08, 2018 12:52 am
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 15770

Re: Potential performance concerns with oxy_url() and oxy_xpath() ?

It seems like that somehow I didn't reply to the thread... Just wanted to say that I really appreciated the help!
by csun
Tue Mar 06, 2018 7:48 pm
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 15770

Re: Potential performance concerns with oxy_url() and oxy_xpath() ?

Hi, Thanks Alex, for confirming that plugin is not an option. Then most likely we'll go with this approach when deploying the extended framework, "Distribute the extended framework along with a project", as mentioned in this page: https://www.oxygenxml.com/doc/versions/19.1/ug-editor/topics/author-d...
by csun
Sat Mar 03, 2018 2:27 am
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 15770

Re: Potential performance concerns with oxy_url() and oxy_xpath() ?

Hi again, Can I ask some more questions, about deploying the customization discussed earlier (i.e. keeping a cache for visited targetsets): - Would it work the best if I make it a plugin, or would you recommend some other approaches? - To deploy the customization, should I follow the instructions on...
by csun
Tue Feb 27, 2018 9:34 pm
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 15770

Re: Potential performance concerns with oxy_url() and oxy_xpath() ?

Hi Alex,

Sorry for my delayed reply - and thanks for adding an issue for the enhancement.

Our use case is similar to the one described in Inserting an olink in DocBook Documents, but we have some customization on top of it. I will send some sample files to your email address.

Thanks!
Charles
by csun
Fri Feb 02, 2018 7:08 pm
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 15770

Re: Potential performance concerns with oxy_url() and oxy_xpath() ?

Thanks Alex! If you have a document that contains many link nodes (like you mentioned in the first post) to the same ${targets}, Oxygen will still parse the ${targets} document once for every link. In your customization of an DocbookLinkTextResolver you can keep an additional cache, make sure you on...
by csun
Thu Feb 01, 2018 1:39 am
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 15770

Re: Potential performance concerns with oxy_url() and oxy_xpath() ?

Hi Alex and Radu, Excellent, the information is really helpful. Thanks again. Do I understand correctly that even though DocbookLinkTextResolver keeps a cache, when loading the DocBook XML that contains links, the performance would be identical whether we use DocbookLinkTextResolver or doc() and oxy...
by csun
Fri Jan 26, 2018 10:43 pm
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 15770

Re: Potential performance concerns with oxy_url() and oxy_xpath() ?

Hi Radu, Thanks for your help! Sorry I didn't reply sooner. Yes, it makes perfect sense that avoiding the use of oxy_xpath() and doc() could give us a boost in Oxygen performance. I would like to try using oxy_link-text() for populating the value of CSS "content" property. Could you help with a few ...
by csun
Thu Dec 21, 2017 1:30 am
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 15770

Potential performance concerns with oxy_url() and oxy_xpath() ?

Hi, I notice that if the CSS custom funtions like oxy_url() and oxy_xpath() are used for resolving links in DocBook5, something like: link:empty{ content:oxy_xpath(oxy_concat('doc("', oxy_url('${pdu}/', 'a.xml'), '")//@val')) !important; } it works, but apparently when it is turned on Oxygen would w...