Update the valid elements shown in the suggestion list
Posted: Wed Nov 01, 2023 10:11 am
Hi,
I need to update which elements are shown as valid in the suggestion list: I don't want to touch or modify the current DTDs or the schema, Is there a way to do this by evaluating a Schematron file or an xml?
One of the solutions that I have tried is to include the Schematron file to evaluate from the document type association, but it doesn't change the suggestion list; it includes the error message and shows the element as invalid once the element has been included. From the Java classes, I'm not sure if I need to modify the SchemaManager or the contentAsistant, and how to do it to get the suggestion list updated.
Please let me know if you have any doubt or question.
Thanks & Regards,
I need to update which elements are shown as valid in the suggestion list: I don't want to touch or modify the current DTDs or the schema, Is there a way to do this by evaluating a Schematron file or an xml?
One of the solutions that I have tried is to include the Schematron file to evaluate from the document type association, but it doesn't change the suggestion list; it includes the error message and shows the element as invalid once the element has been included. From the Java classes, I'm not sure if I need to modify the SchemaManager or the contentAsistant, and how to do it to get the suggestion list updated.
Please let me know if you have any doubt or question.
Thanks & Regards,