Search found 280 matches

by tavy
Fri Jun 11, 2021 10:07 am
Forum: XML Schemas
Topic: Schematron: Support for validation
Replies: 2
Views: 112

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

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

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:param name="keepAttr" static="yes" as="xs:string*" sel...
by tavy
Wed May 19, 2021 12:23 pm
Forum: XSLT and FOP
Topic: xslt and authentication over HTTPS
Replies: 5
Views: 170

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

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

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="1.0"> <xsl:output indent="yes" /> <xsl:strip-space el...
by tavy
Fri May 07, 2021 8:35 am
Forum: Common Problems
Topic: "Ignore nodes by Xpath" in Compare Directories
Replies: 8
Views: 2320

Re: "Ignore nodes by Xpath" in Compare Directories

I corrected the hyperlink, there was a wrong character added at the end in the link.
by tavy
Thu May 06, 2021 5:19 pm
Forum: Common Problems
Topic: "Ignore nodes by Xpath" in Compare Directories
Replies: 8
Views: 2320

Re: "Ignore nodes by Xpath" in Compare Directories

Hello,

This feature is not so easy to implement, but we have in plan to implement it in the future. Maybe we will have this implemented in the Compare Directories script. I added your comment on the issue and I increased its priority.
Thanks for your feedback.

Best Regards,
Octavian
by tavy
Thu May 06, 2021 4:59 pm
Forum: Feature Request
Topic: Diff Files and Dirs: Enable to run these tasks also from command line
Replies: 10
Views: 3920

Re: Diff Files and Dirs: Enable to run these tasks also from command line

Hello, Thanks for your feedback. We already have in plan to implement a merging tool. I added your comment on the issue and increased its priority. When it will be implemented we will update this thread. Probably will be similar with the Compare Directories and Compare Files script, that can be used...
by tavy
Wed May 05, 2021 9:01 am
Forum: XML Schemas
Topic: xs:alternative Content Completion
Replies: 3
Views: 572

Re: xs:alternative Content Completion

Hello,

Yes, only the XML Schema validation engine can be changed to Saxon, the content completion is always using Xerces.

Regards,
Octavian
by tavy
Wed May 05, 2021 8:55 am
Forum: XSLT and FOP
Topic: Using XML and XSLT file paths in Document Transformation Scenario
Replies: 3
Views: 311

Re: Using XML and XSLT file paths in Document Transformation Scenario

Hello, The ${dbgXML} and ${dbgXSL} were implemented as editor variables to be used in External Tools. They resolve to the selected XML and XSL/XQuery from the Debugger perspectives. There is an issue on our internal issue tracker to support them also in the transformation scenario. I added your comm...
by tavy
Tue May 04, 2021 10:19 am
Forum: XML Schemas
Topic: xs:alternative Content Completion
Replies: 3
Views: 572

Re: xs:alternative Content Completion

Hello, Thanks for your feedback. Unfortunately I cannot reproduce the problems. The content completion works fine for me, it provides the "left" or "right" attributes depending on "condition". I tested with oXygen XML Editor 23.1, build 2021030206. Maybe you have set an option that affects the conte...
by tavy
Tue May 04, 2021 8:59 am
Forum: General XML Questions
Topic: Disable adding newline at the end of file and auto line break when long line? Keep the original type of spacing?
Replies: 4
Views: 236

Re: Disable adding newline at the end of file and auto line break when long line? Keep the original type of spacing?

Hello, I think you can use the "Preserve text as it is" option from Options->Preferences->Editor / Format / XML option page. If is selected, the Format and Indent operation preserves text content as it is, without removing or adding any white space. Another solution is to add the elements, that you ...
by tavy
Thu Apr 29, 2021 12:30 pm
Forum: General XML Questions
Topic: Disable adding newline at the end of file and auto line break when long line? Keep the original type of spacing?
Replies: 4
Views: 236

Re: Disable adding newline at the end of file and auto line break when long line? Keep the original type of spacing?

Hello, Thanks for your feedback. You can control the formatting opinions from "Options->Preferences-> Editor / Format" options page. The number of characters after which the Format and Indent (pretty-print) action performs hard line-wrapping, is by default 100. You can set a different value from the...
by tavy
Tue Apr 27, 2021 3:37 pm
Forum: General XML Questions
Topic: Validate part of XML file
Replies: 4
Views: 251

Re: Validate part of XML file

Hello, If you do not have an XSD schema for the header, and you want to validate only the core part, I recommend you to use an NVDL schema. I think you can create a schema something like this: <rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"> <namespace ns="http://testCore"> <validate ...
by tavy
Mon Apr 26, 2021 12:31 pm
Forum: General XML Questions
Topic: Validate part of XML file
Replies: 4
Views: 251

Re: Validate part of XML file

Hello, No, you cannot use validation scenario to ignore the header element, and associate the XSD schema only with the core element. Probably you can do this from the XSD schema. Maybe you can use a different namespace for the header element, and associate the schema only for that namespace. Best Re...
by tavy
Fri Apr 23, 2021 10:10 am
Forum: XML Schemas
Topic: Generating Schema for existing xml file
Replies: 2
Views: 240

Re: Generating Schema for existing xml file

Hello,

The generation does not work properly in this case. I think you need change the generated schema and set the "figure" and "figDesc" elements optional. Something like this:

Code: Select all

<xs:element ref="figure" minOccurs="0"/>
<xs:element ref="figDesc" minOccurs="0"/>
Best Regards,
Octavian
by tavy
Thu Apr 22, 2021 4:37 pm
Forum: XSLT and FOP
Topic: Using XML and XSLT file paths in Document Transformation Scenario
Replies: 3
Views: 311

Re: Using XML and XSLT file paths in Document Transformation Scenario

Hello, When you create a transformation scenario, you can use the editor variables such as ${cf} to specify dynamically the input XML or XSL. This means that you can use the same scenario for multiple files, and the editor variables will be expanded to the current file on which you apply the scenari...
by tavy
Tue Apr 13, 2021 5:19 pm
Forum: General XML Questions
Topic: Schematron xpath fail only once
Replies: 3
Views: 292

Re: Schematron xpath fail only once

Hello, I think the schema should be something like this: <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://purl.oclc.org/dsdl/schematron"> <pattern> <rule context="xml"> <let name="test" value="topic/test[number(text()) > 5]"/> <report test="$test" subject="$test[1]"> Value greater than 5...
by tavy
Mon Apr 12, 2021 3:22 pm
Forum: General XML Questions
Topic: Schematron xpath fail only once
Replies: 3
Views: 292

Re: Schematron xpath fail only once

Hello,

I don't know exactly your use case, maybe you can give me an example of an XML document and a Schematron rule, to understand better the situation.
I think you can add the rule on a parent context, and then change the assert to fail if one of the rules is not true.

Best Regards,
Octavian
by tavy
Wed Apr 07, 2021 9:45 am
Forum: XSLT and FOP
Topic: XSLT using lookup table
Replies: 4
Views: 402

Re: XSLT using lookup table

Hello Cathy, For me it works if I have the stylesheet 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="2.0"> <xsl:output method="xml" indent="...
by tavy
Mon Apr 05, 2021 11:44 am
Forum: XSLT and FOP
Topic: XSLT using lookup table
Replies: 4
Views: 402

Re: XSLT using lookup table

Hello Cathy, I think a possible solution is to have a stylesheet something like this: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:output method="xml" encoding="UTF-8" indent="yes"/> <xsl:variable name="MRPITEMS" select="...
by tavy
Fri Mar 19, 2021 12:00 pm
Forum: Other Issues
Topic: Content Compare in Eclipse Plugin
Replies: 14
Views: 3503

Re: Content Compare in Eclipse Plugin

Hi Stefan, We integrated our diff in the Eclipse comparison support. You need to trigger the eclipse comparison support. I think a solution is something like this: https://wiki.eclipse.org/FAQ_How_do_I_create_a_compare_editor%3F But you need to make sure that you set the "xml" type in the CompareIte...
by tavy
Thu Mar 18, 2021 2:56 pm
Forum: Other Issues
Topic: Content Compare in Eclipse Plugin
Replies: 14
Views: 3503

Re: Content Compare in Eclipse Plugin

Hello Stefan, The comparison in Eclipse should start automatically in Author mode for any XML document that has a CSS associated. You need to make sure that the "Enable file comparison in Author mode" option from the Preferences > Oxygen XML Editor Eclipse plugin > DIFF option page is set. https://w...
by tavy
Wed Mar 10, 2021 6:10 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: SQF preferences
Replies: 4
Views: 1277

Re: SQF preferences

Hello, We just released Oxygen XML Editor version 23.1 and we implemented the support to ignore validation problems. The validation problems that have an ID can now be ignored using quick fix actions. You can find more details on our website: https://www.oxygenxml.com/xml_developer/whats_new.html#23...
by tavy
Mon Mar 08, 2021 11:39 am
Forum: SDK-API, Frameworks - Document Types
Topic: Hot links in schematron error messages
Replies: 9
Views: 2857

Re: Hot links in schematron error messages

Thanks for you feedback.

We have a sample implementation of an intelligent integrated style guide, that works both in Oxygen XML Editor and Oxygen XML Web Author.
https://github.com/oxygenxml/integrated-styleguide

Best Regards,
Octavian
by tavy
Wed Mar 03, 2021 1:49 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Hot links in schematron error messages
Replies: 9
Views: 2857

Re: Hot links in schematron error messages

Hello, Thanks for your feedback. Unfortunately, you cannot add the text link in the message. We have an issue on our issue tracker to add this support in a future version. I added your comment on the issue and increased its priority. When the issue will be implemented we will update this thread. Bes...
by tavy
Wed Feb 17, 2021 10:28 am
Forum: Common Problems
Topic: Possible Bug with Saxon Schema Validation
Replies: 2
Views: 314

Re: Possible Bug with Saxon Schema Validation

Hello Frank, Thanks for your feedback. Yes, it seems to be a problem with the Saxon validation in an assert. If the type "ns1:Token3" is set as an element type, no problem is reported. Therefore, it seems that the problem occurs when referring the type in an assert element. I reported the problem at...
by tavy
Mon Feb 15, 2021 8:15 pm
Forum: Common Problems
Topic: Possible Bug with XML Schema 1.1 override
Replies: 1
Views: 248

Re: Possible Bug with XML Schema 1.1 override

Hello, Thanks for your feedback. There is a problem with the Saxon validation, I already reported this problem at Saxon, and they fixed it. Here is the Saxon issue: https://saxonica.plan.io/issues/4518 We need to update the default Saxon library in Oxygen, probably in the next Oxygen major release. ...
by tavy
Fri Feb 05, 2021 10:04 am
Forum: XML Schemas
Topic: generate-id function and preceding axis in Schematron
Replies: 2
Views: 377

Re: generate-id function and preceding axis in Schematron

Hello David,

I will try to analyze this situation and give you some hints, but it will be more easy for me if you can send me some sample files. You can send them on our "support at oxygenxml dot com" email address.

Best Regards,
Octavian