Search found 364 matches

by tavy
Fri May 07, 2021 8:35 am
Forum: Common Problems
Topic: "Ignore nodes by Xpath" in Compare Directories
Replies: 8
Views: 3968

Re: "Ignore nodes by Xpath" in Compare Directories

I corrected the hyperlink, there was a wrong character added at the end in the link.
by tavy
Thu May 06, 2021 5:19 pm
Forum: Common Problems
Topic: "Ignore nodes by Xpath" in Compare Directories
Replies: 8
Views: 3968

Re: "Ignore nodes by Xpath" in Compare Directories

Hello,

This feature is not so easy to implement, but we have in plan to implement it in the future. Maybe we will have this implemented in the Compare Directories script. I added your comment on the issue and I increased its priority.
Thanks for your feedback.

Best Regards,
Octavian
by tavy
Thu May 06, 2021 4:59 pm
Forum: Feature Request
Topic: Diff Files and Dirs: Enable to run these tasks also from command line
Replies: 11
Views: 6770

Re: Diff Files and Dirs: Enable to run these tasks also from command line

Hello, Thanks for your feedback. We already have in plan to implement a merging tool. I added your comment on the issue and increased its priority. When it will be implemented we will update this thread. Probably will be similar with the Compare Directories and Compare Files script, that can be used...
by tavy
Wed May 05, 2021 9:01 am
Forum: XML Schemas
Topic: xs:alternative Content Completion
Replies: 3
Views: 2233

Re: xs:alternative Content Completion

Hello,

Yes, only the XML Schema validation engine can be changed to Saxon, the content completion is always using Xerces.

Regards,
Octavian
by tavy
Wed May 05, 2021 8:55 am
Forum: XSLT and FOP
Topic: Using XML and XSLT file paths in Document Transformation Scenario
Replies: 3
Views: 1489

Re: Using XML and XSLT file paths in Document Transformation Scenario

Hello, The ${dbgXML} and ${dbgXSL} were implemented as editor variables to be used in External Tools. They resolve to the selected XML and XSL/XQuery from the Debugger perspectives. There is an issue on our internal issue tracker to support them also in the transformation scenario. I added your comm...
by tavy
Tue May 04, 2021 10:19 am
Forum: XML Schemas
Topic: xs:alternative Content Completion
Replies: 3
Views: 2233

Re: xs:alternative Content Completion

Hello, Thanks for your feedback. Unfortunately I cannot reproduce the problems. The content completion works fine for me, it provides the "left" or "right" attributes depending on "condition". I tested with oXygen XML Editor 23.1, build 2021030206. Maybe you have set an...
by tavy
Tue May 04, 2021 8:59 am
Forum: General XML Questions
Topic: Disable adding newline at the end of file and auto line break when long line? Keep the original type of spacing?
Replies: 4
Views: 2574

Re: Disable adding newline at the end of file and auto line break when long line? Keep the original type of spacing?

Hello, I think you can use the "Preserve text as it is" option from Options->Preferences->Editor / Format / XML option page. If is selected, the Format and Indent operation preserves text content as it is, without removing or adding any white space. Another solution is to add the elements,...
by tavy
Thu Apr 29, 2021 12:30 pm
Forum: General XML Questions
Topic: Disable adding newline at the end of file and auto line break when long line? Keep the original type of spacing?
Replies: 4
Views: 2574

Re: Disable adding newline at the end of file and auto line break when long line? Keep the original type of spacing?

Hello, Thanks for your feedback. You can control the formatting opinions from "Options->Preferences-> Editor / Format" options page. The number of characters after which the Format and Indent (pretty-print) action performs hard line-wrapping, is by default 100. You can set a different valu...
by tavy
Tue Apr 27, 2021 3:37 pm
Forum: General XML Questions
Topic: Validate part of XML file
Replies: 4
Views: 1424

Re: Validate part of XML file

Hello, If you do not have an XSD schema for the header, and you want to validate only the core part, I recommend you to use an NVDL schema. I think you can create a schema something like this: <rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"> <namespace ns="http://testCo...
by tavy
Mon Apr 26, 2021 12:31 pm
Forum: General XML Questions
Topic: Validate part of XML file
Replies: 4
Views: 1424

Re: Validate part of XML file

Hello, No, you cannot use validation scenario to ignore the header element, and associate the XSD schema only with the core element. Probably you can do this from the XSD schema. Maybe you can use a different namespace for the header element, and associate the schema only for that namespace. Best Re...
by tavy
Fri Apr 23, 2021 10:10 am
Forum: XML Schemas
Topic: Generating Schema for existing xml file
Replies: 2
Views: 1613

Re: Generating Schema for existing xml file

Hello, The generation does not work properly in this case. I think you need change the generated schema and set the "figure" and "figDesc" elements optional. Something like this: <xs:element ref="figure" minOccurs="0"/> <xs:element ref="figDesc" minO...
by tavy
Thu Apr 22, 2021 4:37 pm
Forum: XSLT and FOP
Topic: Using XML and XSLT file paths in Document Transformation Scenario
Replies: 3
Views: 1489

Re: Using XML and XSLT file paths in Document Transformation Scenario

Hello, When you create a transformation scenario, you can use the editor variables such as ${cf} to specify dynamically the input XML or XSL. This means that you can use the same scenario for multiple files, and the editor variables will be expanded to the current file on which you apply the scenari...
by tavy
Tue Apr 13, 2021 5:19 pm
Forum: General XML Questions
Topic: Schematron xpath fail only once
Replies: 3
Views: 1397

Re: Schematron xpath fail only once

Hello, I think the schema should be something like this: <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://purl.oclc.org/dsdl/schematron"> <pattern> <rule context="xml"> <let name="test" value="topic/test[number(text()) > 5]"/> <...
by tavy
Mon Apr 12, 2021 3:22 pm
Forum: General XML Questions
Topic: Schematron xpath fail only once
Replies: 3
Views: 1397

Re: Schematron xpath fail only once

Hello,

I don't know exactly your use case, maybe you can give me an example of an XML document and a Schematron rule, to understand better the situation.
I think you can add the rule on a parent context, and then change the assert to fail if one of the rules is not true.

Best Regards,
Octavian
by tavy
Wed Apr 07, 2021 9:45 am
Forum: XSLT and FOP
Topic: XSLT using lookup table
Replies: 4
Views: 3191

Re: XSLT using lookup table

Hello Cathy, For me it works if I have the stylesheet something like this: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs"...
by tavy
Mon Apr 05, 2021 11:44 am
Forum: XSLT and FOP
Topic: XSLT using lookup table
Replies: 4
Views: 3191

Re: XSLT using lookup table

Hello Cathy, I think a possible solution is to have a stylesheet something like this: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:output method="xml" encoding="UTF-8...
by tavy
Fri Mar 19, 2021 12:00 pm
Forum: Other Issues
Topic: Content Compare in Eclipse Plugin
Replies: 14
Views: 6166

Re: Content Compare in Eclipse Plugin

Hi Stefan, We integrated our diff in the Eclipse comparison support. You need to trigger the eclipse comparison support. I think a solution is something like this: https://wiki.eclipse.org/FAQ_How_do_I_create_a_compare_editor%3F But you need to make sure that you set the "xml" type in the ...
by tavy
Thu Mar 18, 2021 2:56 pm
Forum: Other Issues
Topic: Content Compare in Eclipse Plugin
Replies: 14
Views: 6166

Re: Content Compare in Eclipse Plugin

Hello Stefan, The comparison in Eclipse should start automatically in Author mode for any XML document that has a CSS associated. You need to make sure that the "Enable file comparison in Author mode" option from the Preferences > Oxygen XML Editor Eclipse plugin > DIFF option page is set....
by tavy
Wed Mar 10, 2021 6:10 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: SQF preferences
Replies: 4
Views: 2080

Re: SQF preferences

Hello, We just released Oxygen XML Editor version 23.1 and we implemented the support to ignore validation problems. The validation problems that have an ID can now be ignored using quick fix actions. You can find more details on our website: https://www.oxygenxml.com/xml_developer/whats_new.html#23...
by tavy
Mon Mar 08, 2021 11:39 am
Forum: SDK-API, Frameworks - Document Types
Topic: Hot links in schematron error messages
Replies: 20
Views: 7856

Re: Hot links in schematron error messages

Thanks for you feedback.

We have a sample implementation of an intelligent integrated style guide, that works both in Oxygen XML Editor and Oxygen XML Web Author.
https://github.com/oxygenxml/integrated-styleguide

Best Regards,
Octavian
by tavy
Wed Mar 03, 2021 1:49 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Hot links in schematron error messages
Replies: 20
Views: 7856

Re: Hot links in schematron error messages

Hello, Thanks for your feedback. Unfortunately, you cannot add the text link in the message. We have an issue on our issue tracker to add this support in a future version. I added your comment on the issue and increased its priority. When the issue will be implemented we will update this thread. Bes...
by tavy
Wed Feb 17, 2021 10:28 am
Forum: Common Problems
Topic: Possible Bug with Saxon Schema Validation
Replies: 2
Views: 1353

Re: Possible Bug with Saxon Schema Validation

Hello Frank, Thanks for your feedback. Yes, it seems to be a problem with the Saxon validation in an assert. If the type "ns1:Token3" is set as an element type, no problem is reported. Therefore, it seems that the problem occurs when referring the type in an assert element. I reported the ...
by tavy
Mon Feb 15, 2021 8:15 pm
Forum: Common Problems
Topic: Possible Bug with XML Schema 1.1 override
Replies: 4
Views: 1616

Re: Possible Bug with XML Schema 1.1 override

Hello, Thanks for your feedback. There is a problem with the Saxon validation, I already reported this problem at Saxon, and they fixed it. Here is the Saxon issue: https://saxonica.plan.io/issues/4518 We need to update the default Saxon library in Oxygen, probably in the next Oxygen major release. ...
by tavy
Fri Feb 05, 2021 10:04 am
Forum: XML Schemas
Topic: generate-id function and preceding axis in Schematron
Replies: 2
Views: 1735

Re: generate-id function and preceding axis in Schematron

Hello David,

I will try to analyze this situation and give you some hints, but it will be more easy for me if you can send me some sample files. You can send them on our "support at oxygenxml dot com" email address.

Best Regards,
Octavian
by tavy
Fri Feb 05, 2021 9:36 am
Forum: Feature Request
Topic: Modern Javascript support
Replies: 1
Views: 1159

Re: Modern Javascript support

Hello Martin,

Thanks for your feedback.
There is already an issue on our issue tracker to improve the JavaScript editing support. I added your comment on the issue and I increased its priority. Maybe in the next Oxygen major release we can try to improve this support.

Best Regards,
Octavian
by tavy
Thu Jan 14, 2021 3:04 pm
Forum: Common Problems
Topic: XSLT Debugger Messages View
Replies: 11
Views: 2904

Re: XSLT Debugger Messages View

Hello, Thanks for your feedback. Yes, it seems that when Saxon is in streaming mode the xsl:message is not presented in the Messages view. The message is presented in the console view, if open you have opened Oxygen from a console you will see the message there. I added an issue on our issue tracker...
by tavy
Fri Jan 08, 2021 1:35 pm
Forum: Common Problems
Topic: XSLT Debugger Messages View
Replies: 11
Views: 2904

Re: XSLT Debugger Messages View

Hello, From what I tested the message is presented also when the ${currentFileURL} is used as XML URL. If you create a transformation scenario for an XSL and you use the ${currentFileURL} for both XML URL and XSL URL, the ${currentFileURL} editor variable will be expended to the location of the XSL....
by tavy
Wed Jan 06, 2021 4:21 pm
Forum: Common Problems
Topic: XSLT Debugger Messages View
Replies: 11
Views: 2904

Re: XSLT Debugger Messages View

Hello, Unfortunately I cannot reproduce the problem. I tested with the same version that you used <oXygen/> XML Editor 23.0, build 2020121712. I used Saxon HE 9.9.1.7 for debugging with the default options, and I get the test message in the Messages view. What engine do you use for debugging? Maybe ...
by tavy
Mon Jan 04, 2021 2:55 pm
Forum: Common Problems
Topic: XSLT Debugger Messages View
Replies: 11
Views: 2904

Re: XSLT Debugger Messages View

Hello, From what I tested, with <oXygen/> XML Editor 23.0, build 2020111805, the debugging works fine for me. What version of Oxygen XML do you use? Can you send me also the XML document used in the debugging process, or a sample on which you reproduce the problem? What engine do you use for debuggi...
by tavy
Tue Dec 22, 2020 1:40 pm
Forum: XSLT and FOP
Topic: How to export a stylesheet for Saxon-JS
Replies: 6
Views: 4170

Re: How to export a stylesheet for Saxon-JS

Hello,

New versions for "Saxon XSLT and XQuery Transformer" add-on are now available to install for Oxygen 23.0.

They integrate the latest available engine versions for Saxon 9.9 and 10 (9.9.1.8 and 10.3 respectively).

Best Regards,
Octavian