{"action":"created","issue":{"url":"https://api.github.com/repos/eXist-db/exist/issues/688","labels_url":"https://api.github.com/repos/eXist-db/exist/issues/688/labels{/name}","comments_url":"https://api.github.com/repos/eXist-db/exist/issues/688/comments","events_url":"https://api.github.com/repos/eXist-db/exist/issues/688/events","html_url":"https://github.com/eXist-db/exist/issues/688","id":90071660,"number":688,"title":"xml-to-json does not escape properly","user":{"login":"JonathanRowell","id":11887139,"avatar_url":"https://avatars.githubusercontent.com/u/11887139?v=3","gravatar_id":"","url":"https://api.github.com/users/JonathanRowell","html_url":"https://github.com/JonathanRowell","followers_url":"https://api.github.com/users/JonathanRowell/followers","following_url":"https://api.github.com/users/JonathanRowell/following{/other_user}","gists_url":"https://api.github.com/users/JonathanRowell/gists{/gist_id}","starred_url":"https://api.github.com/users/JonathanRowell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonathanRowell/subscriptions","organizations_url":"https://api.github.com/users/JonathanRowell/orgs","repos_url":"https://api.github.com/users/JonathanRowell/repos","events_url":"https://api.github.com/users/JonathanRowell/events{/privacy}","received_events_url":"https://api.github.com/users/JonathanRowell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-22T11:12:39Z","updated_at":"2015-07-03T16:18:05Z","closed_at":null,"body":"import module namespace json = \"http://www.json.org\";\r\n\r\nlet $jrData := json:xml-to-json($result)\r\n\r\n<result>\r\n<Description>\r\n<title>Alla turca </title>\r\n<type>Sachbücher</type>\r\n<date>1951</date>\r\n<description>Sonate KV 331 mit dem 3. Satz \"Alla turca\".</description>\r\n</Description>\r\n</result>\r\n\r\n<jrData>\r\n{\"title\" : \"Alla turca \", \"type\" : \"Sachbücher\", \"date\" : \"1951\",\r\n\"description\" : \"Sonate KV 331 mit dem 3. Satz \"Alla turca\".\"}\r\n</jrData>\r\n\r\n As one can see, the function xml-to-json ought to have escaped the double quotes in the data with a backslash."},"comment":{"url":"https://api.github.com/repos/eXist-db/exist/issues/comments/118385935","html_url":"https://github.com/eXist-db/exist/issues/688#issuecomment-118385935","issue_url":"https://api.github.com/repos/eXist-db/exist/issues/688","id":118385935,"user":{"login":"adamretter","id":1264057,"avatar_url":"https://avatars.githubusercontent.com/u/1264057?v=3","gravatar_id":"","url":"https://api.github.com/users/adamretter","html_url":"https://github.com/adamretter","followers_url":"https://api.github.com/users/adamretter/followers","following_url":"https://api.github.com/users/adamretter/following{/other_user}","gists_url":"https://api.github.com/users/adamretter/gists{/gist_id}","starred_url":"https://api.github.com/users/adamretter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamretter/subscriptions","organizations_url":"https://api.github.com/users/adamretter/orgs","repos_url":"https://api.github.com/users/adamretter/repos","events_url":"https://api.github.com/users/adamretter/events{/privacy}","received_events_url":"https://api.github.com/users/adamretter/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T16:18:05Z","updated_at":"2015-07-03T16:18:05Z","body":"@wolfgangmm I agree, can we remove those old modules?"}}