Validating XML against XSD

cancel
Showing results for 
Search instead for 
Did you mean: 
miroslav
Customer

Validating XML against XSD

Jump to solution

Hello,

is there a way in Alfresco Community 6 to validate embedded XML against their XSD definition?

Thank you.

1 Solution

Accepted Solutions
abhinavmishra14
Advanced

Re: Validating XML against XSD

Jump to solution

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

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

View solution in original post

1 Reply
abhinavmishra14
Advanced

Re: Validating XML against XSD

Jump to solution

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

~Abhinav
(ACSCE, AWS SAA, Azure Admin)