Search found 229 matches

by tavy
Fri Sep 25, 2020 3:17 pm
Forum: XML Schemas
Topic: Differences between XSD-Validation of Oxygen and Ant
Replies: 1
Views: 100

Re: Differences between XSD-Validation of Oxygen and Ant

Hello Nico, I think you need to set the "schemaLanguage" property. Something like this: <project basedir="." name="schema-validation-test" default="test"> <target name="test"> <schemavalidate file="src.xml" noNamespaceFile="schema.xsd" failonerror="true"> <property name="http://java.sun.com/xml/jaxp...
by tavy
Wed Sep 02, 2020 4:44 pm
Forum: General XML Questions
Topic: schematron replace-curly-doublequotes
Replies: 1
Views: 193

Re: schematron replace-curly-doublequotes

Hello, In Author mode we automatically render "<" with "<", and ">" with ">". But if you switch to Text page you will notice that is correct, based on your replace. How do you want the result to bein text, like this " <q>test1 test2 - Success</q>" or like this " <q>test1 test2 - Success</q>"? Best R...
by tavy
Tue Aug 25, 2020 12:50 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Schematron quick fix to set parent element
Replies: 2
Views: 103

Re: Schematron quick fix to set parent element

Hello Ann, I created a Schematron rule that checks if the short description element is in an abstract element. If is not, provides also a quick fix that moves the short description element in an abstract element. In case an abstract element already exists, will move the short description in that ele...
by tavy
Tue Aug 25, 2020 11:06 am
Forum: XML Schemas
Topic: Validate XML against XSD generated by Oxygen
Replies: 1
Views: 246

Re: Validate XML against XSD generated by Oxygen

Hello, We are using Trang to generate an XSD schema from XML files. It seems that Trang generates an xsi.xsd schema when you use attributes from "http://www.w3.org/2001/XMLSchema-instance" namespace. There is already an issue for this on the Trang project: https://github.com/relaxng/jing-trang/issue...
by tavy
Wed Aug 19, 2020 3:05 pm
Forum: Feature Request
Topic: XPath 3.1 map and array support in Schematron with queryBinding="xslt3"
Replies: 2
Views: 151

Re: XPath 3.1 map and array support in Schematron with queryBinding="xslt3"

Hello Martin, In to see the functions in the content completion list you need to declare the namespace also on the Schematron root element. Something like this: <sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt3" xmlns:array="http://www.w3.org/2005/xpath-functions/array...
by tavy
Thu Aug 06, 2020 2:25 pm
Forum: XSLT and FOP
Topic: Using Saxon CollectionFinder from Oxygen XML
Replies: 2
Views: 392

Re: Using Saxon CollectionFinder from Oxygen XML

Hello, You can also set in Oxygen the "saxon.custom.options" property. For this you need to edit the "Run XSpec Test" transformation scenario, select the "Parameters" tab, then edit the "saxon.custom.options" property and set the value to "-init:no.uib.saxon.ef.SimmetricsInitializer --collection-fin...
by tavy
Thu Aug 06, 2020 9:02 am
Forum: Common Problems
Topic: Weird autocomplete bug in v 22.0
Replies: 9
Views: 639

Re: Weird autocomplete bug in v 22.0

Hi,

Yes, the issue was fixed in the latest maintenance build of Oxygen XML Editor 22.1.
https://www.oxygenxml.com/build_history.html#2020072902

Thanks again for your feedback.

Best Regards,
Octavian
by tavy
Tue Jul 28, 2020 1:17 pm
Forum: XSLT and FOP
Topic: Version Validation
Replies: 1
Views: 272

Re: Version Validation

Hello, For this type of questions probably is better to use the "schematron at schematronist dot org" mailing list. There are more people that can respond to them, and maybe better answers. I think that a solution for your Schematron rule can be something like this: <?xml version="1.0" encoding="UTF...
by tavy
Mon Jul 27, 2020 8:20 am
Forum: Common Problems
Topic: Schematron and external functions
Replies: 6
Views: 1140

Re: Schematron and external functions

Hello,

Thanks for your feedback.
I added your vote on the issue. We will update this thread when the issue will be solved.

Best Regards,
Octavian
by tavy
Thu Jul 23, 2020 11:55 am
Forum: Common Problems
Topic: Configure Validation Scenarios does not detect phases in Schematron with includes
Replies: 2
Views: 152

Re: Configure Validation Scenarios does not detect phases in Schematron with includes

Hello, Thanks for your feedback. Yes, the phases from the included files are not collected when you associate a Schemaron in the validation scenario. We collect the phases from the included files only when the validation scenario is applied, and we display them in a dialog. This is because we do not...
by tavy
Wed Jun 17, 2020 9:54 am
Forum: Common Problems
Topic: Schematron schema-aware attribute expansion
Replies: 2
Views: 188

Re: Schematron schema-aware attribute expansion

Hello Daniel , If you define an xs:attribute with default="false" , it means that the attribute will have a default value equal to false . Because you are using schema aware validation even if the attribute is not present in XML it is present in the model with the default value set to false. Maybe y...
by tavy
Tue Jun 16, 2020 8:25 am
Forum: Common Problems
Topic: Weird autocomplete bug in v 22.0
Replies: 9
Views: 639

Re: Weird autocomplete bug in v 22.0

Hello,

No, it it not fixed in the current maintenance release of Oxygen 22.1 (Build ID: 2020061102). It will be fixed in the next maintenance release. The issue is already fixed on the current development stream and it will be integrated also in the next maintenance release.

Best Regards,
Octavian
by tavy
Mon Jun 15, 2020 9:53 am
Forum: General XML Questions
Topic: Is XML is Bette Then JSON
Replies: 1
Views: 307

Re: Is XML is Bette Then JSON

Hello,

Unfortunately I cannot help you with this. It depends a lot on what tools you use and what data you transfer. Both languages have advantages and disadvantages.

Best Regards,
Octavian
by tavy
Mon May 25, 2020 4:11 pm
Forum: Common Problems
Topic: Error with fn:collection() returning xs:base64Binary instead of nodes after updating Oxygen
Replies: 1
Views: 225

Re: Error with fn:collection() returning xs:base64Binary instead of nodes after updating Oxygen

Hello, Thanks for your feedback. We have an issue on our issue tracker regarding this problem. We already reported the problem at Saxonica and they fixed it (https://saxonica.plan.io/issues/4476), we need to integrate the fix. We will update this thread when the issue will be solved. Best Regards, O...
by tavy
Fri May 22, 2020 11:30 am
Forum: Common Problems
Topic: Weird autocomplete bug in v 22.0
Replies: 9
Views: 639

Re: Weird autocomplete bug in v 22.0

Hello,

Unfortunately this issue was not solved in Oxygen 22.1. It is scheduled to be solved with priority on the current version. Depending on the complexity we will add it also in an Oxygen 22.1 maintenance build. We will update this thread when will be fixed.

Best Regards,
Octavian
by tavy
Wed May 20, 2020 2:05 pm
Forum: Common Problems
Topic: Convert XSD to JSON without changing names
Replies: 2
Views: 249

Re: Convert XSD to JSON without changing names

Hello Ruth,

We just released Oxygen XML Editor 22.1.
Please note that the issue that you reported was solved. Thanks for your feedback.

Best Regards,
Octavian
by tavy
Wed May 20, 2020 12:13 pm
Forum: Other Issues
Topic: Content Compare in Eclipse Plugin
Replies: 10
Views: 2409

Re: Content Compare in Eclipse Plugin

Hello Stefan, We just released version 22.1 of Oxygen XML Editor. Please note that the Oxygen Eclipse plugin now provides support to compare XML documents in the visual Author mode. https://www.oxygenxml.com/xml_editor/whats_new.html#22.1Visual_Comparison_for_Eclipse You can find more details in our...
by tavy
Wed May 06, 2020 6:02 pm
Forum: XSLT and FOP
Topic: XProc Source Variable
Replies: 5
Views: 421

Re: XProc Source Variable

Hello Ali,

I am not an XProc expert. Probably you can do this if you can pass the source as a parameter, and use the ${ask} editor variable in the parameter.

Best Regards,
Octavian
by tavy
Tue May 05, 2020 4:30 pm
Forum: XSLT and FOP
Topic: XProc Source Variable
Replies: 5
Views: 421

Re: XProc Source Variable

Hello Ali, Thanks for your feedback. Unfortunately we do not have support to provide the source as an ask editor variable. Only the transformation parameters can be passed as an ask editor variable. I added an issue on our issue tracker to add this support in a future version. We will update this th...
by tavy
Thu Apr 30, 2020 4:13 pm
Forum: Feature Request
Topic: Add strict mode for JSON Schema validation
Replies: 1
Views: 209

Re: Add strict mode for JSON Schema validation

Hello, Thanks for your feedback. For JSON Schema validation, we automatically show warnings for each property that is not recognized in the current schema version. For the validation of a JSON instance with a JSON Schema, you need to add in the JSON Schema the "additionalProperties": false construct...
by tavy
Mon Apr 27, 2020 4:04 pm
Forum: XML Schemas
Topic: locating a string with text() in Schematron
Replies: 3
Views: 531

Re: locating a string with text() in Schematron

Hello, Thanks for your feedback. When a problem is reported on a text node the highlight will be added on the parent or on the previous element. We have an issue on our issue tracker to add a better support for locating text nodes. I added your comment on the issue and I increased its priority. When...
by tavy
Mon Apr 27, 2020 3:48 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Schematron: wrap consecutive uicontrol elements
Replies: 2
Views: 230

Re: Schematron: wrap consecutive uicontrol elements

Hello, I don't understand all the usecase of your rule. Maybe it is easier if you check the number of uicontrol elements, something like this: <sch:pattern id="uicontrol-menuscascade"> <sch:rule id="uicontrol" context="uicontrol[not(ancestor::menucascade)]"> <sch:report test="count(parent::node()/ui...
by tavy
Fri Apr 17, 2020 8:13 am
Forum: SDK-API, Frameworks - Document Types
Topic: Schematron and framework support in oXygen XML Web Author
Replies: 2
Views: 318

Re: Schematron and framework support in oXygen XML Web Author

Hello Bill, Yes, you can reuse the frameworks between the standalone versions of Oxygen and Web Author. We provide also Schematron with Quick Fixes support in Web Author. There is a topic in our user manual that explains how to create customized frameworks, how to test and upload your customization,...
by tavy
Wed Apr 15, 2020 3:07 pm
Forum: XML Schemas
Topic: xs:alternative & reuse?
Replies: 1
Views: 306

Re: xs:alternative & reuse?

Hello, You cannot reuse xs:alternative, you can reuse the types referred in the alternative. Here is an example: <?xml version="1.0"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" vc:minVersion="1.1"> <xs...
by tavy
Tue Apr 14, 2020 2:41 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Schematron: start element with a capital
Replies: 1
Views: 234

Re: Schematron: start element with a capital

Hello, The problem is that the matches function allows only one node. If you specify "text()" as first argument, this means that all the text nodes from the current element will be matched. You have two options: 1. You can pass all the text content from the current element, by changing the test some...
by tavy
Wed Apr 08, 2020 2:09 pm
Forum: Common Problems
Topic: Convert XSD to JSON without changing names
Replies: 2
Views: 249

Re: Convert XSD to JSON without changing names

Hello Ruth,

Thanks very much for your feedback.
I added an issue on our issue tarker to fix this problem in a future Oxygen release. We will update this thread when the issue will be solved.

Best Regards,
Octavian
by tavy
Thu Apr 02, 2020 8:48 am
Forum: Feature Request
Topic: Nice to have: In Transformations panel, collapse all
Replies: 2
Views: 299

Re: Nice to have: In Transformations panel, collapse all

Hello Riley, Thanks for your feedback. Yes, we should not expand automatically all transformation scenarios categories, we should preserve the collapse/expand state. I added an issue on our issue tracker to implement this in a future version. We will update this thread when it will be implemented. B...
by tavy
Thu Mar 26, 2020 9:45 am
Forum: Common Problems
Topic: Weird autocomplete bug in v 22.0
Replies: 9
Views: 639

Re: Weird autocomplete bug in v 22.0

Hello, Thanks for your feedback. Yes, this seems to be a problem. I added an issue on our issue tracker to analyze it and find a solution. We will update this thread when will be fixed. I reproduce this behaviour also with <oXygen/> XML Editor 21.1, build 2019090904. It seems that this happens becau...
by tavy
Mon Mar 23, 2020 3:03 pm
Forum: General XML Questions
Topic: Using xmlns:xtt want to see delimited output in Debugger
Replies: 1
Views: 419

Re: Using xmlns:xtt want to see delimited output in Debugger

Hello, Unfortunately I don't understand the problem from the examples that you send. Maybe you send us more complete examples. You can use this form: https://www.oxygenxml.com/techSupport.html Also, being an XSLT related question maybe is better to post it on the XSLT list "xsl-list@lists.mulberryte...
by tavy
Mon Mar 23, 2020 10:34 am
Forum: Feature Request
Topic: Saxon 10 plugin?
Replies: 1
Views: 244

Re: Saxon 10 plugin?

Hello Martin,

We plan to have Saxon 10 as a plugin for Oxygen 22.1. I don't think we will provide the Saxon 10 plugin also for Oxygen 22.0.

Best Regards,
Octavian