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

Use of Java Incompatible with AWS Lambda #20

Closed shellscape closed 4 years ago

shellscape commented 4 years ago

Because of the use of java with XMLValidator.java, this package cannot be used in a Node Lambda environment. There's not much else to report on this. Please consider using something other than a java file within this Node package.

nikku commented 4 years ago

The description of this library clearly states the dependency:

A (XSD) schema validator for NodeJS that uses Java to perform the actual validation.

Please consider using another library that does the job for you in that specific environment.

Or be constructive and contribute an alternative, non-Java version.

Thanks!

shellscape commented 4 years ago

Or be constructive

Haha nice. Not after that comment my friend.

nikku commented 4 years ago

To give you a few pointers why this cannot be accomplished easily, using NodeJS only can be found in the why section.

This library aims to be a complete schema validation solution and priorizes that over being a NodeJS only solution.