Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error parsing coments out of XML scope #27

Closed
ascher opened this issue Dec 17, 2015 · 2 comments
Closed

Error parsing coments out of XML scope #27

ascher opened this issue Dec 17, 2015 · 2 comments

Comments

@ascher
Copy link

ascher commented Dec 17, 2015

Create any valid XML, then after the last line, insert a comment :
it'll crash with :
services/node_modules/xmldoc/lib/xmldoc.js:224
function parser_text() { delegates[0]._text.apply(delegates[0],arguments) }
^

TypeError: Cannot read property '_text' of undefined

Comments inside the XML doc won't generate this error.

@dsincl12
Copy link

Put this tag at the end of an XML document and you will get the same error as well (from Arbortext, Inc., 1988-2008, v.4002).

@nfarina
Copy link
Owner

nfarina commented Apr 25, 2016

Thanks! I can reproduce this - working on a fix now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants