{"action":"created","issue":{"url":"https://api.github.com/repos/charto/cxsd/issues/8","repository_url":"https://api.github.com/repos/charto/cxsd","labels_url":"https://api.github.com/repos/charto/cxsd/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/charto/cxsd/issues/8/comments","events_url":"https://api.github.com/repos/charto/cxsd/issues/8/events","html_url":"https://github.com/charto/cxsd/issues/8","id":158149613,"number":8,"title":"strange parsing error","user":{"login":"geoHeil","id":1694964,"avatar_url":"https://avatars.githubusercontent.com/u/1694964?v=3","gravatar_id":"","url":"https://api.github.com/users/geoHeil","html_url":"https://github.com/geoHeil","followers_url":"https://api.github.com/users/geoHeil/followers","following_url":"https://api.github.com/users/geoHeil/following{/other_user}","gists_url":"https://api.github.com/users/geoHeil/gists{/gist_id}","starred_url":"https://api.github.com/users/geoHeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoHeil/subscriptions","organizations_url":"https://api.github.com/users/geoHeil/orgs","repos_url":"https://api.github.com/users/geoHeil/repos","events_url":"https://api.github.com/users/geoHeil/events{/privacy}","received_events_url":"https://api.github.com/users/geoHeil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-02T14:07:19Z","updated_at":"2016-06-02T14:29:22Z","closed_at":null,"body":"Trying to parse the following xsd (which validates fine) results in a strange error.\r\n--> the example of `npm run cxsd http://schemas.opengis.net/wfs/1.1.0/wfs.xsd` works just fine.\r\n\r\nHere the xsd:\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\r\n<xs:schema version=\"1.0\" xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" vc:minVersion=\"1.1\"\r\n  xmlns:vc=\"http://www.w3.org/2007/XMLSchema-versioning\">\r\n  <xs:element name=\"myElem\" type=\"myElem\"/>\r\n  <xs:complexType name=\"myElem\">\r\n    <xs:sequence>\r\n      <xs:element name=\"geburtsdatum\" type=\"xs:date\" minOccurs=\"0\"/>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n</xs:schema>\r\n```\r\n\r\n\r\nhere the error:\r\n```\r\nverbose cli   'run',\r\n1 verbose cli   'cxdd',\r\n1 verbose cli   'vaas_kfz_berechnung.xsd' ]\r\n2 info using npm@2.15.5\r\n3 info using node@v4.4.5\r\n4 verbose run-script [ 'precxsd', 'cxsd', 'postcxsd' ]\r\n5 info precxsd @\r\n6 info cxdd @\r\n7 verbose unsafe-perm in lifecycle true\r\n8 info @ Failed to exec cxdd script\r\n9 verbose stack Error: @ cxsd: `cxdd \"filename.xsd\"`\r\n9 verbose stack Exit status 1\r\n9 verbose stack     at EventEmitter.<anonymous> (/Users/geoHeil/.nvm/versions/node/v4.4.5/lib/node_modules/npm/lib/utils/lifecycle.js:217:16)\r\n9 verbose stack     at emitTwo (events.js:87:13)\r\n9 verbose stack     at EventEmitter.emit (events.js:172:7)\r\n9 verbose stack     at ChildProcess.<anonymous> (/Users/geoHeil/.nvm/versions/node/v4.4.5/lib/node_modules/npm/lib/utils/spawn.js:24:14)\r\n9 verbose stack     at emitTwo (events.js:87:13)\r\n9 verbose stack     at ChildProcess.emit (events.js:172:7)\r\n9 verbose stack     at maybeClose (internal/child_process.js:827:16)\r\n9 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)\r\n10 verbose pkgid @\r\n11 verbose cwd /path/to/folder\r\n12 error Darwin 15.5.0\r\n13 error argv \"/Users/geoHeil/.nvm/versions/node/v4.4.5/bin/node\" \"/Users/geoHeil/.nvm/versions/node/v4.4.5/bin/npm\" \"run\" \"cxsd\" \"filename.xsd\"\r\n14 error node v4.4.5\r\n15 error nam  v2.15.5\r\n16 error code LIFECYCLE\r\n17 error @ cxsd: `cxdd \"filename.xsd\"`\r\n17 error Exit status 1\r\n```"},"comment":{"url":"https://api.github.com/repos/charto/cxsd/issues/comments/223309200","html_url":"https://github.com/charto/cxsd/issues/8#issuecomment-223309200","issue_url":"https://api.github.com/repos/charto/cxsd/issues/8","id":223309200,"user":{"login":"jjrv","id":778781,"avatar_url":"https://avatars.githubusercontent.com/u/778781?v=3","gravatar_id":"","url":"https://api.github.com/users/jjrv","html_url":"https://github.com/jjrv","followers_url":"https://api.github.com/users/jjrv/followers","following_url":"https://api.github.com/users/jjrv/following{/other_user}","gists_url":"https://api.github.com/users/jjrv/gists{/gist_id}","starred_url":"https://api.github.com/users/jjrv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjrv/subscriptions","organizations_url":"https://api.github.com/users/jjrv/orgs","repos_url":"https://api.github.com/users/jjrv/repos","events_url":"https://api.github.com/users/jjrv/events{/privacy}","received_events_url":"https://api.github.com/users/jjrv/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T14:29:22Z","updated_at":"2016-06-02T14:29:22Z","body":"It seems you ran the command `cxdd` instead of `cxsd`.\r\n"}}
{"actor":{"display_login":"jjrv"}}