
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
(ACSCE, AWS SAA, Azure Admin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
(ACSCE, AWS SAA, Azure Admin)
