Search found 163 matches

by tavy
Tue Feb 12, 2019 10:14 am
Forum: Other Issues
Topic: Schematron: catch inconsistent spelling
Replies: 1
Views: 82

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" queryBi...
by tavy
Fri Feb 01, 2019 11:13 am
Forum: Common Problems
Topic: Signature Validation failed
Replies: 1
Views: 77

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 ch...
by tavy
Mon Jan 28, 2019 10:04 am
Forum: Common Problems
Topic: Schematron complains about AVT for xml:id Attribute
Replies: 7
Views: 487

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 n...
by tavy
Fri Jan 18, 2019 9:50 am
Forum: XML Schemas
Topic: Set global "Let" in embedded RelaxNG/Schematron
Replies: 5
Views: 354

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

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 transfo...
by tavy
Wed Jan 09, 2019 11:06 am
Forum: Common Problems
Topic: Schematron complains about AVT for xml:id Attribute
Replies: 7
Views: 487

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 er...
by tavy
Mon Jan 07, 2019 11:37 am
Forum: XML Schemas
Topic: Create schematron documentation
Replies: 1
Views: 368

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

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

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

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

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

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

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

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:...
by tavy
Wed Sep 12, 2018 2:02 pm
Forum: Other Issues
Topic: Content Compare in Eclipse Plugin
Replies: 5
Views: 801

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

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

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...
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: 622

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

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

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

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

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

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...
by tavy
Fri May 04, 2018 12:13 pm
Forum: XML Schemas
Topic: Limit the value of an element based on existing XML data
Replies: 5
Views: 1387

Re: Limit the value of an element based on existing XML data

Hello, If you want to restrict the values from an attribute based on some exiting values from the XML, you can use Schematron rules inside XSD or as a separate Schematron schema file. The Schematron rule in your case can be something like this: <sch:rule context="foobar/@name"> <sch:let na...
by tavy
Wed May 02, 2018 11:42 am
Forum: XML Schemas
Topic: xsl:include/@href sometimes incorrect in output of schematronDispatcher.xsl
Replies: 1
Views: 786

Re: xsl:include/@href sometimes incorrect in output of schematronDispatcher.xsl

Hello, Thanks for the feedback. The "schematronDispatcher.xsl" is used resolve the Schematron "sch:include" and "sch:extends". The "xsl:include" it is copied in the complied file verbatim with the rest of the XSLT code from Schematron. Adding "xsl:include...
by tavy
Thu Apr 26, 2018 3:42 pm
Forum: Other Issues
Topic: JSON: why does oXygen say this is valid JSON?
Replies: 3
Views: 1003

Re: JSON: why does oXygen say this is valid JSON?

Hello, Thank you for your feedback. In a JSON file you can have an object, an array, or a simple value, see http://json.org/ . The example that you added should be reported as invalid because there are multiple arrays. It seems that oXygen validates only the first array in this case. I will add an i...
by tavy
Fri Apr 13, 2018 3:27 pm
Forum: Common Problems
Topic: xml:id type error with schema-aware Schematron
Replies: 1
Views: 530

Re: xml:id type error with schema-aware Schematron

Hello Frank, When an XSL is validated against a Schematron schema it is considered to be an XML. From the XML point of view this is not a correct ID: xml:id="{ns:gen-id(.)}" . This is because the value {ns:gen-id(.)} will not be evaluated at validation. Therefore, the error reported by Sax...
by tavy
Thu Apr 12, 2018 12:49 pm
Forum: XML Schemas
Topic: Is there a way to specify a range as a data type
Replies: 2
Views: 999

Re: Is there a way to specify a range as a data type

Hello,

As far as I know the only way to impose this restriction in XSD is to use a "pattern" facet.

Best Regards,
Octavian
by tavy
Mon Mar 19, 2018 12:56 pm
Forum: Other Issues
Topic: Debugging & Profiling with Saxon 9.8
Replies: 2
Views: 752

Re: Debugging & Profiling with Saxon 9.8

Hi, We just released <oXygen/> XML editor version 20. Please note that we updated the built-in Saxon engine to version 9.8.0.8. See full release notes here: https://www.oxygenxml.com/xml_editor/whatisnew20.0.html You can download the build from here: https://www.oxygenxml.com/xml_editor/do ... ditor...
by tavy
Mon Mar 19, 2018 12:51 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Wrapping text() with a Quick Fix not working as expected. Why?
Replies: 2
Views: 642

Re: Wrapping text() with a Quick Fix not working as expected. Why?

Hello Raymond, We just released <oXygen/> XML Editor version 20. Please note that the issue that you reported regarding the sqf:replace operation was solved. You can download the build from here: https://www.oxygenxml.com/xml_editor/do ... ditor.html Thanks again for your feedback. Best Regards, Oct...

Go to advanced search