Search found 2736 matches

by adrian
Thu Oct 24, 2019 5:24 pm
Forum: Other Issues
Topic: performance issues on Mac
Replies: 8
Views: 2376

Re: performance issues on Mac

Hi, Is there any way to check a document for special characters after it has been opened in Oxygen Editor? If you disabled the support for special characters, but want to know if the document requires it, check in the Properties view (Window > Show View > ...) for the "BIDI" property . If it's " tru...
by adrian
Thu Oct 24, 2019 11:32 am
Forum: XSLT and FOP
Topic: Not able to group similar type elements with same value
Replies: 4
Views: 1061

Re: Not able to group similar type elements with same value

Hi, Your error is of stylesheet compilation, but you omitted the details that would have shown the actual compilation problem. Your code starts by using a variable that hasn't been declared: $relation_doc_uri So, it's impossible to say what the code does. Maybe it's that missing declaration, maybe i...
by adrian
Wed Oct 23, 2019 5:57 pm
Forum: Common Problems
Topic: Using copy-to and chunk=to-content causes CSS trouble in WebHelp Responsive
Replies: 4
Views: 1040

Re: Using copy-to and chunk=to-content causes CSS trouble in WebHelp Responsive

Hi, I just wanted to let you know that this problem has been resolved in the latest maintenance build of Oxygen 21.1, 2019101513 (build 2019101509 of WebHelp), released on October 17th: WebHelp Responsive: CSS stylesheet was not loaded for HTML documents generated for DITA topics that had chunk="to-...
by adrian
Tue Oct 22, 2019 9:56 am
Forum: Feature Request
Topic: Add "Format and Indent" postprocess option to XSLT Scenario
Replies: 6
Views: 2664

Re: Add "Format and Indent" postprocess option to XSLT Scenario

Hello, It was decided it shall not be implemented, for now. I've added another vote. One workaround is to configure the transformation scenario to open the result in an editor ( Output > Open in Editor ) and enable the option " Format and Indent the document on open " ( menu > Options > Preferences,...
by adrian
Fri Oct 18, 2019 6:19 pm
Forum: Common Problems
Topic: Oxygen and macOS 10.15 Catalina
Replies: 6
Views: 2890

Re: Oxygen and macOS 10.15 Catalina

Hello, I just wanted to let you know that this problem has been resolved in the latest maintenance build of Oxygen 21.1, 2019101513 (released on October 17th): macOS : Oxygen is now compatible with macOS Catalina (10.15). The OS no longer reports the "libjnidispatch.jnilib cannot be opened because t...
by adrian
Fri Oct 11, 2019 11:13 am
Forum: Common Problems
Topic: Oxygen and macOS 10.15 Catalina
Replies: 6
Views: 2890

Re: Oxygen and macOS 10.15 Catalina

Hi, Meanwhile, we have notarized (now required by macOS 10.15) the Oxygen apps for versions 21.1, 21.0, 20.1 and 19.1. So, these versions now start without the OS (GateKeeper) complaining that it cannot check them for malicious software. However, the libjnidispatch.jnilib message remains, until we s...
by adrian
Tue Oct 01, 2019 3:51 pm
Forum: General XML Questions
Topic: Empty nodes vs no nodes
Replies: 1
Views: 701

Re: Empty nodes vs no nodes

Hi, There is no empty text node. The node just doesn't exist. Also, <xsl:for-each select="*//@*"> iterates only on attributes, everything else (elements and text) is ignored. If you want to iterate on elements, maybe use <xsl:for-each select="//*"> Although I should mention there are better ways to ...
by adrian
Mon Sep 30, 2019 9:13 am
Forum: Other Issues
Topic: Error Opening Project "The content of elements must consist of well-formed character data or markup"
Replies: 2
Views: 1525

Re: Error Opening Project "The content of elements must consist of well-formed character data or markup"

Hi, To repair the broken project (.xpr) file, first make a backup copy of the .xpr file and change the file extension to .xml. You can then open the copy of the .xpr (with .xml extension) as a plain XML file via File > Open in Oxygen. Oxygen's automatic validation (and well-formedness check) should ...
by adrian
Thu Sep 12, 2019 3:46 pm
Forum: Other Issues
Topic: eXist API error: Failed to invoke method parseLocalExt
Replies: 1
Views: 511

Re: eXist API error: Failed to invoke method parseLocalExt

Hello, First, I would like to point out that v18.1 was released in 2016 and has already reached its end of life in February 2019. eXist-db 4.7 has been released after this date, May 2019. We have never tested Oxygen v18.1 with eXist-db 4.7, nor is it a supported combination. If you have created the ...
by adrian
Thu Sep 12, 2019 3:32 pm
Forum: Other Issues
Topic: Does Oxygen xml editor need network access
Replies: 2
Views: 660

Re: Does Oxygen xml editor need network access

Hello, Oxygen does not need network access to run. By default it will try to access some remote resources for news (notifications) and check for new versions (updates). But it does not need either to run. If you are using a license server, Oxygen will need network access to reach that license server...
by adrian
Tue Sep 10, 2019 6:14 pm
Forum: Common Problems
Topic: Syntax highlighting of XPath 3.1 expression with curly braces array constructor and simple map operator fails
Replies: 2
Views: 727

Re: Syntax highlighting of XPath 3.1 expression with curly braces array constructor and simple map operator fails

Hello,

Thank you for the feedback.
I was able to reproduce the issue with the example you have provided. I've logged an issue to investigate and resolve in a future release. For future reference it is issue EXM-44128.

Regards,
Adrian
by adrian
Tue Sep 10, 2019 1:52 pm
Forum: Feature Request
Topic: Enhance REGEX find/replace to support change to/from uppercase/lowercase?
Replies: 2
Views: 1246

Re: Enhance REGEX find/replace to support change to/from uppercase/lowercase?

Hi,

Oxygen uses Java regular expression syntax which does not offer this possibility (lowercase/uppercase in replacement).
I have logged a feature request on our issue tracking tool. For future reference it is issue EXM-44096.

Regards,
Adrian
by adrian
Wed Sep 04, 2019 5:49 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA Maps Manager: Windows can't find the target
Replies: 1
Views: 452

Re: DITA Maps Manager: Windows can't find the target

Hello, Please see the topic: Error message when opening the explorer inside Oxygen It's the same issue, even though the message is slightly different. The issue was introduced in Java 8u191 and 8u202. Java 8u202 is bundled with Oxygen v21.0 and v21.1. This message usually appears if you have broken ...
by adrian
Thu Aug 22, 2019 11:03 am
Forum: Common Problems
Topic: The current file is not recognized as XSLT
Replies: 4
Views: 872

Re: The current file is not recognized as XSLT

Hi,

Thank you for the screenshot.
OK, so the issue was the File Types configuration for XSL files. After changing the file type to XSL Editor the files have to be closed and reopen (or application restarted), so that the XSL files are open in the correct editor type.

Regards,
Adrian
by adrian
Wed Aug 21, 2019 9:46 am
Forum: Common Problems
Topic: The current file is not recognized as XSLT
Replies: 4
Views: 872

Re: The current file is not recognized as XSLT

Hi again,

One other thing, check in Options > Preferences > File Types for "xsl" and "xslt" extensions. They should be associated with the "XSL Editor".

Regards,
Adrian
by adrian
Wed Aug 21, 2019 9:42 am
Forum: Common Problems
Topic: The current file is not recognized as XSLT
Replies: 4
Views: 872

Re: The current file is not recognized as XSLT

Hello, On what platform are you using Oxygen (Windows, macOS, Linux)? Did you upgrade from an older version, or an older build of the same version? On macOS, if you upgrade in the same folder as an existing (older) version, it is recommended to Replace the older version. Never use Merge as it mixes/...
by adrian
Wed Aug 14, 2019 6:23 pm
Forum: Common Problems
Topic: Sequence of transformations
Replies: 5
Views: 2249

Re: Sequence of transformations

Hi, It concerns me though to hear that by design the order in which transformation scenarios run is not considered important. The user interface is not designed to change the order of the associated scenarios. That should give away that the order of execution is not something designed to be set by t...
by adrian
Mon Aug 12, 2019 5:13 pm
Forum: Common Problems
Topic: Oxygen and macOS 10.15 Catalina
Replies: 6
Views: 2890

Re: Oxygen and macOS 10.15 Catalina

Hi, Please try the clear quarantine tip from the Troubleshooting section on the download page: If Oxygen fails to start on macOS Sierra (10.12), High Sierra (10.13) or Mojave (10.14) and now Catalina (10.15) , you should clear the quarantine flag from its folder by running this command in a Terminal...
by adrian
Fri Aug 09, 2019 1:03 pm
Forum: XSLT and FOP
Topic: How do I add conditions to XSLT if statement
Replies: 4
Views: 1442

Re: How do I add conditions to XSLT if statement

Try:

Code: Select all

(@Op='E') and (not(TimestampChange[@Op='E']) and ((CompDate[@Op='A']) or (CompDate[@Op='E'])) or (TimestampChange[@Op='E'] and count(*[@Op])=1))
Regards,
Adrian
by adrian
Thu Aug 08, 2019 10:35 am
Forum: XSLT and FOP
Topic: How do I add conditions to XSLT if statement
Replies: 4
Views: 1442

Re: How do I add conditions to XSLT if statement

Hi,
If statement will be True when TimeStampChange is the only node in CaseEvent that have Op code.

Code: Select all

not(*[name() != 'TimestampChange']/@Op) and TimestampChange/@Op
Regards,
Adrian
by adrian
Fri Aug 02, 2019 3:34 pm
Forum: Feature Request
Topic: Organizing project transformation scenarios
Replies: 4
Views: 2300

Re: Organizing project transformation scenarios

Hi, The organizing mentioned here is not for running the scenarios, but for grouping them together under categories, so you can locate them faster. Running the scenarios in a specific order is a completely different matter. Please see my answer from this topic, Sequence of transformations . In short...
by adrian
Fri Jul 19, 2019 1:02 pm
Forum: XSLT and FOP
Topic: reference a variable from the main stylesheet
Replies: 1
Views: 812

Re: reference a variable from the main stylesheet

Hello, What version of Oxygen are you using (Help > About)? Are you using the standalone edition of Oxygen or the Eclipse plugin? I want to use a variable from the main stylesheet in the included stylesheet. It should work if configured correctly. Is the main stylesheet added to the list of master f...
by adrian
Thu Jul 18, 2019 5:12 pm
Forum: Other Issues
Topic: Search and replace using regex and xpath
Replies: 2
Views: 819

Re: Search and replace using regex and xpath

Hi, First, [not(ancestor::b)] will not work, because XPath actually comes first (it defines the searched regions) and you have at least one parent element that wraps your text (so it includes both text and b tag) and that one doesn't have the b ancestor. So XPath will match that parent element and s...
by adrian
Wed Jul 17, 2019 5:40 pm
Forum: Other Issues
Topic: Error message when opening the explorer inside Oxygen
Replies: 2
Views: 893

Re: Error message when opening the explorer inside Oxygen

Hello, The message "The drive or network connection that the shortcut '' refers to is unavailable." does not actually belong to Oxygen. The message is from the file browser (JFileChooser ). This JFileChooser component is passing along the message got from Windows API. The issue was introduced in rec...
by adrian
Thu Jun 27, 2019 12:01 pm
Forum: General XML Questions
Topic: Merge Multiple XML Files into One XML File
Replies: 21
Views: 76107

Re: Merge Multiple XML Files into One XML File

Hi, I should mention that the merging described here is mostly for XMLs holding data records. It is not really suited for XMLs with complex structures, unless you're willing to manually trim the merged output to make it valid. Your XML refers (via DOCTYPE) a DTD that you don't seem to have. If you j...
by adrian
Wed Jun 19, 2019 10:16 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Oxygen 21.1 - Output always includes Kuromoji
Replies: 2
Views: 777

Re: Oxygen 21.1 - Output always includes Kuromoji

Hello, This issue has already been addressed in the latest maintenance build of v21.1, 2019061404 (released on June 17th). WebHelp Responsive: The Kuromoji JS library is now copied to the output folder only for the Japanese language. You can download it from our web site: http://www.oxygenxml.com/do...
by adrian
Thu Jun 13, 2019 5:26 pm
Forum: General XML Questions
Topic: Can Element Content be moved to Attribute Value location?
Replies: 1
Views: 773

Re: Can Element Content be moved to Attribute Value location?

Hello, There is no such refactoring operation available at this time (extract text node and use it as attribute value). I guess you can use the "good old fashioned" regular expression from the Find/Replace tool. Search for: <enterpriseRef>(.*)</enterpriseRef> Replace with: <enterpriseRef manufacture...
by adrian
Thu Jun 13, 2019 5:13 pm
Forum: Other Issues
Topic: Regular Expression for Adding an Alt Tag
Replies: 2
Views: 858

Re: Regular Expression for Adding an Alt Tag

Hi, Oxygen supports Java regular expression syntax in the Find/Replace tools. You can use $ n to refer numbered capturing groups (where n is a number from 1-9). $0 refers the entire search match. Search for: <image (.*)/> Replace with: <image $1><alt/></image> .* will capture anything, so you might ...
by adrian
Thu Jun 13, 2019 11:46 am
Forum: Common Problems
Topic: Oxygen-21.1 throws Java errors for XSLT transformations via Ant taks (while the XSLT itself is fine)
Replies: 4
Views: 1505

Re: Oxygen-21.1 throws Java errors for XSLT transformations via Ant taks (while the XSLT itself is fine)

Hi, As per the Saxon - Running XSLT from the Command Line documentation, you can use the -target:(EE|PE|HE|JS|JS2) command line argument. e.g. For Saxon-HE <arg value="-target:HE"/> Interesting find regarding the optimizations. I can confirm that this problem is indeed avoided with optimizations dis...
by adrian
Thu Jun 13, 2019 9:45 am
Forum: Other Issues
Topic: Are Logical Folders Static?
Replies: 4
Views: 1288

Re: Are Logical Folders Static?

Hi, If you're using the Project (or "Selected project resources") scope for Find/Replace in Files, then you are working with what is visible in the Project view. If the folder has been expanded, you'll have to refresh it manually first, so that it sees the files added in the file system. Regards, Ad...