Validation does not update after editing file

Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
Sue205
Posts: 1
Joined: Wed Sep 11, 2024 6:13 am

Validation does not update after editing file

Post by Sue205 »

Hi. I am just starting to work with Oxygen and have a number of json schema files already written for which I want to generate HTML documentaiton. These work fine in Linux with my C++ code, however oXygen is reporting an issue with my $ref fields; apparently they are not pointing at the correct location when I import the schemas into oXygen. I have updated the ref field so that it should work properly, however the validation is still failing and the details reported by the validation are still for the file as it was imported. For example the error is:

Code: Select all

Description: #/oneOf/0/properties/request/$ref: java.io.FileNotFoundException: C:\schemas\json\MetaAccountQuery.request.jsd (The system cannot find the path specified)
I have updated the ref field to be:

Code: Select all

"MetaAccountQuery.request.jsd#/properties" 
rather than

Code: Select all

"/schemas/json/MetaAccountQuery.request.jsd"
and am still receiving the initial error message. In the oXygen editor clicking on the field in the new format does bring me to the correct location so the error should be fixed. All of the associated files are part of the same project.

Am I still doing something wrong with the $ref field or do I need to do something to clear the original validation results and have them regenerated?

Thank you
tavy
Posts: 372
Joined: Thu Jul 01, 2004 12:29 pm

Re: Validation does not update after editing file

Post by tavy »

Hello,

Thank you for your feedback.

Unfortunately, I am unable to replicate the behavior you described. Could you kindly provide a simple sample file that triggers the error? Additionally, could you let us know which version of Oxygen you are using?

Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply