Search found 170 matches

by tavy
Mon Apr 22, 2019 9:14 am
Forum: Feature Request
Topic: Querying JSON the XPath 3.1 way
Replies: 1
Views: 69

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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...
by tavy
Tue Sep 04, 2018 3:15 pm
Forum: Other Issues
Topic: Content Compare in Eclipse Plugin
Replies: 5
Views: 1042

Re: Content Compare in Eclipse Plugin

Hello Stefan, In the Oxygen Eclipse Plugin we do not include the "Content Compare Feature with the Author View" or any other Diff support, this features are available only in the Oxygen Standalone distribution only. You can find more details in our feature matrix: https://www.oxygenxml.com/xml_edito...
by tavy
Tue Sep 04, 2018 2:50 pm
Forum: Feature Request
Topic: XSD 1.1: elements view works poorly with xs:alternative
Replies: 1
Views: 782

Re: XSD 1.1: elements view works poorly with xs:alternative

Hello Daniel, Thanks for your feedback. Yes, it seems that in the Elements view does not present correctly the current elements from the context, if a type alternative is used. Normally the content completion and the Elements view should use the same information, but it seems that in this case it do...
by tavy
Fri Jul 27, 2018 12:18 pm
Forum: XML Schemas
Topic: Schematron validation of an XSD file
Replies: 1
Views: 1071

Re: Schematron validation of an XSD file

Hello, For XSD documents you can impose Schematron rules only through a validation scenario. We do not have support to associate a Schematron directly in the XSD file. More information about how to associate a schema through a validation scenario you can find in our user manual: https://www.oxygenxm...
by tavy
Wed Jun 20, 2018 2:46 pm
Forum: XML Schemas
Topic: Schematron:issue with @subject
Replies: 2
Views: 1448

Re: Schematron:issue with @subject

Hi Patrik,

Yes, this seems to be a problem. The location of the context item should be used if the xpath value from the subject attribute won't find anything. I added an issue on out issue tracker for this.
Thanks for your feedback.

Best Regards,
Octavian
by tavy
Mon Jun 18, 2018 4:27 pm
Forum: Feature Request
Topic: JSON Schema and JSON/XML conversion?
Replies: 10
Views: 4630

Re: JSON Schema and JSON/XML conversion?

Hello, We just released version 20.1 of oXygen XML Editor that includes new editing features and validation support for JSON documents: - Validate JSON documents against JSON Schema - Validate JSON Schema according to the specification - Batch validate JSON documents - New document templates to crea...
by tavy
Mon Jun 18, 2018 4:20 pm
Forum: Feature Request
Topic: JSON related
Replies: 20
Views: 7412

Re: JSON related

Hello, We just released version 20.1 of oXygen XML Editor that includes new editing features and validation support for JSON documents: - Validate JSON documents against JSON Schema - Validate JSON Schema according to the specification - Batch validate JSON documents - New document templates to crea...
by tavy
Thu May 17, 2018 4:27 pm
Forum: Common Problems
Topic: Diff: How to collapse or fold the editor
Replies: 1
Views: 576

Re: Diff: How to collapse or fold the editor

Hello, Thank you for the feedback. The folding is not supported in the Diff Editor. We have an issue on our issue tracker to add this support in a future version. We will notify you when this will be implemented. That grayed out button is a dropdown button available only for the Author comparison mo...