Comparing version 0.4.3 to 0.4.4
@@ -243,2 +243,3 @@ // Generated by CoffeeScript 1.7.1 | ||
})(this); | ||
this.saxParser.ended = false; | ||
this.EXPLICIT_CHARKEY = this.options.explicitCharkey; | ||
@@ -347,2 +348,3 @@ this.resultObject = null; | ||
_this.resultObject = obj; | ||
_this.saxParser.ended = true; | ||
return _this.emit("end", _this.resultObject); | ||
@@ -406,3 +408,3 @@ } | ||
err = _error; | ||
if (!this.saxParser.errThrown) { | ||
if (!(this.saxParser.errThrown || this.saxParser.ended)) { | ||
this.emit('error', err); | ||
@@ -409,0 +411,0 @@ return this.saxParser.errThrown = true; |
@@ -6,3 +6,3 @@ { | ||
"homepage" : "https://github.com/Leonidas-from-XIV/node-xml2js", | ||
"version" : "0.4.3", | ||
"version" : "0.4.4", | ||
"author" : "Marek Kubica <marek@xivilization.net> (http://xivilization.net)", | ||
@@ -34,3 +34,4 @@ "contributors" : [ | ||
"Todd Bryan (https://github.com/toddrbryan)", | ||
"Leore Avidar <leore.avidar@gmail.com> (http://leoreavidar.com/)" | ||
"Leore Avidar <leore.avidar@gmail.com> (http://leoreavidar.com/)", | ||
"Dave Aitken <dave.aitken@gmail.com> (http://www.actionshrimp.com/)" | ||
], | ||
@@ -37,0 +38,0 @@ "main" : "./lib/xml2js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
102315
464