Search found 363 matches

by tavy
Fri Mar 08, 2024 5:42 pm
Forum: Feature Request
Topic: Is there a way using XSLT Packages in Schematron
Replies: 2
Views: 98

Re: Is there a way using XSLT Packages in Schematron

Hi Nico,

Thanks for the feedback,
Unfortunately, we do not support XSLT packages in Schematron. I added an issue on our issue tracker to implement this support in a future version

Best Regards,
Octavian
by tavy
Fri Mar 08, 2024 3:59 pm
Forum: Feature Request
Topic: Support for schxslt
Replies: 1
Views: 59

Re: Support for schxslt

Hi Oleksii,

Unfortunately, Oxygen does not provide support for SchXslt. Our Schematron support is actually a skeleton implementation. You could consider using the command line with SchXslt for the XSpec test that cannot be executed with the default skeleton implementation.

Best Regards,
Octavian
by tavy
Thu Feb 22, 2024 11:35 am
Forum: XSLT and FOP
Topic: Passing value from ask editor variable to stylesheet
Replies: 1
Views: 164

Re: Passing value from ask editor variable to stylesheet

Hello, You can create a transformation scenario and define in the scenario a parameter . For example you can define a parameter with the name "askParam" and the value '${ask('Specify the value', String, 'val')}', and then use the parameter in the stylesheet. <?xml version="1.0" e...
by tavy
Fri Feb 16, 2024 10:17 am
Forum: XSLT and FOP
Topic: XPath 4.0
Replies: 1
Views: 203

Re: XPath 4.0

Hello Oleksii, Unfortunately I cannot reproduce the issue that you describe. It would be helpful if you could provide us with a more comprehensive example to better understand the issue. In my testing, I utilized the provided XSLT sample and the validation process worked. <xsl:stylesheet xmlns:xsl=&...
by tavy
Tue Nov 07, 2023 6:06 pm
Forum: XQuery
Topic: Strange XPath Behaviour
Replies: 2
Views: 1582

Re: Strange XPath Behaviour

Hello, It seems that the position() function take into account also the default attributes from the schema, even they are not in the document. For example in the "concept" element you have the 4 attributes: class, ditaarch:DITAArchVersion, domains, and id. You can use the following XPath e...
by tavy
Tue Nov 07, 2023 1:18 pm
Forum: Common Problems
Topic: cannot validate schematron in 26
Replies: 2
Views: 409

Re: cannot validate schematron in 26

Hello, Thanks for your feedback. We reproduced the error when creating a new Schematron or when validating a Schematron file. We've already registered an issue and this is fixed. We will update this thread when a new maintenance build is available. As a temporary workaround, the newly created Schema...
by tavy
Fri Oct 13, 2023 10:46 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: In Schematron quick-fix XSLT, can default attributes be suppressed?
Replies: 3
Views: 382

Re: In Schematron quick-fix XSLT, can default attributes be suppressed?

Hello, Thanks for your feedback. The solution that you found is good. We cannot determine in XSLT the default attributes for an element. All the attributes will be copied and you need to filter them. We have a similar example in the samples project ([oxygenInstallDir]\samples\quick-fixes\flowers.sch...
by tavy
Thu Sep 28, 2023 9:54 am
Forum: Other Issues
Topic: Xpath evaluator telling me that a namespace is not declared, but it is
Replies: 1
Views: 459

Re: Xpath evaluator telling me that a namespace is not declared, but it is

Hello, Probably you changed the XPath scope from "Current File" to "Selected Project Resources". Please note that the namespace is only detected from the file when using the "Current File" scope. To adjust the scope, you have two options: you can either modify it from t...
by tavy
Thu Aug 24, 2023 1:04 pm
Forum: Common Problems
Topic: Passing a param to Schematron?
Replies: 1
Views: 455

Re: Passing a param to Schematron?

Hello Scott, You cannot pass parameters in the Schematron validation scenario. You can only choose the phase to be executed. Find more details in the user manual: https://www.oxygenxml.com/doc/versions/25.1/ug-editor/topics/create-validation-scenario.html#create-validation-scenario__settings Maybe y...
by tavy
Fri Aug 18, 2023 10:16 am
Forum: Other Issues
Topic: Xquery validation throws error when saving a module xqm
Replies: 4
Views: 686

Re: Xquery validation throws error when saving a module xqm

Hello, You need to create a validation scenario and set the main file (for example main.xqy) as the URL to validate. The you need to associate this scenario to all your modules. To do this you can select the files from the Project view, and use the contextual menu action "Validate->Configure Va...
by tavy
Wed Aug 16, 2023 2:36 pm
Forum: Other Issues
Topic: Xquery validation throws error when saving a module xqm
Replies: 4
Views: 686

Re: Xquery validation throws error when saving a module xqm

Hello, To validate an XQuery module, you need to have a main XQuery file that imports and calls the functions defined in the module. The main XQuery file is the entry point for executing the code. You can create and associate a validation scenario for the modules, that sets the main file as the URL ...
by tavy
Wed Aug 02, 2023 12:13 pm
Forum: Common Problems
Topic: XSLT Debugger with old Saxon Version
Replies: 2
Views: 396

Re: XSLT Debugger with old Saxon Version

Hello. Oxygen XML Editor offers an add-on that installs an external Saxon XSLT and XQuery processor and allows you to validate and transform XSLT and XQuery documents with that external processor. The default add-on update site includes versions for Saxon 9.6, 9.7, 9.8, 9.9, 10.7, 10.8, 11.5, and 12...
by tavy
Tue Jul 18, 2023 12:43 pm
Forum: General XML Questions
Topic: element structure is not serialized in <xsl:message> in XSLT debugger
Replies: 1
Views: 659

Re: element structure is not serialized in <xsl:message> in XSLT debugger

Hello,

Thanks for your feedback.
Yes, it seems that in the XSLT Debugger the element structure is omitted and only the text content is serialized. I added an issue on our issue tracker to analyze this situation. When this will be fixed we will update this thread,

Best Regards,
Octavian
by tavy
Thu Jul 06, 2023 9:44 am
Forum: Other Issues
Topic: redundant warning about duplicate include of stylesheet
Replies: 5
Views: 728

Re: redundant warning about duplicate include of stylesheet

Hi hepabolu, Unfortunately I cannot reproduce the warning. I created a similar structure and the validation engine does not report any warnings. What version of Oxygen do you use? Do you use the Main Files Support from Oxygen? https://www.oxygenxml.com/doc/versions/25.1/ug-editor/topics/defining_mai...
by tavy
Wed Jun 14, 2023 3:21 pm
Forum: Common Problems
Topic: Schematron: how to display the errors and warning based on priority
Replies: 3
Views: 525

Re: Schematron: how to display the errors and warning based on priority

Hello, Thanks for the feedback. The problems are sorted automatically by location in the document, so you can resolve them in the order. I understand your uses case and I think it is good to have a configuration settings. Probably we should group the problems automatically also by severity, in this ...
by tavy
Tue Jun 13, 2023 8:50 am
Forum: Common Problems
Topic: Schematron: how to display the errors and warning based on priority
Replies: 3
Views: 525

Re: Schematron: how to display the errors and warning based on priority

Hello,

The problems are presented in a table that is sortable. You just need to click on the first table header to sort the problems by severity.

Best Regards,
Octavian
by tavy
Wed Jun 07, 2023 9:02 am
Forum: Other Issues
Topic: Default Validation not working
Replies: 1
Views: 383

Re: Default Validation not working

Hello, Unfortunately I cannot reproduce the behavior you describe. What version of Oxygen do you use? Do you have a validation scenario associated with the XSL file? You can find more details about the validation performed on the current editor in the Information view, To make the view visible, sele...
by tavy
Thu Mar 23, 2023 10:31 am
Forum: Feature Request
Topic: Creating dynamic file sets for XSLT, Validation, etc.
Replies: 1
Views: 493

Re: Creating dynamic file sets for XSLT, Validation, etc.

Hi Oleksii, I think the best solution for your use-case is to create logical folders with the resources. In this way you can use more easily all the actions (XPath, XSLT, Format & Indent, and Validation) directly on the specified folders. You can also share the project with your team and they wi...
by tavy
Mon Mar 20, 2023 9:38 am
Forum: Feature Request
Topic: XSLT transformation of JSON as the primary input document (like Saxon offers with -json option)
Replies: 1
Views: 576

Re: XSLT transformation of JSON as the primary input document (like Saxon offers with -json option)

Hi Martin,

Thanks for your feedback.
Yes, I think we should add this support on Oxygen. There is an issue on our issue tracker to implement this support in a future version. I added your comment on the issue and increased its priority.

Best Regards,
Octavian
by tavy
Thu Feb 23, 2023 6:27 pm
Forum: Other Issues
Topic: How to change the Schematron validation message static content
Replies: 1
Views: 495

Re: How to change the Schematron validation message static content

Hi Roopesh, Thanks for your feedback. Unfortunately you cannot set a type for the Schematron problems, only the problems reported by the built-in Dita validator have types. Also, the engine type cannot be removed from the description. I will add an issue on our issue tracker to improve this support ...
by tavy
Fri Feb 17, 2023 1:44 pm
Forum: Other Issues
Topic: Newbi Q - Attribute groups and complex types
Replies: 1
Views: 583

Re: Newbi Q - Attribute groups and complex types

Hi Miles, Unfortunately we do not have a video demo that covers attribute groups. I recommend you to use the Pallet view to create a new attribute group. - drag and drop the attribute group in the schema root - drag an drop attribute components in the attribute group Then to use the attribute group,...
by tavy
Thu Feb 16, 2023 5:18 pm
Forum: XSLT and FOP
Topic: What are parameters for collection() function
Replies: 2
Views: 651

Re: What are parameters for collection() function

In the content completion documentation window there are links to the W3C specification and Salonica documentation:
https://www.w3.org/TR/2010/REC-xpath-fu ... collection
https://www.saxonica.com/html/documenta ... ction.html
by tavy
Fri Feb 10, 2023 4:07 pm
Forum: XSLT and FOP
Topic: SCH: initialize a variable during built to XSLT
Replies: 4
Views: 914

Re: SCH: initialize a variable during built to XSLT

Hi Dan, I don't know if I understand exactly what you intend tot do. Maybe you can send us a sample Schematron file and explain what you want to obtain. The XSLT content from the Schematron will be automatically executed. For your example, if you use <sch:value-of select="$PartyLegalID"/> ...
by tavy
Tue Jan 31, 2023 11:11 am
Forum: SDK-API, Frameworks - Document Types
Topic: Moving a list out of a paragraph, copyExceptClass not working?
Replies: 1
Views: 667

Re: Moving a list out of a paragraph, copyExceptClass not working?

Hi Raymond, The quick fix that you created contains in the "sqf:add" operation both the xsl:apply-templates mode="copyExceptClass" and select="ol | ul" . You need to use only the xsl:apply-templates mode="copyExceptClass" in the cotent of the "sqf:add&quo...
by tavy
Wed Jan 18, 2023 1:37 pm
Forum: Feature Request
Topic: graphQL support
Replies: 1
Views: 653

Re: graphQL support

Hello Carlos,

Thanks for the feedback.
There is already an issue on our issue tracker to analyze the support that we can add for GraphQL Depending on the effort and on the feedback that we get from our users we will decide what support we can provide for GraphQL.

Best Regards,
Octavian
by tavy
Wed Jan 11, 2023 10:59 am
Forum: Common Problems
Topic: Latest Oxygen throws NullPointerException
Replies: 2
Views: 587

Re: Latest Oxygen throws NullPointerException

Hello Martin,

Unfortunately I cannot reproduce this error. Maybe you can send us some sample files on our support email address support@oxygenxml.com.
If you start the Oxygen from the command line do you have any errors in the console?

Best Regards,
Octavian
by tavy
Tue Jan 10, 2023 4:31 pm
Forum: XML Schemas
Topic: [BUG] XML Schema Validation (Xerces) error but there isn't one
Replies: 3
Views: 1499

Re: [BUG] XML Schema Validation (Xerces) error but there isn't one

Hello, Thanks for your feedback. There is already a similar issue on our issue tracker. It seems to be a problem when the schema is associated in the file and Default XML Schema version is set to 1.1. Is your XML Schema version 1.1 and is associated in the file? As an workaround, if your schema is n...
by tavy
Fri Dec 02, 2022 11:55 am
Forum: Other Issues
Topic: JSON schema cross file references using $anchor and $ref
Replies: 4
Views: 1367

Re: JSON schema cross file references using $anchor and $ref

Hello, Yes, if you have references to remote schemas you can use an XML Catalog to resolve the references locally. There is a topic in our user manual that explains the resolving references with an XML Catalog: https://www.oxygenxml.com/doc/versions/25.0/ug-editor/topics/json-resolve-schema-ref-with...
by tavy
Fri Dec 02, 2022 11:15 am
Forum: Common Problems
Topic: XPath Stopped Working
Replies: 2
Views: 502

Re: XPath Stopped Working

Hello Brian,

Thanks for your feedback.
Unfortunately I cannot reproduce the behavior that you describe. Can you send us a sample file on suppport@oxygenxml.com, in order to reproduce the issue that you describe?

Best Regards,
Octavian
by tavy
Tue Nov 29, 2022 11:22 am
Forum: Other Issues
Topic: Schematron Validation. Unknown system function: matches
Replies: 2
Views: 723

Re: Schematron Validation. Unknown system function: matches

Hello, Unfortunately I cannot reproduce the behavior that you describe. I tested with <oXygen/> XML Editor 25.0, build 2022110706. What version of Oxygen do you use? Maybe you have set some options that affects the validation. I recommend you to export the current Oxygen options and the reset them a...