Search found 184 matches

by tavy
Tue Oct 01, 2019 8:52 am
Forum: XSLT and FOP
Topic: XSLT validation annoyance
Replies: 1
Views: 214

Re: XSLT validation annoyance

Hello, Thanks for your feedback. This type of warning is presented only if you are using "xd:doc" element to document your stylesheet, but you didn't add documentation for all your templates and functions. To deactivate the Schematron checks for XSLT you need to go to Option-Preferences->Document Ty...
by tavy
Wed Sep 18, 2019 2:20 pm
Forum: Feature Request
Topic: Report function for Diff Directories and Diff.
Replies: 2
Views: 101

Re: Report function for Diff Directories and Diff.

Hello,

Thanks for your feedback.
We have an issue on our issue tracker to generate also an HTML report for Diff Directories and Diff Files. I will add your comment and I will increase the issue priority. We will update this thread when it will be implemented.

Best Regards,
Octavian
by tavy
Wed Aug 21, 2019 8:49 am
Forum: Other Issues
Topic: Getting the failed-assert from the sch file
Replies: 2
Views: 309

Re: Getting the failed-assert from the sch file

Hello, The Schematron compilation provided in Oxygen does not generate an SVRL output, it generates only the messages. If you want to generate an SVRL output you can use the Schematron compilation stylesheets from the Schematron Github page: https://github.com/Schematron/ant-schematron There is also...
by tavy
Mon Aug 12, 2019 9:48 am
Forum: XHTML
Topic: XHTML 5 document not behaving as XML
Replies: 1
Views: 510

Re: XHTML 5 document not behaving as XML

Hello, Thanks for your feedback. If you are editing an XHTML document I recommend to use the XHTML Editor. By default the ".html" extension is associated with the HTML Editor, and there are some issues with the editing in the HTML Editor Author page (they will be fixed for the next Oxygen release). ...
by tavy
Thu Aug 01, 2019 3:21 pm
Forum: XML Schemas
Topic: Validators used by Oxygen
Replies: 2
Views: 662

Re: Validators used by Oxygen

Hello, Yes, Oxygen uses Jing as default validation engine for RelaxNG and Xerces for XML Schema. For XML Schema you can change the default validation engine from Xerces to Saxon EE. You can set also some validation features. For more details see XML Schema Preferences page from our user manual: http...
by tavy
Tue Jul 16, 2019 3:51 pm
Forum: Common Problems
Topic: Quick fix fails silently
Replies: 4
Views: 263

Re: Quick fix fails silently

Hi Bill,

The quick fixes can be run only inside Oxygen, we so not have support to run them outside.
You can try to use Escali engine, that also supports Schematron Quick Fixes:
https://github.com/schematron-quickfix/escali-package

Best Regards,
Octavian
by tavy
Wed Jul 10, 2019 9:32 am
Forum: Common Problems
Topic: Quick fix fails silently
Replies: 4
Views: 263

Re: Quick fix fails silently

Hi Bill, The sqf:stringReplace operation applies only on text nodes. The context of your rule are element nodes (title | navtitle | p | dt | dd | li | cmd), and this is why the quick fix does not work. Therefore, you need to specify that the quick fix will match the text from the current element usi...
by tavy
Mon Jun 17, 2019 8:57 am
Forum: Feature Request
Topic: XML Usage Decreasing JSON Increasing
Replies: 1
Views: 231

Re: XML Usage Decreasing JSON Increasing

Hello, Thanks for your feedback. In the latest versions we improved the JSON support in Oxygen, and we plan to add new JSON features also in the future. We already have an issue on our issue tracker to allow users to generate JSON Schema based on a JSON instance. I added your comment on the issue an...
by tavy
Wed Jun 05, 2019 2:27 pm
Forum: Common Problems
Topic: Schematron rules for moving the position of an element
Replies: 2
Views: 228

Re: Schematron rules for moving the position of an element

Hi, If I understood correctly you have a structure something like this: <step> <cmd>test2</cmd> </step> <stepresult>2</stepresult> And you want to move the "stepresult" element in the "step" element, something like this: <step> <cmd>test2</cmd> <stepresult>2</stepresult> </step> A solution is to cre...
by tavy
Mon Jun 03, 2019 9:43 am
Forum: XML Schemas
Topic: Validation XML against XSD
Replies: 1
Views: 867

Re: Validation XML against XSD

Hello, In your schema you are using built-in types defined in the XML Schema, such as: gYear, integer, double. All the build-in types define in the XML Schema have the namespace "http://www.w3.org/2001/XMLSchema". Therefore, in order to refer the built-in types in you schema you must specify the pre...
by tavy
Fri May 31, 2019 11:24 am
Forum: Feature Request
Topic: Diff Files and Dirs: Add Ignore Element order for XML documents
Replies: 5
Views: 2771

Re: Diff Files and Dirs: Add Ignore Element order for XML documents

Hello, Thanks for your suggestion. The comparison algorithms that we are using in Oxygen are very complex, in not a simple thing to ignore elements order. Anyway, we can change the algorithms to ignore the elements order, but this is not the only challenge, then we need to present the differences so...
by tavy
Mon May 27, 2019 2:34 pm
Forum: Feature Request
Topic: XPath 3.1 support
Replies: 2
Views: 565

Re: XPath 3.1 support

Hello Martin,

We just released Oxygen 21.1. The issue that you reported regarding the XPath version presented in the interface has been solved.
Thanks again for your feedback.

Best Regards,
Octavian
by tavy
Mon May 27, 2019 9:22 am
Forum: Feature Request
Topic: Autocomplete for JSON Schema
Replies: 1
Views: 208

Re: Autocomplete for JSON Schema

Hello, Thanks for your feedback. Yes, right now for JSON Schema content completion we are using JSON meta-schemas. The meta-schemas are not so strict defined, this is why in the content completion list we present all the properties that can be inserted in a JSON Schema. We need to make the meta-sche...
by tavy
Mon May 20, 2019 2:43 pm
Forum: Common Problems
Topic: Schematron validation for string value
Replies: 1
Views: 489

Re: Schematron validation for string value

Hello, This is a Schematron issue, therefore I recommend you to use the schematron@schematronist.org user list to get a better response. For this you need to register on the user list "http://schematronist.org/mailman/listinfo/schematron_schematronist.org". In my opinion you can add 3 checks somethi...
by tavy
Mon Apr 22, 2019 9:14 am
Forum: Feature Request
Topic: Querying JSON the XPath 3.1 way
Replies: 1
Views: 490

Re: Querying JSON the XPath 3.1 way

Hello Martin. Thanks for your feedback. We decided to implement the XPath support for JSON by converting the JSON documents to XML and then execute the XPath over the XML documents. The JSON to XML conversion is based on the "json.org" library, is the standard JSON to XML conversion. By executing th...
by tavy
Wed Mar 06, 2019 2:53 pm
Forum: Feature Request
Topic: Saxon configuration option TimingTraceListener
Replies: 3
Views: 621

Re: Saxon configuration option TimingTraceListener

Hi Michael,

Yes, this can be a solution, to have an option in Oxygen that will enable the XSLT profiling based on Saxon TimingTraceListener.
I will add an issue for this.

Best Regards,
Octavian
by tavy
Tue Mar 05, 2019 1:20 pm
Forum: Feature Request
Topic: Saxon configuration option TimingTraceListener
Replies: 3
Views: 621

Re: Saxon configuration option TimingTraceListener

Hi Michael, Thanks for your feedback. Unfortunately I don't have a solution for this problem. Yes, we could add support for variables in the Saxon configuration file, such us ${cfn}, but then that configuration file will be used only from Oxygen. Probably this support should be added directly in Sax...
by tavy
Thu Feb 28, 2019 9:37 am
Forum: XSLT and FOP
Topic: Updating Saxon version
Replies: 1
Views: 509

Re: Updating Saxon version

Hello, We plan to update the Oxygen built-in Saxon engine to version Saxon 9.9, in the next release version. But you can install Saxon 9.8.0.15 in Oxygen as an add-on, and use it to validate and transform your documents. You can find more details in our user manual: https://www.oxygenxml.com/doc/ver...
by tavy
Tue Feb 26, 2019 12:56 pm
Forum: XQuery
Topic: Using XQuery 3.1 with output methods adpative or json
Replies: 3
Views: 1322

Re: Using XQuery 3.1 with output methods adpative or json

Hi Martin,

The error seems to be generated because in the Options->Preferences-"XML / XSLT-XQuery / XQuery" options page you have the "Create structure indicating the type nodes" option set. Maybe we do not need to use this option when the output method is not xml.

Best Regards,
Octavian
by tavy
Mon Feb 25, 2019 4:31 pm
Forum: XQuery
Topic: Using XQuery 3.1 with output methods adpative or json
Replies: 3
Views: 1322

Re: Using XQuery 3.1 with output methods adpative or json

Hello Martin, The Saxon engine generates the output correctly, depending on the output method that you have specified in the XQuery file. To display this result in Oxygen, you need to specify in the XQuery transformation scenario how you want to see the result. If you select "Present as sequence", t...
by tavy
Mon Feb 25, 2019 1:43 pm
Forum: Feature Request
Topic: XPath 3.1 support
Replies: 2
Views: 565

Re: XPath 3.1 support

Hello Martin, Thanks for the feedback. Yes, the XPath support in Oxygen is 3.1. I added an issue to change the XPath version in the user interface. For the XPath result, to return maps and/or arrays, we need to update our internal result model to support this type of constructs. I added an issue als...
by tavy
Tue Feb 12, 2019 10:14 am
Forum: Other Issues
Topic: Schematron: catch inconsistent spelling
Replies: 1
Views: 478

Re: Schematron: catch inconsistent spelling

Hello Scott, One solution is to check if both words are used in the document and highlight one of the words. You can also propose a quick fix that will replace all occurrences of an word with another, something like this: <sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron" queryBinding="xsl...
by tavy
Fri Feb 01, 2019 11:13 am
Forum: Common Problems
Topic: Signature Validation failed
Replies: 1
Views: 335

Re: Signature Validation failed

Hello Mike, I cannot reproduce the problem. Maybe you can give me more details about your signing options and Oxygen version. I signed the "robert.taylor" element from "personal.xml" using the following options: Transformation=none, id='robert.taylor', Envelope, Append KeyInfo check, Signature algor...
by tavy
Mon Jan 28, 2019 10:04 am
Forum: Common Problems
Topic: Schematron complains about AVT for xml:id Attribute
Replies: 7
Views: 1217

Re: Schematron complains about AVT for xml:id Attribute

Hi Frank, In fact Saxon complains about the validation of the XSLT file with Schematron, because the validation with Schematron is schema-aware and the XSLT (that is just an XML for this validation) has an invalid "xml:id" attribute value. The validation of the XSLT with Schematron it is not always ...
by tavy
Fri Jan 18, 2019 9:50 am
Forum: XML Schemas
Topic: Set global "Let" in embedded RelaxNG/Schematron
Replies: 5
Views: 1152

Re: Set global "Let" in embedded RelaxNG/Schematron

Hello Andreas We are using the standard Schematron implementation for compiling Schematron embedded in Relax NG-Schema. It seems that you are not allowed to add global variables. You can define a Schematron sch:let-variable in one of the sch:patterns from the embedded Relax NG-Schema. If a variable ...
by tavy
Tue Jan 15, 2019 4:57 pm
Forum: XSLT and FOP
Topic: How to enable FeatureKeys.TRACE_EXTERNAL_FUNCTIONS in oXygen XML Editor 20.1, build 2018122403
Replies: 2
Views: 796

Re: How to enable FeatureKeys.TRACE_EXTERNAL_FUNCTIONS in oXygen XML Editor 20.1, build 2018122403

Hello Steven, To enable Saxon TRACE_EXTERNAL_FUNCTIONS feature in Oxygen you need to create a Saxon configuration file. For this you can use the "Saxon configuration" new file template. Then crate a transformation scenario for the XSLT document and set the configuration file in the transformation sc...
by tavy
Wed Jan 09, 2019 11:06 am
Forum: Common Problems
Topic: Schematron complains about AVT for xml:id Attribute
Replies: 7
Views: 1217

Re: Schematron complains about AVT for xml:id Attribute

Hi Frank, When an XSLT is validated using Schematron, the XSLT is considered to be an XML document. Therefore, the attribute value template from the value of the "xml:id" attribute ({rng:define-id(.)}) will not be evaluated, and it is not a valid xs:ID. I think it is correct to get this error if you...
by tavy
Mon Jan 07, 2019 11:37 am
Forum: XML Schemas
Topic: Create schematron documentation
Replies: 1
Views: 822

Re: Create schematron documentation

Hello, Sorry for the late response. In Oxygen we do not have a build-in or add-on action that generated the Schematron documentation. Also, we didn't have any requests of such an action until now. But I think it is an interesting idea. Maybe you can provide the XSLT that you have created to generate...
by tavy
Mon Dec 17, 2018 9:38 am
Forum: XSLT and FOP
Topic: XSLT and XPath syntax colouring
Replies: 1
Views: 752

Re: XSLT and XPath syntax colouring

Hi Martin, Thanks for the feedback. There where some problems with the syntax highlighting in maps, some of the tokens are not painted correctly, this is why the dot is painted with red. This issue is already fixed in the current developing stream, and it will be available in the next Oxygen release...
by tavy
Thu Nov 22, 2018 3:23 pm
Forum: Common Problems
Topic: How to turn off a built-in quickfix
Replies: 1
Views: 556

Re: How to turn off a built-in quickfix

Hello Martin, We have an issue on our issue tracker to add some options that will allow you to turn off the built-in quick fixes. As an workaround I can give you a plugin that will allow you to deactivate all built-in quick fixes. You need to download the plugin from here http://www.oxygenxml.com/fo...