Cannot perform the quick fix
Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
Cannot perform the quick fix
Hello,
Some quick fixes do not work. In the "Validation" widget, a validation error appears: "The "aaa" attribute with the value "" must have a value from the "xxx yyy zzz" list.
When I click on the quick fix: Replace value "" with "xxx" in attribute "aaa", the popup error appears:
Cannot perform the quick fix: Cannot map line and column in Author page: 9:515
Johann
Some quick fixes do not work. In the "Validation" widget, a validation error appears: "The "aaa" attribute with the value "" must have a value from the "xxx yyy zzz" list.
When I click on the quick fix: Replace value "" with "xxx" in attribute "aaa", the popup error appears:
Cannot perform the quick fix: Cannot map line and column in Author page: 9:515
Johann
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 sample files to reproduce the problem, and XML document and a schema. You can add the sample files here, or you can send them to our support email address support@oxygenxml.com.
Best Regards,
Octavian
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 sample files to reproduce the problem, and XML document and a schema. You can add the sample files here, or you can send them to our support email address support@oxygenxml.com.
Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: Cannot perform the quick fix
Hello,
I am using 23.1.0.0 version.
The quick fix is provided by a DTD validation.
Here is an example.
document.xml:
description.dtd:
Johann
I am using 23.1.0.0 version.
The quick fix is provided by a DTD validation.
Here is an example.
document.xml:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE description PUBLIC "MY-DESCRIPTION"
"description.dtd">
<description mode=""/>
Code: Select all
<!ENTITY % graphmode.AttGrp "
mode (inline|thumbnail|text) #REQUIRED">
<!ELEMENT description EMPTY>
<!ATTLIST description
%graphmode.AttGrp;
>
Re: Cannot perform the quick fix
Hi,
We managed to reproduce this problem in Web Author if we first modify the document and then quickly apply the quick fix. The error appears if the validation is not retriggered until the quick fix is applied and the node position in the document has changed (due to the first modification).
We added an issue in our internal issue tracker to fix this problem and we will update this thread when it will be available.
Can you tell us please if this is also your case? Do you remove some node or make other change in the document before applying the quick fix? Or do you have some customization that changes the document after loading?
Best Regards,
Mihaela
We managed to reproduce this problem in Web Author if we first modify the document and then quickly apply the quick fix. The error appears if the validation is not retriggered until the quick fix is applied and the node position in the document has changed (due to the first modification).
We added an issue in our internal issue tracker to fix this problem and we will update this thread when it will be available.
Can you tell us please if this is also your case? Do you remove some node or make other change in the document before applying the quick fix? Or do you have some customization that changes the document after loading?
Best Regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
http://www.oxygenxml.com
Re: Cannot perform the quick fix
Hello,
If I open the document:
The quick fix that adds an attribute value works.
If I open the document:
The first quick fix that adds the required "mode" attribute works but the second one that adds the attribute value does not work.
It seems that if the attribute is generated, the quick fix that adds an attribute value does not work.
Johann
If I open the document:
Code: Select all
<description mode=""/>
If I open the document:
Code: Select all
<description />
It seems that if the attribute is generated, the quick fix that adds an attribute value does not work.
Johann
Re: Cannot perform the quick fix
Hello,
To better understand your use case, can you please tell us if the second quick fix appears after you apply the one that adds the required "mode" attribute? Or both quick fixes are presented together in the Validation view and you apply them one after another?
We want to be sure that this is the same problem that we managed to reproduce.
If you want, you can send us a short video (you can send it on our email address: support@oxygenxml.com) with the steps you perform.
Best Regards,
Mihaela.
To better understand your use case, can you please tell us if the second quick fix appears after you apply the one that adds the required "mode" attribute? Or both quick fixes are presented together in the Validation view and you apply them one after another?
We want to be sure that this is the same problem that we managed to reproduce.
If you want, you can send us a short video (you can send it on our email address: support@oxygenxml.com) with the steps you perform.
Best Regards,
Mihaela.
Mihaela Calotescu
http://www.oxygenxml.com
http://www.oxygenxml.com
Re: Cannot perform the quick fix
Hello,
We managed to reproduce the problem, by using one of the options set in your option.xml file:
This means that, when the document is modified, breaking lines is avoided after element start or end tags and indenting will not be used.
So, it seems that the problem is that this option is not taken into account also when calculating the position were the quick fix is applied.
We added an issue in our internal issue tracker and we will update this thread when the fix will be available.
Thank you again for your help!
Best Regards,
Mihaela
We managed to reproduce the problem, by using one of the options set in your option.xml file:
Code: Select all
<entry>
<String>author.format.compatibility</String>
<Integer>1</Integer>
</entry>
So, it seems that the problem is that this option is not taken into account also when calculating the position were the quick fix is applied.
We added an issue in our internal issue tracker and we will update this thread when the fix will be available.
Thank you again for your help!
Best Regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
http://www.oxygenxml.com
-
- Posts: 6
- Joined: Mon Sep 21, 2020 5:24 pm
Re: Cannot perform the quick fix
Post by andrei_popa »
The problem should be fixed in the latest maintenance build of version 24 (24.0.0.4)
Best regards,
Andrei
Best regards,
Andrei
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service