Leonidas-from-XIV / node-xml2js

XML to JavaScript object converter.
MIT License
4.9k stars 606 forks source link

Data Type issues #708

Open a2937 opened 3 months ago

a2937 commented 3 months ago

Hi there. When converting a XML object, all my numbers become stored as strings. As for my actual strings, those become arrays where the string value I want is buried at index 0 inside of an array. This is a little obnoxious and doesn't seem like proper behavior.

a2937 commented 2 months ago

If equ = assert.equal is replaced with equ = assert.strictEqual in processors.test.coffee , you'd be able to see my errors.