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

Add explicit support for Buffer. #13

Closed ajkerr closed 7 years ago

ajkerr commented 7 years ago

Also, error out (rather than hang because of no stdin) for unsupported types. Also, adjust tests to use toBeTruthy() instead of toBeDefined() so that null is correctly dealt with.

Fixes #12.