Search found 2580 matches

by adrian
Tue Oct 01, 2019 3:51 pm
Forum: General XML Questions
Topic: Empty nodes vs no nodes
Replies: 1
Views: 174

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

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

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

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: 1
Views: 168

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

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

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

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

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

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

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

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

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

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

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

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

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

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: 19
Views: 61613

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

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

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

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

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

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...
by adrian
Wed Jun 12, 2019 5:35 pm
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: 423

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

Hello, I can confirm the issue when using the version of Saxon-EE (9.8.0.12) bundled with Oxygen v21.1, even as a plain XSLT transformation. Saxon-PE seems to work fine though. It also works with Saxon-EE 9.6 and 9.7 (as add-ons). One workaround is to install the Saxon-EE 9.7 add-on (Help > Install ...
by adrian
Wed Jun 12, 2019 11:32 am
Forum: Other Issues
Topic: Are Logical Folders Static?
Replies: 4
Views: 421

Re: Are Logical Folders Static?

Hello, A structure of logical folders and files is indeed static. So, if you create a logical folder and within it add all the files from within an actual folder (not the actual folder), you will always have that static list of files in that logical folder. While the contents (direct descendants) of...
by adrian
Wed Jun 12, 2019 11:17 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Curating the list of elements available in Author mode
Replies: 1
Views: 213

Re: Curating the list of elements available in Author mode

Hello,

Yes it is possible. Please read this section from the user manual:
Customizing the Content Completion Assistant
There are two possible ways to do this, one from the GUI and one from a configuration file, but both work at framework (document type) level.

Regards,
Adrian
by adrian
Tue Jun 11, 2019 3:08 pm
Forum: Common Problems
Topic: batch transformations in Oxygen-21.1: transformation scenarios dialog is empty
Replies: 3
Views: 330

Re: batch transformations in Oxygen-21.1: transformation scenarios dialog is empty

Hi, It depends a lot on what's inside those project folders. If you have files of mixed types (xml, xsl, css, etc) in a folder, you will get a blank list as there is no single transformation scenario that can be applied on all types of files. By default the Configure Transformation Scenario(s) dialo...
by adrian
Mon Jun 10, 2019 12:54 pm
Forum: Common Problems
Topic: Mac accented characters make window uneditable
Replies: 1
Views: 192

Re: Mac accented characters make window uneditable

Hello, This is a known Java 8 issue with the Press-and-Hold feature in macOS 10.14 (Mojave). The only workaround for Java 8 that we know of to avoid the input freeze altogether is to disable the press&hold feature itself from the OS. On another note we have also found a solution for unfreezing the i...
by adrian
Mon Jun 10, 2019 12:41 pm
Forum: Common Problems
Topic: Missing File Template
Replies: 1
Views: 164

Re: Missing File Template

Hello, In the bug report that you submitted, you mentioned you have v18.1 of Oxygen. Most advanced JSON features are available since v21.0 of Oxygen, this includes the "XSLT Stylesheet for JSON" template. in v18 only basic JSON editing was implemented. When searching for a video tutorial on our web ...