Search found 2532 matches

by adrian
Thu Jun 27, 2019 12:01 pm
Forum: General XML Questions
Topic: Merge Multiple XML Files into One XML File
Replies: 18
Views: 56113

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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...
by adrian
Thu May 09, 2019 5:59 pm
Forum: XML Schemas
Topic: Creating Full Test XML Data Possibilities with Deeply Nested 'Choice' from XSD
Replies: 3
Views: 537

Re: Creating Full Test XML Data Possibilities with Deeply Nested 'Choice' from XSD

Hi, Here's a quick XQuery that does what you want on an XML instance. Can be run in the XPath/XQuery Builder with Saxon-PE XQuery: distinct-values( for $path in //(*|@*) return replace(replace(path($path), "Q\{.*?\}",""), "\[\d+\]", "") ) This also covers XPaths to attributes. If you want only eleme...
by adrian
Wed May 08, 2019 5:13 pm
Forum: XML Schemas
Topic: Creating Full Test XML Data Possibilities with Deeply Nested 'Choice' from XSD
Replies: 3
Views: 537

Re: Creating Full Test XML Data Possibilities with Deeply Nested 'Choice' from XSD

Hello,

Unfortunately when there are grandchildren/great-grandchildren choices only one is selected to be generated and the others aren't generated at all.
We have an improvement request for this on our issue tracking tool. I've added another vote and mentioned your comment.

Regards,
Adrian
by adrian
Tue May 07, 2019 10:21 am
Forum: Feature Request
Topic: Refactoring: comment out elements
Replies: 3
Views: 1561

Re: Refactoring: comment out elements

Hi,

I've added another vote to this feature request.

Regards,
Adrian
by adrian
Tue Apr 16, 2019 4:22 pm
Forum: Common Problems
Topic: suppressing validation messages (catalogs tab)
Replies: 1
Views: 209

Re: suppressing validation messages (catalogs tab)

Hi, Catalog verbosity is by default set to "None". You've probably set it to "Unresolved entities" or "All messages" and forgot about it. Check in Options > Preferences, XML / XML Catalog . This causes the Catalogs view to keep appearing If you want to keep the tab, but make it smaller, just resize ...
by adrian
Tue Apr 16, 2019 3:57 pm
Forum: XSLT and FOP
Topic: formatting XPath expressions in XSLT 3 text templates
Replies: 1
Views: 513

Re: formatting XPath expressions in XSLT 3 text templates

Hi,

In short, there isn't. The XSLT formatter does not format XPath expressions from text templates on multiple lines, it just wraps the line at the line limit.
I've logged an improvement request.

Regards,
Adrian
by adrian
Tue Apr 16, 2019 2:48 pm
Forum: Common Problems
Topic: Unable to Install Author V21
Replies: 4
Views: 385

Re: Unable to Install Author V21

Hi, Thank you for the log file. Te problem is the user account name which contains an exclamation mark ('!') character at the end ("Documento01!"). Unfortunately Java uses the exclamation mark in paths '!' as a kind of separator between paths to JAR archives and paths within those archives (\path\to...
by adrian
Tue Apr 16, 2019 12:07 pm
Forum: XSLT and FOP
Topic: Create XSLT Documentation ERROR
Replies: 1
Views: 234

Re: Create XSLT Documentation ERROR

Hello, What version of Oxygen are you using (Help > About)? I could not reproduce this issue on our test files with v21.0. I've logged an issue to investigate, but it would be useful if we had a sample with which to reproduce the issue. If possible, please send us a sample file (or the full styleshe...
by adrian
Mon Apr 15, 2019 5:20 pm
Forum: Common Problems
Topic: Oxygen eXistDB error: No such handler
Replies: 5
Views: 420

Re: Oxygen eXistDB error: No such handler

Hi, 18.1 probably did not have the "More details..." link. You are trying to enter a full eXist-db URL in the Host field, xmldb:exist:// hostname /exist/xmlrpc . That's incorrect, you should specify only the hostname there. You've also cleared the "eXist Admin Client JWS field". That is a required f...