Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

TypeError: Cannot read property 'length' of undefined #43

Open
jbeard4 opened this issue Jan 21, 2018 · 1 comment
Open

TypeError: Cannot read property 'length' of undefined #43

jbeard4 opened this issue Jan 21, 2018 · 1 comment

Comments

@jbeard4
Copy link

jbeard4 commented Jan 21, 2018

Error occurs in xsdParser.coffee L79 on the following xml schema: https://www.w3.org/2011/04/SCXML/scxml.xsd

This line attempts to iterate through xml.element, which is undefined.

@jbeard4
Copy link
Author

jbeard4 commented Jan 21, 2018

I found that this is happening because scxml.xsd includes other source maps using xsd:include, and does not include an xsd:element in the scxml.xsd document. I assume that xsd:include is not currently supported by atom-autocomplete-xml, thus xml.element is undefined.

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

No branches or pull requests

1 participant