Search found 2540 matches

by adrian
Wed Aug 14, 2019 6:23 pm
Forum: Common Problems
Topic: Sequence of transformations
Replies: 5
Views: 1096

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

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

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

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

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

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

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

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: 20
Views: 57413

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

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

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

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

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

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

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

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

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

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

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

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 ...
by adrian
Wed Jun 05, 2019 4:58 pm
Forum: Common Problems
Topic: [bug] Pasting into oXygen 17.1 on Mac - content always pasted twice
Replies: 13
Views: 3040

Re: [bug] Pasting into oXygen 17.1 on Mac - content always pasted twice

Hi, I just wanted to update this thread with the information that Oxygen supports OpenJDK since v21.0 (OpenJDK 11 in v21.0 and OpenJDK 12 in v21.1). These versions with OpenJDK 11 and later resolve this issue. You can now download Oxygen distributions that bundle OpenJDK: Oxygen XML Editor / macOS 1...
by adrian
Wed Jun 05, 2019 11:12 am
Forum: Common Problems
Topic: Syriac ligatures in Author mode
Replies: 12
Views: 2327

Re: Syriac ligatures in Author mode

Hi, I just wanted to update this thread with the information that since v21.0 Oxygen supports OpenJDK (OpenJDK 11 in v21.0 and OpenJDK 12 in v21.1). OpenJDK 11 and later properly implement the support required for Syriac ligatures. You can now download Oxygen distributions that bundle OpenJDK: Oxyge...
by adrian
Tue May 28, 2019 12:19 pm
Forum: Other Issues
Topic: SharePoint Authentication
Replies: 1
Views: 200

Re: SharePoint Authentication

Hello, When we open our SharePoint site in Internet Explorer it never asks for our credentials, because it automatically authenticates it based on the logged in user. I believe you are using Single Sign On (SSO) on the SharePoint site. Currently (as of 21.1) Oxygen does not support SSO authenticatio...
by adrian
Mon May 27, 2019 11:13 am
Forum: Common Problems
Topic: Blurry fonts in editor
Replies: 1
Views: 184

Re: Blurry fonts in editor

Hello, What version of Oxygen are you running? Old versions of Oxygen (v16 and older) are not HiDPI (scaling) aware. On new displays that have high resolution for which you need some level of scaling (e.g. 125-200%) Windows tries to compensate by scaling/enlarging the entire application window, whic...
by adrian
Mon May 27, 2019 10:46 am
Forum: Common Problems
Topic: Not able to install Oxygen, Asking for Username/Password
Replies: 1
Views: 158

Re: Not able to install Oxygen, Asking for Username/Password

Hello, What product do you intend to install, Oxygen XML Editor, Oxygen XML Author, Oxygen XML Developer or something else entirely? You are currently trying to install the Oxygen HTTP License Server, which is not the product but the server responsible with licensing the product. If you want to do a...
by adrian
Thu May 23, 2019 3:10 pm
Forum: Other Issues
Topic: Oxygen Crashes With Every Window-Export Layout Command
Replies: 1
Views: 185

Re: Oxygen Crashes With Every Window-Export Layout Command

Hi, What version and build of Oxygen is the user using (Help > About)? Please define "crash". The application: a) exits abruptly (application window disappears) b) stops responding with a dialog (dialog cannot be closed or interacted with). What does the dialog message say? c) stops responding altog...
by adrian
Thu May 16, 2019 10:51 am
Forum: Common Problems
Topic: Can't stop a runaway XPath expression
Replies: 3
Views: 341

Re: Can't stop a runaway XPath expression

Hi, If you use the XPath toolbar, a red square (stop button) appears on the right side off the XPath combo box (in place of the list expand widget). If you have used the XPath/XQuery Builder view the Execute XQuery button from its toolbar turns into a stop button. In practice, it's possible that by ...
by adrian
Tue May 14, 2019 4:31 pm
Forum: XSLT and FOP
Topic: Add attribute to node
Replies: 1
Views: 328

Re: Add attribute to node

Hi, Note that xmlns:xmm and xmlns:xsd are not valid attribute names so they cannot be used for xsl:attribute/@name. These are namespace prefix declarations, so you should treat them as such (not as attributes). I see you are using an XSLT 1.0 stylesheet which is rather limiting given the requirement...
by adrian
Tue May 14, 2019 3:45 pm
Forum: Common Problems
Topic: bulk associate documents to a schema
Replies: 1
Views: 216

Re: bulk associate documents to a schema

Hi, Oxygen doesn't have a specialized batch (bulk ) "Associate Schema" operation that makes the association within the XML file. Note that the association with RelaxNG appears in the XML file as a processing instruction. e.g. <?xml-model href="path/to/my/schema.rng" type="application/xml" schematype...
by adrian
Mon May 13, 2019 10:01 am
Forum: General XML Questions
Topic: Remove KML elements that do not contain certain values
Replies: 1
Views: 209

Re: Remove KML elements that do not contain certain values

Hi, The difficulty is in writing the XPath that describes want you want to be removed. It works with Refactoring > XML Refactoring, Delete element with the following XPath specified in the Element field: Placemark[not(name='POTOMAC RIVER' or ExtendedData/SchemaData[@schemaUrl="#OGRGeoJSON"]/SimpleDa...