-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
validateSchema is not a function #2
Comments
@zuttedr, can you provide a piece of your code? How is |
I just followed your readme import validateSchema from 'xsd-validator' // returns true for valid documents |
Can you give me a little more, like a reproducible example of your code? So far, this should simply work. |
Well, I just installed it with npm and created a js file containing this code: // returns true for valid documents I just saw that this is a package for typescript, but want to use it in a nodejs application. Could this be the cause of the problem? |
For pure javascript, try with
instead of
|
Hi @deltazero-cz , |
Hi,
I've installed the package but when i'm trying to use it, it gives an error "TypeError: validateSchema is not a function". What could be the problem?
Thanks
The text was updated successfully, but these errors were encountered: