{"action":"created","issue":{"url":"https://api.github.com/repos/vespa/semantic-schema-parser/issues/4","labels_url":"https://api.github.com/repos/vespa/semantic-schema-parser/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/vespa/semantic-schema-parser/issues/4/comments","events_url":"https://api.github.com/repos/vespa/semantic-schema-parser/issues/4/events","html_url":"https://github.com/vespa/semantic-schema-parser/issues/4","id":85088665,"number":4,"title":"Node.js: Callback Does Not Get Call Until Abortion","user":{"login":"infty-","id":3404131,"avatar_url":"https://avatars.githubusercontent.com/u/3404131?v=3","gravatar_id":"","url":"https://api.github.com/users/infty-","html_url":"https://github.com/infty-","followers_url":"https://api.github.com/users/infty-/followers","following_url":"https://api.github.com/users/infty-/following{/other_user}","gists_url":"https://api.github.com/users/infty-/gists{/gist_id}","starred_url":"https://api.github.com/users/infty-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infty-/subscriptions","organizations_url":"https://api.github.com/users/infty-/orgs","repos_url":"https://api.github.com/users/infty-/repos","events_url":"https://api.github.com/users/infty-/events{/privacy}","received_events_url":"https://api.github.com/users/infty-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-04T12:59:06Z","updated_at":"2015-06-08T14:26:17Z","closed_at":null,"body":"## Specs\r\nNode version: `v0.10.33`\r\n\r\n## Sample\r\n\r\n    var sm = require(\"semantic-schema-parser\");\r\n\r\n    // src = source code of http://lakim.bandcamp.com/album/remixes (as an example)\r\n\r\n    console.log('--sm start');\r\n    sm.parseContent(src, function (msg) {\r\n       console.log('--sm callback');\r\n       console.log(JSON.stringify(msg));\r\n       console.log('\\n');\r\n    });\r\n    console.log('--sm after call');\r\n\r\nOutputs:\r\n\r\n    --sm start\r\n    searching for microdata\r\n    {{cursor keeps blinking at this position}}\r\n\r\nThe JSON output (from `console.log(JSON.stringify(msg));`) doesn't get written to `stdout` until I abort the programm using `^C`. \r\n\r\n## Bottom Line\r\nAny idea why this could happen? (If there's still somethings unclear about the circumstances in which the problem occurs, please ask.)\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/vespa/semantic-schema-parser/issues/comments/110013488","html_url":"https://github.com/vespa/semantic-schema-parser/issues/4#issuecomment-110013488","issue_url":"https://api.github.com/repos/vespa/semantic-schema-parser/issues/4","id":110013488,"user":{"login":"vespa","id":604681,"avatar_url":"https://avatars.githubusercontent.com/u/604681?v=3","gravatar_id":"","url":"https://api.github.com/users/vespa","html_url":"https://github.com/vespa","followers_url":"https://api.github.com/users/vespa/followers","following_url":"https://api.github.com/users/vespa/following{/other_user}","gists_url":"https://api.github.com/users/vespa/gists{/gist_id}","starred_url":"https://api.github.com/users/vespa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vespa/subscriptions","organizations_url":"https://api.github.com/users/vespa/orgs","repos_url":"https://api.github.com/users/vespa/repos","events_url":"https://api.github.com/users/vespa/events{/privacy}","received_events_url":"https://api.github.com/users/vespa/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T14:26:17Z","updated_at":"2015-06-08T14:26:17Z","body":"I'll check that. \r\n\r\nAre you using the original source code or the rendered at your test? Maybe some malformed HTML is crashing the process. \r\n"}}