Search found 219 matches

by tavy
Wed Jun 17, 2020 9:54 am
Forum: Common Problems
Topic: Schematron schema-aware attribute expansion
Replies: 2
Views: 65

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: 7
Views: 345

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

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

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: 7
Views: 345

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

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

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

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

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

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

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

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

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

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

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

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

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: 7
Views: 345

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

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

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
by tavy
Wed Feb 26, 2020 11:13 am
Forum: General XML Questions
Topic: Is it possible to impose required constraint at value level?
Replies: 1
Views: 195

Re: Is it possible to impose required constraint at value level?

Hello Rajneesh, I don't know what you do you mean by "always populated". If you want to make sure that a value is set for the alias1, coli1 and operator attributes, you can add a restriction on the string type. For example you can check that the length of the value is greater than one, something lik...
by tavy
Fri Feb 21, 2020 3:33 pm
Forum: General XML Questions
Topic: XSD related quetion to enforce "required" option
Replies: 3
Views: 287

Re: XSD related quetion to enforce "required" option

Hello Rajneesh, I think that you can add this constraint only using XSD 1.1 "xs:assert" or "xs:alternative", or maybe using a Schematron schema and create an assert there. You can read more about XSD 1.1 in the specification: https://www.w3.org/TR/xmlschema11-1/ Maybe you can address this question o...
by tavy
Tue Feb 18, 2020 10:51 am
Forum: XML Schemas
Topic: Issues with NameSpace import
Replies: 1
Views: 686

Re: Issues with NameSpace import

Hello,

I an not sure what you want to do. Maybe you want to declare a prefix for the schema, something like this:

Code: Select all

declare namespace r = "namespace of Assignment-Xquery3.xsd"
.

Best Regards,
Octavian
by tavy
Tue Feb 18, 2020 9:54 am
Forum: Common Problems
Topic: Using XPath toolbar with HTML5 in v.22
Replies: 2
Views: 183

Re: Using XPath toolbar with HTML5 in v.22

Hello, Thanks for your feedback. Unfortunately I cannot reproduce de problem. I tested with <oXygen/> XML Editor 22.0, build 2020021016, I created a new HTML file and pasted the content you provided, then run the XPath //p . The XPath result was returned correctly for the HTML5 document. Maybe you a...
by tavy
Fri Feb 07, 2020 1:42 pm
Forum: General XML Questions
Topic: Resolving IDrefs and idref() function help
Replies: 1
Views: 283

Re: Resolving IDrefs and idref() function help

Hello, I think that the "idref()" function will work only if you use Saxon-EE (schema-aware) for Schematron validation. For this you need to enable the "Use Saxon EE (schema aware) for xslt2/xslt3 query language binding" option from Options->Preferences dialog -> "XML / XML Parser / Schematron" opti...
by tavy
Mon Feb 03, 2020 5:00 pm
Forum: Other Issues
Topic: Strange Behavior when Comapring xs:decimal type in Schematron
Replies: 2
Views: 206

Re: Strange Behavior when Comapring xs:decimal type in Schematron

Hello,

I think that the problem is that you compare the string values of the numbers. You need to convert the text value into a number using the number() function. The condition must be something like this "number($grossArea) >= $conditionedAreaValue".

Best Regards.
Octavian
by tavy
Wed Jan 08, 2020 3:51 pm
Forum: Other Issues
Topic: Schematron error in OxygenXML 18
Replies: 2
Views: 231

Re: Schematron error in OxygenXML 18

Hello Grethel, Unfortunately, in Oxygen XML Editor version 18 the SQF "use-for-each" feature is not available. Therefore, you cannot use a quick fix that has the "use-for-each" attribute. The only way to avoid the error is to have this rule implemented differently for the two versions of Oxygen. May...
by tavy
Tue Jan 07, 2020 9:48 am
Forum: Common Problems
Topic: How to manage supported namespaces for node of "xs:any" type?
Replies: 1
Views: 199

Re: How to manage supported namespaces for node of "xs:any" type?

Hello,

As an update, the user tested and found that there is a problem on their side.

Best Regards,
Octavian
by tavy
Fri Dec 13, 2019 5:51 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Detecting a zero length characters in Oxygen Editor!
Replies: 3
Views: 317

Re: Detecting a zero length characters in Oxygen Editor!

Hello Shabeer, You can define also a range of characters that are not allowed. You can have also a quick fix that will remove all not allowed characters from the document. I think in this case the Schematron must look something like this: <?xml version="1.0" encoding="UTF-8"?> <sch:schema xmlns:sch=...
by tavy
Thu Dec 12, 2019 11:38 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Detecting a zero length characters in Oxygen Editor!
Replies: 3
Views: 317

Re: Detecting a zero length characters in Oxygen Editor!

Hello Shabeer, You can create a Schematron that will detect and show you an waning when a zero-length character is detected. You can also have some quick fix actions that will replace the character with space for example, or will delete the character. The Schematron can look something like this: <?x...