albanm / node-libxml-xsd

XSD validation for node.js using libxml.
70 stars 28 forks source link

Removed warning messages when loading XSD #7

Closed psotres closed 8 years ago

psotres commented 8 years ago

When you load and already loaded schema (or an schema with a dependency already loaded), it prints a warning message on the stdout (it's part of libxml, so it can be controlled with node).

test2.xsd:3: element import: Schemas parser warning : Element '{http://www.w3.org/2001/XMLSchema}import': Skipping import of schema located at 'test.xsd' for the namespace '(null)', since this namespace was already imported with the schema located at 'in_memory_buffer'.

This pull request removes those warnings

albanm commented 8 years ago

Ok, thanks.

psotres commented 8 years ago

Could you please release a new minor version on npm including those changes?. Thanks

albanm commented 8 years ago

I already did it just after merging, cf https://github.com/albanm/node-libxml-xsd/releases/tag/v0.5.1

psotres commented 8 years ago

If I'm not wrong that tag seems to be from before the merging

albanm commented 8 years ago

Sorry, I misread !

albanm commented 8 years ago

Done.