Search found 675 matches

by alex_jitianu
Mon Jun 10, 2019 2:39 pm
Forum: Other Issues
Topic: Connect oxy_actions and transformations scenario for XSLT
Replies: 3
Views: 66

Re: Connect oxy_actions and transformations scenario for XSLT

Hi Oleksii, I've tried to execute such a transformation from Oxygen, with Saxon 9.8, but it didn't actually work. I got the error message: Cannot write to a URI that has already been read: file:/D:/projects/eXml/samples/dita/xslt/input.xml But in oXygen you can do it when you use the scenario. I'm n...
by alex_jitianu
Mon May 27, 2019 11:29 am
Forum: SDK-API, Frameworks - Document Types
Topic: Issue with DITA Extension Bundle
Replies: 7
Views: 432

Re: Issue with DITA Extension Bundle

Hi, I mean if we create a plugin using the dita.jar from Oxygen 21.0 and install this plugin in Oxygen 16.0, will there any version compatibility issues? You don't actually distribute dita.jar inside your plugin (double check that it isn't present in the plugin package because it will lead to class ...
by alex_jitianu
Fri May 24, 2019 2:41 pm
Forum: Common Problems
Topic: Code template no longer working after update to 21.1
Replies: 3
Views: 174

Re: Code template no longer working after update to 21.1

Hi Martin,

I'm sorry for the nuisance... I've fixed the issue and the fix will be available in the next maintenance build. If it bothers you too much, please let me know. I can send you an updated version of the editor parser engine.

Best regards,
Alex
by alex_jitianu
Thu May 23, 2019 12:59 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Issue with DITA Extension Bundle
Replies: 7
Views: 432

Re: Issue with DITA Extension Bundle

Hi, For Approach 1, what do you mean by "edited my framework" in step 2? Can you elaborate on this? In the "Document Type Association" preferences page, I've selected my framework (document type) and clicked "Edit". If you write us an email on support@oxygenxml.com I can send you my test plugin/fram...
by alex_jitianu
Wed May 22, 2019 3:10 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Issue with DITA Extension Bundle
Replies: 7
Views: 432

Re: Issue with DITA Extension Bundle

Hello, I've managed to test Approach 1 myself and it worked as expected. Here is how I did it: 1. In my plugin I've created a class: package com.oxygenxml.samples.framework; import javax.swing.JComponent; import javax.swing.JOptionPane; import ro.sync.ecss.extensions.api.CancelledByUserException; im...
by alex_jitianu
Tue May 21, 2019 4:19 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Issue with DITA Extension Bundle
Replies: 7
Views: 432

Re: Issue with DITA Extension Bundle

Hello, I think I know why Approach 2 has that side effect. Your extension bundle should extend ro.sync.ecss.extensions.dita.DITAExtensionsBundle . This implementation is present inside {oxygenInstallDir}/frameworks/dita/dita.jar so you can put this jar inside your project to resolve compilation erro...
by alex_jitianu
Thu May 16, 2019 9:11 am
Forum: Common Problems
Topic: Git Staging won't accept my SSH passphrase
Replies: 4
Views: 217

Re: Git Staging won't accept my SSH passphrase

Hello, I think this happens because the add-on doesn't recognize the SSH key. There are a couple of things I want to mention about the keys: 1. ED25519 keys - The Git plugin is based on the JGit library which, unfortunately, doesn't support the ED25519 SSH keys. If you are trying to use one, perhaps...
by alex_jitianu
Tue May 14, 2019 2:58 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XPath involving ${selection}
Replies: 7
Views: 1601

Re: XPath involving ${selection}

Hello,

There's a new function named oxy:selected-elements() that returns the current selected elements. Give it a try and let us know if it solves your use case.

Best regards,
Alex
by alex_jitianu
Wed May 08, 2019 2:44 pm
Forum: Common Problems
Topic: Components not Reusable Components
Replies: 6
Views: 431

Re: Components not Reusable Components

Hi Jason, I've tested some more and I've found another possible cause. Apparently, we need these topics to have either an "xml" or a "dita" extension and inside SDL they don't have any extension whatsoever. I will add an issue to fix this because we already know that they are DITA reusable topics so...
by alex_jitianu
Wed May 08, 2019 10:37 am
Forum: SDK-API, Frameworks - Document Types
Topic: SOAP Client
Replies: 10
Views: 679

Re: SOAP Client

Hello, It's good to hear that you've found a solution. And last, but not the least, I must copy my jar and its lib into "plugins" directory. If I use my building directory, I have some weird exception. Perhaps you had more libraries in the building directory and they all got loaded (it depends on ho...
by alex_jitianu
Tue May 07, 2019 4:53 pm
Forum: Common Problems
Topic: Components not Reusable Components
Replies: 6
Views: 431

Re: Components not Reusable Components

Hi Jason,

I suspect that it has something to do with the default ignore filters. Please go to Options->Preferences... on page Open/Find Resource. On the Ignore content of these files* remove the token: */temp/* . Exit with OK and check if the components are presented.

Best regards,
Alex
by alex_jitianu
Mon May 06, 2019 11:49 am
Forum: SDK-API, Frameworks - Document Types
Topic: SOAP Client
Replies: 10
Views: 679

Re: SOAP Client

Hello, I'm sorry for taking a long time to answer. Last week we celebrated Easter and I was away for the entire week. Let's see where we are at. 1. My first suggestion was to: To fix it you should remove javax.xml.soap-api-1.4.0.jar from {oxygenInstallDir}/lib I didn't quite understood your answer. ...
by alex_jitianu
Tue Apr 23, 2019 9:03 am
Forum: SDK-API, Frameworks - Document Types
Topic: SOAP Client
Replies: 10
Views: 679

Re: SOAP Client

Hello, In case it helps, what I've tested was to put all these jar files as dependencies: <dependency> <groupId>javax.xml.ws</groupId> <artifactId>jaxws-api</artifactId> <version>2.2.1</version> </dependency> <!-- https://mvnrepository.com/artifact/com.sun.xml.messaging.saaj/saaj-impl --> <dependenc...
by alex_jitianu
Thu Apr 18, 2019 3:36 pm
Forum: Common Problems
Topic: insertElements does nothing?
Replies: 1
Views: 245

Re: insertElements does nothing?

Hello, Thank you for reporting this issue. I managed to reproduce it myself and I've recorded an issue. We will let you know as soon as we release a fix for it. The easiest alternative, if you are working in author mode, is to create an author action that inserts a list-item with the required struct...
by alex_jitianu
Wed Apr 17, 2019 3:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XML Author - Custom 'Learn Word' feature
Replies: 1
Views: 278

Re: XML Author - Custom 'Learn Word' feature

Hi Geri, You can use an AuthorActionsProvider to intercept the "Learn word" action. It can be used from the framework level API as well as from the plugin level API . 1. From a framework From within an ro.sync.ecss.extensions.api.AuthorExtensionStateListener you can do this: public abstract class Au...
by alex_jitianu
Tue Apr 16, 2019 2:59 pm
Forum: SDK-API, Frameworks - Document Types
Topic: SOAP Client
Replies: 10
Views: 679

Re: SOAP Client

Hello, Thank you for reporting this issue. I managed to reproduce it myself. It all comes from the presence of javax.xml.soap-api-1.4.0.jar inside the Oxygen's classpath. To fix it you should remove javax.xml.soap-api-1.4.0.jar from {oxygenInstallDir}/lib. I will add an issue on our side to see what...
by alex_jitianu
Mon Apr 15, 2019 3:04 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Simultaneous dialogs with ExecuteMultipleActionsOperation
Replies: 1
Views: 239

Re: Simultaneous dialogs with ExecuteMultipleActionsOperation

Hello, Unfortunately, it is an expected behavior. The dialog presented by InsertXrefOperation is not a modal dialog which means that after the dialog is presented, the action finishes and the ChangeAttributeOperation is invoked. You'll have to use our Java-based API and set an AuthorDocumentFilter ....
by alex_jitianu
Fri Apr 05, 2019 11:14 am
Forum: Other Issues
Topic: Using xpath_eval in External Tool
Replies: 3
Views: 288

Re: Using xpath_eval in External Tool

Hello, There's a syntax error inside the XPath expression. The "if" condition must be between parentheses, like this: if (true()) then upper-case('${system(os.name)}') else 'NOPE' I see that we log these a warning inside the console when there are exceptions with the XPath expression. Perhaps we sho...
by alex_jitianu
Tue Apr 02, 2019 10:47 am
Forum: SDK-API, Frameworks - Document Types
Topic: Add-ons packager plugin?
Replies: 2
Views: 259

Re: Add-ons packager plugin?

Hello Martin,

Indeed, the packager resides to a different update site. You'll need to paste this update site into the dialog:

Code: Select all

https://www.oxygenxml.com/InstData/Addons/optional/updateSite.xml
I will also add an issue to move it into the default update site.

Best regards,
Alex
by alex_jitianu
Thu Mar 14, 2019 3:35 pm
Forum: Common Problems
Topic: Schematron and external functions
Replies: 1
Views: 259

Re: Schematron and external functions

Hello, When the Schematron file is not from a safe location it is being run in a sandbox, with limited permissions. Frameworks, for example, are considered safe locations because they either came built-in with Oxygen or the user have installed them himself. The file from within the framework directo...
by alex_jitianu
Tue Mar 05, 2019 10:47 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Fixed width for Oxygen Text Box!
Replies: 1
Views: 255

Re: Fixed width for Oxygen Text Box!

Hi Shabeer, Unfortunately, the "columns" property refers only to the size of the form control. It means it will have a width that accommodates two characters. if the user types more, it will not receive any errors. Currently, the text field form control doesn't have a mechanism to enforce such a beh...
by alex_jitianu
Fri Feb 22, 2019 10:49 am
Forum: Other Issues
Topic: Git add-on not signed?
Replies: 1
Views: 290

Re: Git add-on not signed?

Hello,

I can confirm that the warning poses no danger. The issue to sign the plugins stored on GitHub is already on our TODO list so I will increase its priority.

Best regards,
Alex
by alex_jitianu
Wed Dec 19, 2018 4:12 pm
Forum: XSLT and FOP
Topic: XSLT Unit Tests on included Stylesheets
Replies: 1
Views: 720

Re: XSLT Unit Tests on included Stylesheets

Hello, Thank you for reporting this issue. Do you get any log inside the results area? Both the Oxygen built-in transformation scenarios and the XSpec Helper View are using ANT based transformation scenarios and when one such scenario fails we present some log inside the results area. I've tried to ...
by alex_jitianu
Thu Nov 22, 2018 11:06 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Adding fields to DITA topics
Replies: 3
Views: 733

Re: Adding fields to DITA topics

Hello, A DITA framework already exists so what you want to do is either change the existing one or extend it . I would say the recommended choice is to extend it because you will make switching to the next Oxygen version easier. After you create the extension you need to do is to create a CSS that c...
by alex_jitianu
Tue Nov 20, 2018 5:49 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Adding fields to DITA topics
Replies: 3
Views: 733

Re: Adding fields to DITA topics

Hello, it looks like what you need are some new document templates . Please note that in your case, at step 2, the new template should be saved in a specific framework's directory. The content of this template should contain the "prerequisites" element as well as any other desired structure: <?xml v...
by alex_jitianu
Thu Nov 08, 2018 1:46 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Insert cascade dependencies
Replies: 2
Views: 732

Re: Insert cascade dependencies

Hello, In our SDK sample project , inside the oxygen-sample-framework module, thre is an implementation of an ro.sync.contentcompletion.xml.CIElement named simple.documentation.framework.SDFElement . After you copy this impllementation into your own project all you have to do is build the hierarchy:...
by alex_jitianu
Mon Oct 08, 2018 3:20 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: oxy_link-text() not resolving on xrefs targeting fn element?
Replies: 6
Views: 1317

Re: oxy_link-text() not resolving on xrefs targeting fn element?

Hello Bruno,

We have an issue recorder for adding support for the target-counter() function but I have to say that it is not on our short term TODO list. Nevertheless, user requests can increase its priority so I've added your vote for it.

Best regards,
Alex
by alex_jitianu
Thu Oct 04, 2018 11:32 am
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 10293

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

Hi Charles, THe docbook CSSs contain at-rules that depends on the viewport width: @media screen AND (min-width:25cm) { This means that when the viewport changes, styles are recomputed. But when this happens and your LinkTextResolver is invoked the resolver should be lightning fast since it has alrea...
by alex_jitianu
Mon Oct 01, 2018 2:23 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: oxy_link-text() not resolving on xrefs targeting fn element?
Replies: 6
Views: 1317

Re: oxy_link-text() not resolving on xrefs targeting fn element?

Hello Bruno, rather than having to wave the mouse over each xref and unveil each xref destination link (on demand). How about if you render the value of the @href attribute? Is that an acceptable information? I know that it is not perfect but it is the fastest obtainable information. /* fn xref */ *...
by alex_jitianu
Fri Sep 28, 2018 3:40 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: oxy_link-text() not resolving on xrefs targeting fn element?
Replies: 6
Views: 1317

Re: oxy_link-text() not resolving on xrefs targeting fn element?

Hello Bruno, You are correct. Currently, oxy-link_text() doesn't extract any text from a fn element. When we decided how oxy_link-text() extracts content from the targets, we tried to mimic the PDF and HTML publishing. If you publish a content that contains xrefs to fn elements, you will notice a si...