11-09-2020 07:35 AM
Hello,
is there a way in Alfresco Community 6 to validate embedded XML against their XSD definition?
Thank you.
11-09-2020 11:37 AM
Not sure about embeded xml (i assume you mean by a file node in repo) , but if you are looking for xml validation against an xsd then answer is No.
But you can use java api (javax.xml) and validate XMLs.
You can find examples here: https://www.tutorialspoint.com/xsd/xsd_validation.htm
https://www.journaldev.com/895/how-to-validate-xml-against-xsd-in-java
11-09-2020 11:37 AM
Not sure about embeded xml (i assume you mean by a file node in repo) , but if you are looking for xml validation against an xsd then answer is No.
But you can use java api (javax.xml) and validate XMLs.
You can find examples here: https://www.tutorialspoint.com/xsd/xsd_validation.htm
https://www.journaldev.com/895/how-to-validate-xml-against-xsd-in-java
Explore our Alfresco products with the links below. Use labels to filter content by product module.