Search found 742 matches

by alex_jitianu
Mon Mar 30, 2020 6:04 pm
Forum: XML Schemas
Topic: Content completion not working with IDs
Replies: 2
Views: 135

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

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: 84
Views: 21935

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: 84
Views: 21935

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

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

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

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

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

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

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

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

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

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

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: 84
Views: 21935

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

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

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

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...
by alex_jitianu
Thu Jan 23, 2020 12:23 pm
Forum: TEI
Topic: TEI ODD Transformation fail - ant.main
Replies: 5
Views: 829

Re: TEI ODD Transformation fail - ant.main

Hello Lucas, Does it behave the same after an Oxygen restart? I've seen this before when you start Oxygen and then you move its directory in the file system. If you take a look at "/Applications/Oxygen XML Editor/tools/ant" do you see a lib directory that contains a lot of jars, including ant.jar? B...
by alex_jitianu
Thu Jan 23, 2020 10:02 am
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: 817

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

Hi Will, I couldn't find the Maven Dependencies option under Package Explorer for the project created from the command line. That's probably because Eclipse didn't detected the Maven nature of the project. When that happens, you can go to the Project Explorer, show the contextual menu on the project...
by alex_jitianu
Wed Jan 22, 2020 5:17 pm
Forum: TEI
Topic: TEI ODD Transformation fail - ant.main
Replies: 5
Views: 829

Re: TEI ODD Transformation fail - ant.main

Hello,

Can you post the entire log from the console? The "ODD TEI in to Relax NG" transformation is an ANT transformation. We can then see which ant.jar is added in the command and if it's present or missing from your system.

Best regards,
Alex
by alex_jitianu
Mon Jan 20, 2020 1:47 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: 817

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

Hi Will, Yes, it sounds like there are still missing jars... If you take a look at the project structure inside Eclipse's Package Explorer view, you should be able to see a Maven Dependencies entry. If you expand it, do you see an entry labeled oxygen-{version}.jar ? I think I may have found an opti...
by alex_jitianu
Thu Jan 16, 2020 11:00 am
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: 817

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

Hi Will, I'm glad to hear that you made it work! But now that it has built, the pom shows two errors: These errors appear when you open the pom file, right? The custom configuration you created, the one with VM arguments, is not used in this particular case. If these errors are the only nuisance the...
by alex_jitianu
Tue Jan 14, 2020 5:05 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: 817

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

Hi Will, Thank you for the kind words! You are right! I've tested myself and the Eclipse m2e plugin doesn't take into account the MAVEN_OPTS system property. I've tested the .mvn/jvm.config file as well and that too is completely ignored. If I understand it correctly, you are at the point where you ...
by alex_jitianu
Fri Jan 10, 2020 5:28 pm
Forum: Other Issues
Topic: Githook problem
Replies: 8
Views: 465

Re: Githook problem

Hello, I tried to use your script as a pre-commit hook, myself. I've started Oxygen from the command line launcher because I've noticed that if the pre-commit hook uses echo command then I will see its output inside Oxygen's console. When I committed from Oxygen, what appeared in the console was jus...
by alex_jitianu
Thu Jan 09, 2020 10:40 am
Forum: Other Issues
Topic: Githook problem
Replies: 8
Views: 465

Re: Githook problem

Hello, Are you by any chance on Windows? The Oxygen's Git plugin is based on the JGit library which does support Git hooks (well, not alll of them, but pre-commit is supported). If you are running on Windows though, you need to: 1. Install Cygwin. You'll need to nstall the Git packages in Cygwin too...
by alex_jitianu
Thu Jan 09, 2020 9:17 am
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: 817

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

Hi Will, From what I've read, m2e doesn't honor MAVEN_OPTS. The first thing that comes to mind is to configure Eclipse to use the external Maven installation, the same you've used to create the project. In the past I had to do that myself to bypass various strange errors. To do that, you need to go ...
by alex_jitianu
Tue Jan 07, 2020 12:35 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: 817

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

Hi Will, Such exceptions usually happen when maven connects to a repository through HTTPS, but as I see from your snapshots, the URLs to the repository are all with HTTP. I'm not entirely sure why would Maven use https... What version of Maven are you using? Perhaps the proxy is receiving plain HTTP...
by alex_jitianu
Mon Dec 30, 2019 12:18 pm
Forum: Other Issues
Topic: Can't comment out DITA that contains double dash --
Replies: 1
Views: 189

Re: Can't comment out DITA that contains double dash --

Hi Michael, From this forum, I saw that oXygen is supposed to convert the -- to an escaped-string (such as -\-) to allow commenting to work. However, I do not see this behavior. I have oXygen XML Editor 18.0. It's not related to the Oxygen version. This behavior is present only in the text page. So ...
by alex_jitianu
Mon Dec 30, 2019 11:32 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Keyboard shortcut for inserting uicontrol tag
Replies: 2
Views: 185

Re: Keyboard shortcut for inserting uicontrol tag

Hi, Yes, it is possible. I assume you are editing the DITA files inside Oxygen's Author mode, right? If that's the case, then the easiest way would be to create an Author Action . This action is very similar to the Bold action, it just inserts a different fragment, an uicontrol . So what I suggest i...