nikku / node-xsd-schema-validator

A schema (XSD) validator for NodeJS
https://www.npmjs.com/package/xsd-schema-validator
MIT License
51 stars 24 forks source link

Async Support #32

Closed jesusdruizb closed 8 months ago

jesusdruizb commented 1 year ago

I am building a test framework that works asynchronously and it would be ideal to use this library since is so far the one that produces the most accurate and helpful results when validating and XML against an XSD.

Would an async implementation be considered?

Tried passing done as a parameter and while it works it breaks the framework in other ways.

This for sure will be helpful to many others.

nikku commented 1 year ago

Happy to take a contribution that moves this to modern JavaScript (ditching the done callback completely)!