{"action":"created","issue":{"url":"https://api.github.com/repos/obspy/obspy/issues/2090","repository_url":"https://api.github.com/repos/obspy/obspy","labels_url":"https://api.github.com/repos/obspy/obspy/issues/2090/labels{/name}","comments_url":"https://api.github.com/repos/obspy/obspy/issues/2090/comments","events_url":"https://api.github.com/repos/obspy/obspy/issues/2090/events","html_url":"https://github.com/obspy/obspy/issues/2090","id":306642314,"number":2090,"title":"Invalid resource identifier for QuakeML produced by SC3","user":{"login":"claudiodsf","id":1390993,"avatar_url":"https://avatars0.githubusercontent.com/u/1390993?v=4","gravatar_id":"","url":"https://api.github.com/users/claudiodsf","html_url":"https://github.com/claudiodsf","followers_url":"https://api.github.com/users/claudiodsf/followers","following_url":"https://api.github.com/users/claudiodsf/following{/other_user}","gists_url":"https://api.github.com/users/claudiodsf/gists{/gist_id}","starred_url":"https://api.github.com/users/claudiodsf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudiodsf/subscriptions","organizations_url":"https://api.github.com/users/claudiodsf/orgs","repos_url":"https://api.github.com/users/claudiodsf/repos","events_url":"https://api.github.com/users/claudiodsf/events{/privacy}","received_events_url":"https://api.github.com/users/claudiodsf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-19T21:26:14Z","updated_at":"2018-03-20T07:02:43Z","closed_at":null,"author_association":"MEMBER","body":"This is a follow-up of the [discussion](https://lists.swapbytes.de/archives/obspy-users/2018-March/002702.html) in the mailing list, which I report here:\r\n\r\nThe attached QuakeML file ([ipgp2016afqtcu.xml.gz](https://github.com/obspy/obspy/files/1827019/ipgp2016afqtcu.xml.gz)) has been produced by SeisComP3.\r\n\r\nIt is correctly read by `read_events()`, but when trying to write it back to disk, I get the following error:\r\n\r\n```python\r\nValueError: The id 'smi:org.gfz-potsdam.de/geofon/RMHP(60)>>ITAPER(3)>>BW(4,5,15)' is not a valid QuakeML resource identifier.\r\n```\r\n\r\nThis is related to the presence of the sign `>` which is encoded in the original xml file as `&gt;` but gets decoded as `>`.\r\n\r\nThis symbol is part of the SeisComP3 filter grammar: https://www.seiscomp3.org/doc/jakarta/2015.040/base/filter-grammar.html\r\n\r\nI think that, as long as this symbol is not decoded from its HTML representation, it should be acceptable. \r\n\r\nSo my impression is that this is an ObsPy bug. "},"comment":{"url":"https://api.github.com/repos/obspy/obspy/issues/comments/374496096","html_url":"https://github.com/obspy/obspy/issues/2090#issuecomment-374496096","issue_url":"https://api.github.com/repos/obspy/obspy/issues/2090","id":374496096,"user":{"login":"megies","id":1842780,"avatar_url":"https://avatars1.githubusercontent.com/u/1842780?v=4","gravatar_id":"","url":"https://api.github.com/users/megies","html_url":"https://github.com/megies","followers_url":"https://api.github.com/users/megies/followers","following_url":"https://api.github.com/users/megies/following{/other_user}","gists_url":"https://api.github.com/users/megies/gists{/gist_id}","starred_url":"https://api.github.com/users/megies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megies/subscriptions","organizations_url":"https://api.github.com/users/megies/orgs","repos_url":"https://api.github.com/users/megies/repos","events_url":"https://api.github.com/users/megies/events{/privacy}","received_events_url":"https://api.github.com/users/megies/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T07:02:43Z","updated_at":"2018-03-20T07:02:43Z","author_association":"OWNER","body":"See also #1872"}}
{"actor":{"display_login":"megies"}}