Code Monkey home page Code Monkey logo

node-xml2object's People

Contributors

fjakobs avatar kyleslattery avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

node-xml2object's Issues

TypeError: undefined is not a function

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

Unsupported Arch ia32

Hi, this seems to be the same issue that showed up in Apricot and was fixed as #21. So I'm using 'npm install' on Ubuntu 12.04 and I get this error:

npm WARN engine [email protected]: wanted: {"node":"~0.6.10"} (current: {"node":"v0.8.18","npm":"1.2.2"})
npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your operating system or architecture: [email protected]
npm ERR! notsup Valid OS: linux,macos,darwin,win
npm ERR! notsup Valid Arch: x86,ppc,x86_64,x64
npm ERR! notsup Actual OS: linux
npm ERR! notsup Actual Arch: ia32

npm ERR! System Linux 3.2.0-36-generic-pae
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /usr/local/src/netentionjs2
npm ERR! node -v v0.8.18
npm ERR! npm -v 1.2.2
npm ERR! code EBADPLATFORM

Error: Promise has been removed.

I tried running the tests, and all fail due to the title message.

Is there another library to accomplish xml2obj translation? I mean, Promise was removed in 0.1.30 (we're at 0.1.96)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.