evanderkoogh / node-sitemap-stream-parser

A streaming parser for sitemap files. Is able to deal with deeply nested sitemaps with 100+ million urls in them.
Apache License 2.0
38 stars 18 forks source link

Enable strict mode for the SAX parser #32

Open leonty opened 4 years ago

leonty commented 4 years ago

Please enable the strict mode for the SAX parser. Else the error handler is useless, no error arise even with invalid sml. This line: parserStream = sax.createStream false,