Antenna House FO schema doesn't allow @field-readonly in axf:form-field

This should cover W3C XML Schema, Relax NG and DTD related problems.
Simcha
Posts: 13
Joined: Wed Feb 26, 2020 5:47 pm

Antenna House FO schema doesn't allow @field-readonly in axf:form-field

Post by Simcha »

When editing FO with the latest XML Developer 24.1, we're getting the message that field-readonly isn't allowed in axf:form-field. Both in practice and according to https://www.docs.antennahouse.com/forma ... d-readonly we should be able to use it there (with values of true or false). Would it be possible to add the support? The error messages get in the way of finding real errors.
Small snippet:
<axf:form-field
field-type="text"
field-name="dontwritehere"
field-readonly="true"
field-flags="Hidden"
field-default-text="You can't write here!"/>
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: Antenna House FO schema doesn't allow @field-readonly in axf:form-field

Post by Radu »

Hi,

The XSL-FO with Antenna House extensions editing and validation is done in Oxygen using an add-on developed by Antenna House, I added a new issue on the project based on your report, you can watch the issue to see what the Antenna House developers have to say about it:
https://github.com/AntennaHouse/focheck/issues/45

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Simcha
Posts: 13
Joined: Wed Feb 26, 2020 5:47 pm

Re: Antenna House FO schema doesn't allow @field-readonly in axf:form-field

Post by Simcha »

Thanks, Radu! Sounds like they've now fixed it for a future version.
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: Antenna House FO schema doesn't allow @field-readonly in axf:form-field

Post by Radu »

Hi,
Right, if you right click in Oxygen inside the "<axf:form-field" tag you can use the "Go to definition" action to instruct Oxygen to open the schema used for validation, this in case you want to replicate the fix Tony Graham made in your local copy of the RNG schema used for XSL-FO editing.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply