You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried using the sample code and XML that you provided, and get the above-refernced TypeError.
Here's the traceback:
/home/NTE/dmuth/local/lib/node/node-xml2object/lib/xml2object.js:80
callback(null, obj);
^
TypeError: undefined is not a function
at CALL_NON_FUNCTION (native)
at [object Object].onEndElementNS (/home/NTE/dmuth/local/lib/node/node-xml2object/lib/xml2object.js:80:5)
at [object Object]._fireEvent (/home/NTE/dmuth/local/lib/node/node-xml2object/vendor/node-xml/lib/node-xml.js:952:21)
at [object Object]._parseLoop (/home/NTE/dmuth/local/lib/node/node-xml2object/vendor/node-xml/lib/node-xml.js:985:18)
at Timer.callback (/home/NTE/dmuth/local/lib/node/node-xml2object/vendor/node-xml/lib/node-xml.js:822:18)
at node.js:761:9
I played around with the XML I was feeding to parseString() and found that the issue persists with any XML at all, such as: "<root></root>"
Since this appears to be some issue with how node-xml is interacted with, I am using commit 4aee901b997ef784716c8de799d27292eb18e099 of the node-xml project.
Let me know if there's any other info I can provide.
Thanks,
-- Doug
The text was updated successfully, but these errors were encountered:
Hi,
I tried using the sample code and XML that you provided, and get the above-refernced TypeError.
Here's the traceback:
/home/NTE/dmuth/local/lib/node/node-xml2object/lib/xml2object.js:80
callback(null, obj);
^
TypeError: undefined is not a function
at CALL_NON_FUNCTION (native)
at [object Object].onEndElementNS (/home/NTE/dmuth/local/lib/node/node-xml2object/lib/xml2object.js:80:5)
at [object Object]._fireEvent (/home/NTE/dmuth/local/lib/node/node-xml2object/vendor/node-xml/lib/node-xml.js:952:21)
at [object Object]._parseLoop (/home/NTE/dmuth/local/lib/node/node-xml2object/vendor/node-xml/lib/node-xml.js:985:18)
at Timer.callback (/home/NTE/dmuth/local/lib/node/node-xml2object/vendor/node-xml/lib/node-xml.js:822:18)
at node.js:761:9
I played around with the XML I was feeding to parseString() and found that the issue persists with any XML at all, such as: "<root></root>"
Since this appears to be some issue with how node-xml is interacted with, I am using commit 4aee901b997ef784716c8de799d27292eb18e099 of the node-xml project.
Let me know if there's any other info I can provide.
Thanks,
-- Doug
The text was updated successfully, but these errors were encountered: