I am trying to find a library that can be used to validate an XML against a XSD schema file. Since the project is written in Typescript I searched for a JS / TS lib. I found only libraries like this one here:
https://www.npmjs.com/package/xsd-schema-validator
I am not sure if I want to use libraries like this in my production environment. The production scenario needs to handle a lot of request where this functionality (validating XML against XSD) will be triggered a lot of times. Coming from Java I am used to established libraries like the onse from apache or language build in functionality.
The project is a serverless AWS project, so I want to use AWS lambdas to achieve this. I am aware that I could write a JAVA lambda which would do the job. In this case I would have to work myself around the cold start problem with tools like snapstart. But for now I would like to know how TS / JS projects handle XSD validations. Is it legit to use libraries like the one mentioned above? Did I just not search properly and missed a fitting lib?
Best regards Aleks
My expectation would be sharing experience from other projects that had similar problems.