Validation errors after upgrade to Oxygen XML 24 Eclipse plugin

Having trouble installing Oxygen? Got a bug to report? Post it all here.
tank
Posts: 10
Joined: Tue Aug 29, 2017 2:52 am

Validation errors after upgrade to Oxygen XML 24 Eclipse plugin

Post by tank »

After upgrading to Oxygen 24 Eclipse plugin, validation failure errors appear for every file that I open. Errors did not appear for these files before upgrade. This occurs in the Eclipse plugin on both Windows and Mac but does not appear in either Author or Editor.

These are the error descriptions that appear in the Results pane:

System ID: /Users/greg/.p2/pool/plugins/com.oxygenxml.editor_24.0.0.v2021101506/frameworks/dita/resources/dita-1.2-for-xslt2-mandatory.sch
Main validation file: /Users/greg/git/docs/cloud/azure_cc_es_workflow.dita
Scenario name: DITA
Schema: /Users/greg/.p2/pool/plugins/com.oxygenxml.editor_24.0.0.v2021101506/frameworks/dita/resources/dita-1.2-for-xslt2-mandatory.sch
Document type: DITA
Engine name: ISO Schematron
Severity: error
Description: Cannot find the declaration of element 'schema'.
Start location: 21:54
End location: 21:54

System ID: /Users/greg/.p2/pool/plugins/com.oxygenxml.editor_24.0.0.v2021101506/frameworks/dita/styleguide/rules/styleguide.sch
Main validation file: /Users/greg/git/docs/cloud/azure_cc_es_workflow.dita
Scenario name: DITA
Schema: /Users/greg/.p2/pool/plugins/com.oxygenxml.editor_24.0.0.v2021101506/frameworks/dita/styleguide/rules/styleguide.sch
Document type: DITA
Engine name: ISO Schematron
Severity: error
Description: Cannot find the declaration of element 'schema'.
Start location: 2:75
End location: 2:75


Here are the platform details

Mac: Big Sur 11.6.1
Eclipse: Eclipse IDE for Java Developers Version: 2021-09 (4.21.0) Build id: 20210910-1417
Oxygen plugin: Editor 24.0, build: 2021202506
Oxygen: <oXygen/> XML Editor 24.0, build 2021101506


Windows: Window 10 Pro v21H1 build 19043.1288
Eclipse: Eclipse IDE for Java Developers Version: 2021-09 (4.21.0) Build id: 20210910-1417
Oxygen plugin: Editor 24.0, build: 2021202506
Oxygen: <oXygen/> XML Editor 24.0, build 2021101506
Mircea
Posts: 130
Joined: Tue Mar 25, 2003 11:21 am

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

Post by Mircea »

Hello,

Using the same kit from our website (both the zip and the "site" distribution we did not managed to reproduce the problem.
I think that somehow your installation got corrupted and these 2 files are damaged.
Please reconsider re-installing the Eclipse plugin.
In case the problem persists, we need a more complex example.

Regards,
Mircea.
Mircea Enachescu
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
tank
Posts: 10
Joined: Tue Aug 29, 2017 2:52 am

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

Post by tank »

We'll try that Mircea, thanks.

The confusing aspect is that we are seeing the exact same behavior on two different computers (Windows and Mac) and a virtual machine (Windows) running on Mac.
tank
Posts: 10
Joined: Tue Aug 29, 2017 2:52 am

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

Post by tank »

Uninstall and reinstall solved the problem on all three platforms. Thanks Mircea

For what its worth, my first try failed to remove the error. I think that was because I didn't uninstall the language pack too. When I also uninstalled that package and then reinstalled both packages the errors disappeared.
Mircea
Posts: 130
Joined: Tue Mar 25, 2003 11:21 am

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

Post by Mircea »

Hi,

This is good news !

Regards,
Mircea.
Mircea Enachescu
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
tank
Posts: 10
Joined: Tue Aug 29, 2017 2:52 am

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

Post by tank »

A schema validation error has returned. Here is the latest error description:

System ID: /Users/greg/.p2/pool/plugins/com.oxygenxml.editor_24.0.0.v2021101506/frameworks/dita/resources/dita-1.2-for-xslt2-mandatory.sch
Main validation file: /Users/greg/git/docs/cloud/data_at_rest_encryption.dita
Scenario name: DITA
Schema: /Users/greg/.p2/pool/plugins/com.oxygenxml.editor_24.0.0.v2021101506/frameworks/dita/resources/dita-1.2-for-xslt2-mandatory.sch
Document type: DITA
Engine name: ISO Schematron
Severity: error
Description: Cannot find the declaration of element 'schema'.
Start location: 21:54
End location: 21:54

It showed up again on all three instances: Windows, Mac, and Windows vm running on Mac.

The only change of circumstances for these computers between the 'no message' state and the 'error message' state was a shutdown and startup of the computer.

To test whether the restart is the cause, I uninstalled the Oxygen plugin files again and reinstalled them again.

The error went away.

Then I restarted the computer and the error returned.

Could the issue be caused by the Oxygen Author/Editor full software loading paths when the computer starts; paths that are incompatible with the Oxygen Eclipse plugin?
Mircea
Posts: 130
Joined: Tue Mar 25, 2003 11:21 am

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

Post by Mircea »

Hello,

Can you please open for editing in Oxygen the schema placed at "/Users/greg/.p2/pool/plugins/com.oxygenxml.editor_24.0.0.v2021101506/frameworks/dita/resources/dita-1.2-for-xslt2-mandatory.sch" on your computer and check its integrity ? Maybe run a validation ?
It seems that somehow the files get corrupted after restart.

Keep us informed.

Regards,
Mircea
Mircea Enachescu
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
tank
Posts: 10
Joined: Tue Aug 29, 2017 2:52 am

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

Post by tank »

Yes that doesn't validate, nor does sqf.sch. Both have the error I listed originally "Cannot find the declaration of element 'schema'."

System ID: /Users/greg/.p2/pool/plugins/com.oxygenxml.editor_24.0.0.v2021101506/frameworks/dita/resources/dita-1.2-for-xslt2-mandatory.sch
Main validation file: /Users/greg/.p2/pool/plugins/com.oxygenxml.editor_24.0.0.v2021101506/frameworks/dita/resources/dita-1.2-for-xslt2-mandatory.sch
Scenario name: Schematron + SQF
Document type: Schematron
Engine name: ISO Schematron
Severity: error
Description: Cannot find the declaration of element 'schema'.
Offset: 889
Length: 53

System ID: /Users/greg/.p2/pool/plugins/com.oxygenxml.editor_24.0.0.v2021101506/frameworks/sqf/xsd/sqf.sch
Main validation file: /Users/greg/.p2/pool/plugins/com.oxygenxml.editor_24.0.0.v2021101506/frameworks/dita/resources/dita-1.2-for-xslt2-mandatory.sch
Scenario name: Schematron + SQF
Schema: /Users/greg/.p2/pool/plugins/com.oxygenxml.editor_24.0.0.v2021101506/frameworks/sqf/xsd/sqf.sch
Document type: Schematron
Engine name: ISO Schematron
Severity: error
Description: Cannot find the declaration of element 'schema'.
Start location: 30:268
End location: 30:268


These same validation errors occur (and reoccur after reinstalling) on two Windows computers and a Mac, so probably not a platform issue. I suspect the corruption comes in from the software, either Eclipse or Oxygen plug-in, or both.
Mircea
Posts: 130
Joined: Tue Mar 25, 2003 11:21 am

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

Post by Mircea »

Hello,

Instead of putting the Oxygen plugins in a custom directory (/Users/greg/.p2/pool/plugins/com.oxygenxml.editor_24.0.0.v2021101506) try install them using the zip distribution and place the unpacked zips in the dropins folder of your Eclipse installation.
Also try to find out what other application is altering your directories from /Users/greg/.p2/pool.

Regards,
Mircea.
Mircea Enachescu
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
tank
Posts: 10
Joined: Tue Aug 29, 2017 2:52 am

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

Post by tank »

Hi Mircea,

I don't think the plugins folder is really "custom", is it? My installs and updates have always used the default locations for Eclipse and Oxygen on Mac. Eclipse has automatically installed the Oxygen plugin in that location since I started using the software in October of 2019. On the other hand, the dropins folder is empty and would need to be manually populated.

My concern with putting the Oxygen files into the dropins folder is whether that will break updates for the Oxygen plugin.

Another piece of evidence for this issue is that one of my writers has the same plugin version of Oxygen as I do (in the plugins folder) but she has the previous version of Eclipse. She is not seeing the validation errors.

The Date Created and Date Modified for each of these files listed in the errors is the same, October 15, 2021:
/Users/greg/.p2/pool/plugins/com.oxygenxml.editor_24.0.0.v2021101506/frameworks/dita/resources/dita-1.2-for-xslt2-mandatory.sch
/Users/greg/.p2/pool/plugins/com.oxygenxml.editor_24.0.0.v2021101506/frameworks/dita/styleguide/rules/styleguide.sch
/Users/greg/.p2/pool/plugins/com.oxygenxml.editor_24.0.0.v2021101506/frameworks/sqf/xsd/sqf.sch

Thank you for your continued help,

Greg
Mircea
Posts: 130
Joined: Tue Mar 25, 2003 11:21 am

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

Post by Mircea »

Hi Greg,

What are the versions of Eclipse for you and your writer ?

Regards,
Mircea.
Mircea Enachescu
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
tank
Posts: 10
Joined: Tue Aug 29, 2017 2:52 am

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

Post by tank »

She is on Mac using:

Code: Select all

Eclipse IDE for Enterprise Java and Web Developers (includes Incubating components)
Version: 2021-06 (4.20.0)
Build id: 20210612-2011

And I'm on Mac and Windows using

Code: Select all

Eclipse IDE for Java Developers (includes Incubating components)
Version: 2021-09 (4.21.0)
Build id: 20210910-1417 
Mircea
Posts: 130
Joined: Tue Mar 25, 2003 11:21 am

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

Post by Mircea »

Hello,

We managed to reproduce the problem on a Mac machine.
We will investigate the problem and we'll let you know as soon as we have news about it.

Regards,
Mircea.
Mircea Enachescu
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
tank
Posts: 10
Joined: Tue Aug 29, 2017 2:52 am

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

Post by tank »

Hi Mircea,

We're still seeing these errors. Have you been able to make any progress on a solution?

Regards,

Greg
Mircea
Posts: 130
Joined: Tue Mar 25, 2003 11:21 am

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

Post by Mircea »

Hi Greg,

The problem was identified and fixed.
When we will have an official release, we will let you know about it !

Regards,
Mircea.
Mircea Enachescu
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
tank
Posts: 10
Joined: Tue Aug 29, 2017 2:52 am

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

Post by tank »

That's great news Mircea! Thank you!
tank
Posts: 10
Joined: Tue Aug 29, 2017 2:52 am

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

Post by tank »

This problem was fixed for both our Mac and Windows instances by the 24.0.0.v2021121317 update.

Thanks!
tavy
Posts: 364
Joined: Thu Jul 01, 2004 12:29 pm

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

Post by tavy »

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
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply