{"action":"created","issue":{"url":"https://api.github.com/repos/neild/py-dom-xpath/issues/5","labels_url":"https://api.github.com/repos/neild/py-dom-xpath/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/neild/py-dom-xpath/issues/5/comments","events_url":"https://api.github.com/repos/neild/py-dom-xpath/issues/5/events","html_url":"https://github.com/neild/py-dom-xpath/issues/5","id":58260010,"number":5,"title":"Can't parse xml file in python2.7","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neild/py-dom-xpath/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/neild/py-dom-xpath/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/neild/py-dom-xpath/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-19T19:56:47Z","updated_at":"2015-02-19T19:56:47Z","closed_at":null,"body":"```\npython2.7\n\nimport xpath\nfrom xml.dom import minidom\n\nxml = \nminidom.parseString(\"<Rerservations><Rerservation><endDate>2011-03-15T11:00:00+0\n8:00</endDate></Rerservation></Rerservations>\")\nxpath.find(xml,\"/Reservations/endDate\")\n\n\nTraceback (most recent call last):\n  File \"<pyshell#8>\", line 1, in <module>\n    xpath.find(xml,\"/Reservations/Reservation/endDate\")\n  File \"C:\\Python27\\lib\\site-packages\\xpath\\__init__.py\", line 23, in api_function\n    raise e\nXPathParseError: Syntax error:\n<xml.dom.minidom.Document instance at 0x014A53C8>\n^\n\n\n\n\n```\n\n-----\nOriginal issue reported on code.google.com by `muden...@gmail.com` on 14 Mar 2011 at 6:45"},"comment":{"url":"https://api.github.com/repos/neild/py-dom-xpath/issues/comments/75124016","html_url":"https://github.com/neild/py-dom-xpath/issues/5#issuecomment-75124016","issue_url":"https://api.github.com/repos/neild/py-dom-xpath/issues/5","id":75124016,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T19:56:47Z","updated_at":"2015-02-19T19:56:47Z","body":"```\ndoes your comment mean this isn’t an issue or was it simply a typo and the \nmodule does indeed not work under python 2.7?\n\nafaik this is the only python xpath implementation with painless namespace \nsupport (wildcards and default namespace), so i will need it.\n```\n\n-----\nOriginal comment by `trueflyi...@gmail.com` on 7 Apr 2011 at 1:01"}}