Search found 364 matches

by tavy
Thu Jan 13, 2022 3:20 pm
Forum: XML Schemas
Topic: Logical test in Schematron
Replies: 4
Views: 1966

Re: Logical test in Schematron

Hello Dan, You can change the XSLT/XPath version to 2.0 for Schematron by setting the queryBinding="xslt2" on the Schematron root.. If you want to use XSLT 1.0 I think you can change the value of the $AlteredPayableSum variable, something like this: <sch:let name="AlteredPayableSum&qu...
by tavy
Mon Jan 10, 2022 3:10 pm
Forum: XML Schemas
Topic: Logical test in Schematron
Replies: 4
Views: 1966

Re: Logical test in Schematron

Hello Dan, Probably you should not format the values before comparing them. A solution to compute the "AlteredPayableSum" is something like this: <sch:let name="PayableSum" value="sum(PayableAmount)"/> <sch:let name="TotalSum" value="sum(TotalAmout)"...
by tavy
Fri Jan 07, 2022 11:30 am
Forum: General XML Questions
Topic: Schematron Rule for Trailing Spaces in Elements
Replies: 2
Views: 1051

Re: Schematron Rule for Trailing Spaces in Elements

Hello Zak, There is an sample rule in our user manual that checks for spaces at the beginning and end of elements. You can find the rule here: http://userguide.sync.ro/editor-sa/topics/examples-schematron-sqf-x.html#topic_g12_53d_34b__section_fpk_g3d_34b <sch:rule context="p|ph|codeph|filename|...
by tavy
Wed Dec 29, 2021 3:35 pm
Forum: Common Problems
Topic: Oxygen Author Eclipse 23.0 with log4j fix
Replies: 5
Views: 1460

Re: Oxygen Author Eclipse 23.0 with log4j fix

Hello Shabeer, The flaw in log4j 2.16 that was resolved in 2.17 regards a denial of service vulnerability when the logging configuration uses a non-default Pattern Layout with a Context Lookup. Please see: https://www.oxygenxml.com/security/advisory/CVE-2021-45105.html Oxygen products use a log4j co...
by tavy
Fri Dec 24, 2021 2:00 pm
Forum: General XML Questions
Topic: Sortting and format a XML File
Replies: 6
Views: 1685

Re: Sortting and format a XML File

Hello, A solution ca be to generate all the item nodes in a variable and add also the missing elements and then sort the nodes. I'm not sure this is the best way to implement it, but you can try something like this: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs=...
by tavy
Wed Dec 15, 2021 9:24 am
Forum: Common Problems
Topic: Validation errors after upgrade to Oxygen XML 24 Eclipse plugin
Replies: 17
Views: 3302

Re: Validation errors after upgrade to Oxygen XML 24 Eclipse plugin

Hello Greg,

Yes, we just released Oxygen XML Editor version 24.0.buld id 2021121317. This build includes also the fix for the issue you reported.

Thank you for your feedback.

Best Regards,
Octavian
by tavy
Wed Dec 15, 2021 9:22 am
Forum: Common Problems
Topic: Schematron failure in Oxygen 24
Replies: 5
Views: 1331

Re: Schematron failure in Oxygen 24

Hello Martin,

We just released Oxygen XML Editor version 24.0 build id 2021121317. This build includes the fix for the issue you reported.

You can download the latest version from here:
https://www.oxygenxml.com/xml_editor/do ... ditor.html

Best Regards,
Octavian
by tavy
Fri Dec 10, 2021 10:07 am
Forum: Common Problems
Topic: Schematron failure in Oxygen 24
Replies: 5
Views: 1331

Re: Schematron failure in Oxygen 24

Hello Martin, It seems that the "Saxon-EE" custom engine is selected from the Validate drop-down menu, instead of the the "Validate" action. We already have an issue on our internal issue tracker to investigate this problem. We will update this thread when we come to a conclusion...
by tavy
Mon Nov 15, 2021 10:27 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Best approach to automate insertion of DITA into all topicrefs in a project
Replies: 5
Views: 1067

Re: Best approach to automate insertion of DITA into all topicrefs in a project

Hello Ann, I am not sure why the Schematron namespace is added. Probably you define the Schematron namespace as default namespace instead of using a prefix, something like xmlns:sch="http://purl.oclc.org/dsdl/schematron" . You can find below an example of Schematron rule that can be applie...
by tavy
Tue Nov 09, 2021 10:06 am
Forum: Common Problems
Topic: Weird validation error in Oxygen 24
Replies: 2
Views: 824

Re: Weird validation error in Oxygen 24

Hello, Thanks for your feedback. We manage to reproduce the problem on an Ubuntu machine with Oxygen 24.0. The problem seems to be when the Validate drop-down menu action from the toolbar is used. Instead of the default Validate action the Saxon EE custom validation is invoked. This action is also i...
by tavy
Tue Nov 02, 2021 10:29 am
Forum: Common Problems
Topic: JSON to XML with XSL fails in Oxygen but works online
Replies: 2
Views: 941

Re: JSON to XML with XSL fails in Oxygen but works online

Hello Ian, The json-to-xml() function parameter must be the JSON file content. When you load a JSON file content you need to use the unparsed-text() function. Something like this <xsl:variable name="json-xml" select="json-to-xml(unparsed-text($input))"/> You can find an example o...
by tavy
Tue Oct 19, 2021 4:05 pm
Forum: Feature Request
Topic: JSON related
Replies: 21
Views: 14509

Re: JSON related

Hello, We recently released the version 24.0 of Oxygen suite. This major release introduces a new specialized editor for JSON Schema documents and it includes an innovative visual schema diagram editor. You can find more details on our website: https://www.oxygenxml.com/json_schema_editor.html#json_...
by tavy
Tue Oct 12, 2021 4:16 pm
Forum: XSLT and FOP
Topic: XSLT "4.0" editing
Replies: 2
Views: 1488

Re: XSLT "4.0" editing

Hi Martin,

Thanks for your feedback.

Unfortunately we do not support XSLT 4.0. I will add an issue on our issue tracker to analyze XSLT 4.0 and maybe provide a better editing and content completion support.

Best Regards,
Octavian
by tavy
Fri Sep 10, 2021 9:18 am
Forum: Common Problems
Topic: Schematron and Whitespaces
Replies: 1
Views: 687

Re: Schematron and Whitespaces

Hello, You can create a Schematron rule that ignores whitespaces when searching for some text. For example you can use the matches() function, or you can normalize the text content. You can create also a fix action to remove the extra spaces. I don't know exactly your use case, maybe you can send me...
by tavy
Thu Aug 26, 2021 1:44 pm
Forum: XSLT and FOP
Topic: Viewing xsl:message from external stylesheet called by fn:transform
Replies: 2
Views: 1183

Re: Viewing xsl:message from external stylesheet called by fn:transform

Hello, Thanks for your feedback. Yes, it seems that the messages from the "import.xsl" file are not collected by Oxygen. I added an issue on our issue tracker to investigate this problem. We will update this thread when the issue will be solved. It seems that also if I run with Saxon 9.9.1...
by tavy
Thu Aug 26, 2021 9:14 am
Forum: Other Issues
Topic: Calling Quick fix multiple times on one click
Replies: 1
Views: 815

Re: Calling Quick fix multiple times on one click

Hello Srinarayan, Probably you can use the "sqf:replace" operation to do this, by matching all the text nodes that you want to wrap. In order to help you I need an example to understand better what you want to achieve and how your structure looks like. Maybe you can send me a sample XML fi...
by tavy
Thu Aug 19, 2021 10:11 am
Forum: Other Issues
Topic: Schematron Quick fix to add two elements
Replies: 1
Views: 748

Re: Schematron Quick fix to add two elements

Hello Srinarayan, You can do this using the "sqf:add" operation, by specifying the XML fragment directly in the add element. Something like this: <sqf:add> <subjectdef keys="audience"> <subjectdef keys=""/> </subjectdef> </sqf:add> You can find more details about the ad...
by tavy
Tue Aug 10, 2021 12:00 pm
Forum: Common Problems
Topic: uriStartString format
Replies: 5
Views: 1133

Re: uriStartString format

Hello, It seems that in Oxygen 18.0 the rewriteURI does not work well. I suggest to use a full path in the XML instance for referencing for the schema. Something like this: xsi:noNamespaceSchemaLocation="file:///Spec2500Rev2017dotFinal/root.xsd" Then change the XML catalog something like t...
by tavy
Mon Aug 09, 2021 3:52 pm
Forum: Common Problems
Topic: uriStartString format
Replies: 5
Views: 1133

Re: uriStartString format

Hello Rich, Thanks for your feedback. Unfortunately I cannot reproduce the problem. I created a simple XML document with an associated XSD, something like this: <root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Spec2500Rev2017dotFinal/root.xsd&...
by tavy
Mon Aug 09, 2021 11:49 am
Forum: XSLT and FOP
Topic: Alternative to using local-name()
Replies: 2
Views: 1568

Re: Alternative to using local-name()

Hello Dan, I think you can replace the "local-name()" with something like this: <xsl:value-of select="$SupplierSeller/*/cbc:ID"/> I am not sure that this is the best solution, maybe you can address this question on the XSLT List xsl-list@lists.mulberrytech.com. Best Regards, Octa...
by tavy
Fri Jul 16, 2021 2:01 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Hot links in schematron error messages
Replies: 20
Views: 7856

Re: Hot links in schematron error messages

Hi Dwight, Yes, for the Eclipse plugin we do not have the "Default Internet browser" option, and it seems that in this case we do not use the Web Browser option from the Eclipse settings. The solution that I see in this case is to make sure the Chrome is set as default browser on your syst...
by tavy
Thu Jul 15, 2021 2:31 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Hot links in schematron error messages
Replies: 20
Views: 7856

Re: Hot links in schematron error messages

Hello Dwight, Oxygen opens the links in the system default browser. You can set a different browser from Options >Preferences->Global option page, by changing the "Default Internet browser" option. https://www.oxygenxml.com/doc/versions/23.1/ug-editor/topics/preferences-global.html#prefere...
by tavy
Thu Jul 15, 2021 2:21 pm
Forum: Common Problems
Topic: Cannot perform the quick fix
Replies: 8
Views: 3065

Re: Cannot perform the quick fix

Hello Johann, Thanks for reporting this issue. Unfortunately I cannot reproduce the error. Maybe you can give me more details. What version of Oxygen do you use? The quick fix is provided by a Schematron validation, or is from the XSD, DTD, RNG validation? It will be great if you can send me some sa...
by tavy
Fri Jun 18, 2021 4:21 pm
Forum: XML Schemas
Topic: Schematron: Support for validation
Replies: 5
Views: 2617

Re: Schematron: Support for validation

Hello, Unfortunately, it is hard for me to understand the examples. I tried to make some simple examples but they seem work in Oxygen. If you could create some simple examples that can be run in Oxygen XML Editor , and reproduce the issue you reported, I will try to debug them. Best Regards, Octavian
by tavy
Fri Jun 11, 2021 10:07 am
Forum: XML Schemas
Topic: Schematron: Support for validation
Replies: 5
Views: 2617

Re: Schematron: Support for validation

Hello, I can try to help you if you provide more information in order to reproduce the problem: What version of Oxygen do you use? What version of Saxon do you use for transformation? Maybe you can send also a sample XML file. I recommend you to write on the XSL List (xsl-list@lists.mulberrytech.com...
by tavy
Mon May 31, 2021 12:00 pm
Forum: XSLT and FOP
Topic: Several output files in several maps
Replies: 3
Views: 1564

Re: Several output files in several maps

Hello, I do not understand exactly how do you want to generate the result files. Maybe you can give me some examples of your map file content and how you configured the XSLT transformation. Probably you can use the resolve-uri() and base-uri() functions to generate the result in the map folder. Some...
by tavy
Thu May 20, 2021 2:43 pm
Forum: XSLT and FOP
Topic: Transform attribute to element when element already has a value
Replies: 2
Views: 1354

Re: Transform attribute to element when element already has a value

Hello, Probably you can add a template special for the "currency" element, something like this: <xsl:param name="namespace" as="xs:string">http://fc.fasset/product</xsl:param> <xsl:param name="root" as="xs:string">requestProduct</xsl:param> <xsl:para...
by tavy
Wed May 19, 2021 12:23 pm
Forum: XSLT and FOP
Topic: xslt and authentication over HTTPS
Replies: 6
Views: 2611

Re: xslt and authentication over HTTPS

Hi Dominique, If you try to access from Oxygen a file (that is stored on WebDAV, FTP, HTTP), which requires the users to be authenticated, usually you will revive an authentication dialog. I think that this depends on the authentication method. You can also add the user and password directly in the ...
by tavy
Wed May 12, 2021 10:03 am
Forum: Common Problems
Topic: Which OxygenXML products have the Design VIew?
Replies: 1
Views: 718

Re: Which OxygenXML products have the Design VIew?

Hello, The Design view is present in Oxygen XML Developer and Oxygen XML Editor. It was specifically implemented for editing XML Schemas by those designers who develop complex schemas. For a comparison between products, please see the Feature Matrix. https://www.oxygenxml.com/xml_editor/feature_matr...
by tavy
Mon May 10, 2021 9:50 am
Forum: General XML Questions
Topic: XSLT:Add Attribute to XML
Replies: 2
Views: 2379

Re: XSLT:Add Attribute to XML

Hello, I think the stylesheet should be something like this: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs" version=&quo...