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

Strange case of XML linting #1307

Closed
jasssonpet opened this issue Dec 3, 2015 · 3 comments
Closed

Strange case of XML linting #1307

jasssonpet opened this issue Dec 3, 2015 · 3 comments
Assignees
Labels
Milestone

Comments

@jasssonpet
Copy link
Contributor

I'm testing the just released XML error reporting (#1272) and it looks really nice, but I stumbled on an edge case with a malformed XML file:

<Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="pageLoaded">
  <StackLayout>
    <Label text="Tap the button" class="title"/>
    <Button text="TAP" tap="{{ tapAction }}" />
    <Label text="{{ message }}" class="message" textWrap="true"/>
  </StackLayout>
</Page

Here the closing > at the end is missing.

When I execute a tns prepare ios command, the CLI just hangs in what seems to be an infinite loop and there is no way to stop it (CTRL+C not doing it).

Every other kind of error got reported just fine, but this was the first thing I tried to do and it was a bit confusing 😸

After a couple of minutes the following appears:

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory
[1]    52930 abort      tns prepare ios

Environment:
OS X: 10.10
CLI: 1.5.1
Node: 0.12.7
NPM: 2.11.3
Xcode: 7.0

@teobugslayer
Copy link
Contributor

Confirmed. Logged as jindw/xmldom#139 and jindw/xmldom#142 upstream.

@jindw
Copy link

jindw commented Jan 10, 2016

fixed!

thanks

@jasssonpet
Copy link
Contributor Author

👍

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

No branches or pull requests

5 participants