Search found 21 matches

by csun
Fri Oct 05, 2018 1:05 am
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 2919

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

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

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

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

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

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

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

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

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...
by csun
Fri Aug 03, 2018 4:34 pm
Forum: DocBook
Topic: Possible to customize the warning messages in Oxygen?
Replies: 4
Views: 461

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

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:my...
by csun
Fri Jul 27, 2018 5:53 am
Forum: DocBook
Topic: Possible to customize the warning messages in Oxygen?
Replies: 4
Views: 461

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" fie...
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: 516

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 M...
by csun
Tue May 08, 2018 12:52 am
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 2919

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

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/topic...
by csun
Sat Mar 03, 2018 2:27 am
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 2919

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

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 [url]Inserting an olink in DocBook Documents[/url], but we have some customization on top of it. I will send some sample files to your email address. Thanks! Char...
by csun
Fri Feb 02, 2018 7:08 pm
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 2919

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

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

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 w...
by csun
Thu Dec 21, 2017 1:30 am
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 2919

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 Oxyg...

Go to advanced search