Search found 670 matches

by alex_jitianu
Tue May 21, 2019 4:19 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Issue with DITA Extension Bundle
Replies: 1
Views: 40

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: 2
Views: 73

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

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: 5
Views: 273

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

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: 5
Views: 273

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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...
by alex_jitianu
Thu Sep 20, 2018 2:31 pm
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 8022

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

Hi Charles, I guess that the ${targets} variable is defined inside preferences , right? oxy_link-text() doesn't support any parameters so you can't pass it any data that way. Inside a LinkTextResolver you can expand editor variables: authorAccess.getUtilAccess().expandEditorVariables("${targets}", s...
by alex_jitianu
Fri Sep 14, 2018 12:22 pm
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 8022

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

Hi Charles, When we publish our API as Maven artifacts we also pack their source code. ro.sync.ecss.extensions.api.ExtensionsBundle is part of the API so you will have access to its source code without having to do anything in particular. So if you invoke the Eclipse action Open Type (Ctrl+Shift+T) ...
by alex_jitianu
Tue Sep 11, 2018 3:24 pm
Forum: DocBook
Topic: Potential performance concerns with oxy_url() and oxy_xpath() ?
Replies: 24
Views: 8022

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

Hi, You should download the Oxygen SDK . In the submodule called oxygen-sample-framework , after executing a mvn generate-resources , you will notice a samples directory which will contain the DocbookLinkTextResolver code as well as ro.sync.ecss.extensions.docbook.DocBook5ExtensionsBundle . ro.sync....
by alex_jitianu
Tue Aug 21, 2018 3:20 pm
Forum: Common Problems
Topic: 1.3.2 git addon can't be installed
Replies: 2
Views: 825

Re: 1.3.2 git addon can't be installed

Hello,

I'm sorry for the inconvenience... For some reason the build didn't succeed. Please give it another try, it should work now.

Best regards,
Alex
by alex_jitianu
Tue Aug 21, 2018 11:16 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Placeholder text in oXygen css for text field and textarea
Replies: 4
Views: 911

Re: Placeholder text in oXygen css for text field and textarea

Hello, Currently, those two form controls don't offer this functionality. I will add an issue to support a new placeholder property on the form controls. Meanwhile, perhaps it will help if you use a date picker form control instead of the text field because you can impose a date format. There is alw...