Search found 177 matches

by tavy
Mon Jun 17, 2019 8:57 am
Forum: Feature Request
Topic: XML Usage Decreasing JSON Increasing
Replies: 1
Views: 65

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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...
by tavy
Wed Nov 21, 2018 11:16 am
Forum: Common Problems
Topic: What's wrong with my quickfix?
Replies: 3
Views: 692

Re: What's wrong with my quickfix?

Hello Martin,

The quick fix does not work because the regular expression from the "xsl:analyze-string" element has quotes before and after the expression. You should remove the quotes, something like this:

Code: Select all

 <xsl:analyze-string select="." regex="([\r\n]\s*)([^\r\n]+)">
Best Regards,
Octavian
by tavy
Fri Nov 09, 2018 9:51 am
Forum: Feature Request
Topic: Validate XPATH expressions of errourneous XML
Replies: 1
Views: 703

Re: Validate XPATH expressions of errourneous XML

Hello Mario, If the XML document is well-formed you should be able to execute an XPath expression. The schema validation errors should not affect the XPath execution. Can you tell me what is the XPath expression that you want to execute and what is the error that you obtain when you execute it? Also...
by tavy
Mon Oct 22, 2018 4:09 pm
Forum: XML Schemas
Topic: dependent child elements with xsd:assert
Replies: 1
Views: 692

Re: dependent child elements with xsd:assert

Hello Franze,
I think that you need to change the assert and use a string value for true and false , something like this:

Code: Select all


<xsd:assert test="(available[string(.) eq 'true'] and aa and bb and cc) or available[string(.) eq 'false']"/>
Best Regards,
Octavian
by tavy
Tue Sep 25, 2018 2:00 pm
Forum: Common Problems
Topic: tokenize sentences in a paragraph in Schematron
Replies: 3
Views: 1096

Re: tokenize sentences in a paragraph in Schematron

Hi Scott, It is a little bit more complicated If you want to preserve the markup in the paragraph, and you need to use XSLT code to process the content. I am not an XSLT expert but I can give you some hints. From the quick fix you need to apply a template that will process the paragraph content. <sq...
by tavy
Mon Sep 24, 2018 11:11 am
Forum: Common Problems
Topic: tokenize sentences in a paragraph in Schematron
Replies: 3
Views: 1096

Re: tokenize sentences in a paragraph in Schematron

Hi Scott, You can use a regular expression that matches all the text until one of ".", "!", or "?" characters are found. I've created an example of a Schematron quick fix that replaces the paragraph content with a new content where the sentences are wrapped in ph. <sch:schema xmlns:sch="http://purl....
by tavy
Wed Sep 12, 2018 2:02 pm
Forum: Other Issues
Topic: Content Compare in Eclipse Plugin
Replies: 5
Views: 1250

Re: Content Compare in Eclipse Plugin

Hi Stefan, The issues are added on our internal issue tracker. But I added your comments and I increased the priority of the issue you reported. The issue will be analyzed and depending on complexity it will be scheduled to be implemented. We will notify you when it will be available Best Regards, O...
by tavy
Wed Sep 05, 2018 11:21 am
Forum: Other Issues
Topic: Content Compare in Eclipse Plugin
Replies: 5
Views: 1250

Re: Content Compare in Eclipse Plugin

Hi Stefan, Right now this feature cannot be included in the Oxygen Eclipse plugin. It si a different implementation for Eclipse. I will add an issue on our issue tracker to add this support in a future version, and we will notify you when it will be available. What is you use case, do you want to co...