Search found 814 matches

by alex_jitianu
Thu May 14, 2020 12:01 pm
Forum: General XML Questions
Topic: md2dita: prolog in XML author and Ixiasoft different
Replies: 2
Views: 641

Re: md2dita: prolog in XML author and Ixiasoft different

Hello, The Markdown to DITA conversion is based on the LwDITA parser for DITA-OT plugin. Oxygen 21.1 comes with a newer version of this plugin which better handles the metadata section. You can check the plugin's Syntax reference , but I, personally, don't see a way to generate othermeta instead of ...
by alex_jitianu
Tue May 12, 2020 6:08 pm
Forum: Common Problems
Topic: Has anyone used Git submodules with the Git plugin?
Replies: 19
Views: 1510

Re: Has anyone used Git submodules with the Git plugin?

Hi Chris, I haven't encountered this situation, myself. What you describe, might be a line separator issue. You can open one of those files that appear as modified in an Oxygen editor and then go to Tools->Hex Viewer. If you see 0D 0A sequence then it might be something related with the core.autocrl...
by alex_jitianu
Thu May 07, 2020 1:32 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 1842

Re: Insert metadata into ditamap using SDK

Hi Samba,

I'm glad that you found a solution. But that jar should be inside [PLUGIN_DIR]\lib, isn't that right? The plugin should be self contained. When you build the deliverable in your project, this jar should be present inside the deliverable.

Best regards,
Alex
by alex_jitianu
Mon May 04, 2020 6:32 pm
Forum: Feature Request
Topic: What about Git support?
Replies: 102
Views: 32940

Re: What about Git support?

Hi Chris, You can run Git commands from the command line using JGit, but the required files are not bundled inside Oxygen's Git client. For example: - You can download a Self-contained command line executable . On windows, it can be run through CYGWIN: bash.exe jgit.sh status - You can download all ...
by alex_jitianu
Fri May 01, 2020 9:23 am
Forum: Feature Request
Topic: What about Git support?
Replies: 102
Views: 32940

Re: What about Git support?

Hi,

I wrote a blog post about my experiments with Git client-side hooks and DITA publishing pipelines. In case it helps, here it is: Using Git client-side hooks to run DITA publishing pipelines

Best regards,
Alex
by alex_jitianu
Thu Apr 30, 2020 11:19 am
Forum: SDK-API, Frameworks - Document Types
Topic: Find the name of a parent node/tag in EditorPage
Replies: 2
Views: 561

Re: Find the name of a parent node/tag in EditorPage

Hello Will, Here is how you can do that for the Text page: WSEditorPage currentPage = wsEditor.getCurrentPage(); if (currentPage instanceof WSXMLTextEditorPage) { WSXMLTextEditorPage xmlTextPage = (WSXMLTextEditorPage) currentPage; try { Object[] evaluateXPath = xmlTextPage.evaluateXPath("local-name...
by alex_jitianu
Wed Apr 29, 2020 3:31 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 1842

Re: Insert metadata into ditamap using SDK

Hi Samba, MetadataForm extends a javax.swing.JDialog ? This display() method invokes setVisible(true) ? If the answer is yes to both of these questions, then what happens next depends on whether MetadataForm is modal dialog or not: 1. A Modal dialog, once setVisible(true) has been called, will block...
by alex_jitianu
Wed Apr 29, 2020 12:47 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 1842

Re: Insert metadata into ditamap using SDK

Hi,

If MetadataForm is a modal dialog, it can be something like this:

Code: Select all

MetadataForm mForm = new MetadataForm();
mForm.display();
MyFormData data = mForm.getData();
insertInDitamap(data);
A modal dialog blocks the current thread until the dialog closes.

Best regards,
Alex
by alex_jitianu
Mon Apr 27, 2020 1:38 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 1842

Re: Insert metadata into ditamap using SDK

Hi, 1) I've created eclipse project in [OXYGEN_INSTALL_DIR]/plugins i.e C:\Program Files\Oxygen XML Editor 21\plugins\MySDKProject. I don't think the procedure tells you to do this, at least I don't see where. Which step from the procedure is this? https://www.oxygenxml.com/doc/versions/22.0/ug-edit...
by alex_jitianu
Fri Apr 24, 2020 3:06 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 1842

Re: Insert metadata into ditamap using SDK

Hi, I can think of 2 possibilities. Asa prerequisite, in case you have already deployed the plugin, remove it. You are using one of our Maven startup projects? If you do, these projects have a structure that facilitates the following procedures. If you don't, you can tailor the procedures according ...
by alex_jitianu
Thu Apr 23, 2020 4:44 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 1842

Re: Insert metadata into ditamap using SDK

Hello, Is the ditamap opened inside Oxygen? If it is, then you can use our API to change it. Something like this: WSEditor editorAccess = pluginWorkspaceAccess.getEditorAccess(ditamapURL, PluginWorkspace.DITA_MAPS_EDITING_AREA); if (editorAccess == null) { // Perhaps it's opened in the main editing ...
by alex_jitianu
Wed Apr 22, 2020 5:27 pm
Forum: Feature Request
Topic: What about Git support?
Replies: 102
Views: 32940

Re: What about Git support?

Hi Cris, We had a few talks regarding this issue, but we didn't yet agree to a solution. Do you think that a "Warn me if I'm behind" option would help? Instead of automatic pull, the user sees a notification that he is behind the remote repository and he'll have the option to pull right in that dial...
by alex_jitianu
Mon Mar 30, 2020 6:04 pm
Forum: XML Schemas
Topic: Content completion not working with IDs
Replies: 2
Views: 714

Re: Content completion not working with IDs

Hi, I'm sorry for the delay in answering this, but I'm glad that you found the culprit. Considering the fact that it started working after reoving a project file, I think that you probably had some options saved at project level. In this case I think the option Check ID/IDREF option was disabled. If...
by alex_jitianu
Thu Mar 26, 2020 3:54 pm
Forum: TEI
Topic: Triggering auto completion plugin
Replies: 3
Views: 2644

Re: Triggering auto completion plugin

Hi Thomas, I took a look at the plugin myself. It uses the SchemaManagerFilter API to contribute possible values for attributes. Oxygen will call this API whenever it requires the proposals for an attribute value, fir example when the user types the opening quote for an attribute value. I assume the...
by alex_jitianu
Wed Mar 18, 2020 9:44 am
Forum: Feature Request
Topic: What about Git support?
Replies: 102
Views: 32940

Re: What about Git support?

Hi Cris, I'll add a note to also discuss the possibility of an _Automatic pull_ option. Perhaps one that will pull changes only when the local repository doesn't have any changes to push. Like my colleague Sorin mentioned, we already to an automatic fetch so changing it into a pull is not that diffi...
by alex_jitianu
Tue Mar 17, 2020 4:37 pm
Forum: Feature Request
Topic: What about Git support?
Replies: 102
Views: 32940

Re: What about Git support?

Hello Chris, I understand their concerns, but for these checks to work, the other writer changes need to be pushed in the remote. What I'm saying is that it might just give them a false sense of security. Again, like you mentioned the ratio of success probably depends on the number of writers and th...
by alex_jitianu
Thu Mar 12, 2020 3:55 pm
Forum: Other Issues
Topic: Using doc function in an xpath_eval "variable"
Replies: 1
Views: 481

Re: Using doc function in an xpath_eval "variable"

Hi, I was hoping the doc function was using the Working Directory of the external tool as the baseURI. In my tests it didn't really matter if the build.xml file was opened or not in an editor. The relative paths are expanded to the oxygen installation directory. Luckily, the workaround is to use ${p...
by alex_jitianu
Mon Mar 09, 2020 4:54 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Creating a plugin
Replies: 2
Views: 726

Re: Creating a plugin

Hi Will, But, if I try to copy the \mySample\oxygen-sample-plugins\oxygen-sample-plugin-workspace-access folder to another location, it opens as a project, but I get a “Non-resolvable parent POM” error in the POM file: That's because that project is a Maven module, its parent being the oxygen-sdk-sa...
by alex_jitianu
Mon Mar 09, 2020 4:45 pm
Forum: Other Issues
Topic: Automatically populate <sep> with &#160;
Replies: 2
Views: 489

Re: Automatically populate <sep> with &#160;

Hi Greg, I think I understand what the problem is (please correct me if I miss something). The content completion configuration file can only control what elements are inserted, not what text should be put into one. If you are working in Author mode, then a solution is to create an author action tha...
by alex_jitianu
Thu Feb 27, 2020 12:36 pm
Forum: Other Issues
Topic: Githook problem
Replies: 8
Views: 1458

Re: Githook problem

Hello again, I've done more digging and this is how I've manage to make hooks work and invoke DITA scripts from them. First off all, the pre-commit script I'm using looks like this: #!/bin/sh set -x echo "start hook" export GIT_HOOKS_DIR=`cd "\`dirname "\\\`readlink "$0" || echo $0\\\`"\`" && pwd` #...
by alex_jitianu
Wed Feb 26, 2020 4:19 pm
Forum: Other Issues
Topic: Githook problem
Replies: 8
Views: 1458

Re: Githook problem

Hi, I'm not sure if that answers helps... Please start Oxygen from the command line launcher and do a commit. Afterwards, have a look in the console window and let me know what output you receive. Currently, hook related errors end up in the console and are not reported in the UI (like they should)....
by alex_jitianu
Wed Feb 19, 2020 12:53 pm
Forum: XSLT and FOP
Topic: Is it possible to register a "simple interface" Java extension function
Replies: 2
Views: 1472

Re: Is it possible to register a "simple interface" Java extension function

Hi,

This issue was fixed in the latestet Oxygen release, version 22. From a net.sf.saxon.lib.Initializer you will be able to access the API instance by using Configuration .getProcessor().

I hope it helps!

Best regards,
Alex
by alex_jitianu
Thu Feb 06, 2020 10:12 am
Forum: SDK-API, Frameworks - Document Types
Topic: Insert/Update text in a tag using xsl
Replies: 3
Views: 824

Re: Insert/Update text in a tag using xsl

Hi, In the XSLT, do you also have a template named "start" ? it is the entry point. The other elements are comboboxes. I have a configuration file for those elements but it doesn't work with work with publishername since it is just a display:inline. So for the other elements, which use combo boxes f...
by alex_jitianu
Wed Feb 05, 2020 9:26 am
Forum: SDK-API, Frameworks - Document Types
Topic: Insert/Update text in a tag using xsl
Replies: 3
Views: 824

Re: Insert/Update text in a tag using xsl

Hi, It looks like you are pretty close to your goal. Here's an XSLT variant that I've tested on an XML instance like the one below. Let me know if there is anything missing. Please note that you can use xsl:message to add logging information that can help you understand why things don't go as planne...
by alex_jitianu
Tue Feb 04, 2020 5:22 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Can't resolve Archetype com.oxygenxml.samples:oxygen-sdk-samples-archetype:21.1.0.2
Replies: 13
Views: 2171

Re: Can't resolve Archetype com.oxygenxml.samples:oxygen-sdk-samples-archetype:21.1.0.2

Hi Will, The SDK landing page is a good starting point to understand what kind of customization you need and to decide in what direction to go. If you give me more details about how you want to extend Oxygen , what extra functionality you need, then perhaps I can point you to more resources. Best re...
by alex_jitianu
Fri Jan 31, 2020 10:10 am
Forum: SDK-API, Frameworks - Document Types
Topic: Autocomplete and non-case sensitive Combobox
Replies: 6
Views: 1054

Re: Autocomplete and non-case sensitive Combobox

Hi,

I don't think there's a way to configure this behavior. What if you put as possible values both forms, with lower case and with upper case? Not very elegant, but you'll get the end result you desire.

Best regards,
Alex
by alex_jitianu
Fri Jan 31, 2020 10:05 am
Forum: Feature Request
Topic: What about Git support?
Replies: 102
Views: 32940

Re: What about Git support?

Hi Chris, Our plugin only allows switching between local branches, like you've already discovered. We do have an issue recorded to allow also checking out remote branches which means creating a local branch and link it to the remote one with the same name. I've increased its priority and we will let...
by alex_jitianu
Tue Jan 28, 2020 11:20 am
Forum: SDK-API, Frameworks - Document Types
Topic: Autocomplete and non-case sensitive Combobox
Replies: 6
Views: 1054

Re: Autocomplete and non-case sensitive Combobox

Hi, I see... The lookup is case sensitive so when you start writing with a small "p" it will not match the upper case value. Because of that you will end up committing "prescription" which is not the proposed value. What you can do: - if it doesn't really matter if the value is with a lower case or ...
by alex_jitianu
Mon Jan 27, 2020 12:16 pm
Forum: TEI
Topic: TEI ODD Transformation fail - ant.main
Replies: 5
Views: 1590

Re: TEI ODD Transformation fail - ant.main

Hello, I don't move anything when I install Oxygen, I simply move the file "Oxygen XML Editor" to the file "Applications" Before installing the new version, please uninstall the previous version present inside "Applications". Choosing "Replace" in the dialog that pops up when another version is dete...
by alex_jitianu
Thu Jan 23, 2020 1:40 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Autocomplete and non-case sensitive Combobox
Replies: 6
Views: 1054

Re: Autocomplete and non-case sensitive Combobox

Hi, They should already work like that... When you start the editing session, for example by using the mouse, the popup with all the values is presented. As you type, the first value that matches is selected. Just press ENTER to commit the value. The combo is case insensitive, too. Is this combo the...