{"action":"created","issue":{"url":"https://api.github.com/repos/greenplum-db/gpdb/issues/550","repository_url":"https://api.github.com/repos/greenplum-db/gpdb","labels_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/550/labels{/name}","comments_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/550/comments","events_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/550/events","html_url":"https://github.com/greenplum-db/gpdb/issues/550","id":142054313,"number":550,"title":"XML regression tests fail","user":{"login":"andreasscherbaum","id":1191463,"avatar_url":"https://avatars.githubusercontent.com/u/1191463?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasscherbaum","html_url":"https://github.com/andreasscherbaum","followers_url":"https://api.github.com/users/andreasscherbaum/followers","following_url":"https://api.github.com/users/andreasscherbaum/following{/other_user}","gists_url":"https://api.github.com/users/andreasscherbaum/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasscherbaum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasscherbaum/subscriptions","organizations_url":"https://api.github.com/users/andreasscherbaum/orgs","repos_url":"https://api.github.com/users/andreasscherbaum/repos","events_url":"https://api.github.com/users/andreasscherbaum/events{/privacy}","received_events_url":"https://api.github.com/users/andreasscherbaum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-03-19T11:43:48Z","updated_at":"2016-03-30T01:58:22Z","closed_at":null,"body":"On my Ubuntu 15.10, the XML regression tests fail which what looks like a difference in the output:\r\n\r\n```\r\n*** ./expected/xml.out  2016-03-19 12:07:34.643253193 +0100\r\n--- ./results/xml.out   2016-03-19 12:07:34.667253298 +0100\r\n***************\r\n*** 8,15 ****\r\n  INSERT INTO xmltest VALUES (3, '<wrong');\r\n  ERROR:  invalid XML content\r\n  DETAIL:  Entity: line 1: parser error : Couldn't find end of Start Tag wrong line 1\r\n- <wrong\r\n-       ^\r\n  SELECT * FROM xmltest;\r\n   id |        data        \r\n  ----+--------------------\r\n--- 8,13 ----\r\n***************\r\n*** 62,69 ****\r\n  LINE 1: SELECT xmlconcat('bad', '<syntax');\r\n                                  ^\r\n  DETAIL:  Entity: line 1: parser error : Couldn't find end of Start Tag syntax line 1\r\n- <syntax\r\n-        ^\r\n  SELECT xmlconcat('<foo/>', NULL, '<?xml version=\"1.1\" standalone=\"no\"?><bar/>');\r\n    xmlconcat   \r\n  --------------\r\n--- 60,65 ----\r\n\r\n```\r\n\r\nExpected output is:\r\n\r\n```\r\nINSERT INTO xmltest VALUES (3, '<wrong');\r\nERROR:  invalid XML content\r\nDETAIL:  Entity: line 1: parser error : Couldn't find end of Start Tag wrong line 1\r\n<wrong\r\n      ^\r\n```\r\n\r\n\r\nActual output is:\r\n\r\n```\r\nINSERT INTO xmltest VALUES (3, '<wrong');\r\nERROR:  invalid XML content\r\nDETAIL:  Entity: line 1: parser error : Couldn't find end of Start Tag wrong line 1\r\n```\r\n\r\nThe exact position where the error occured is not emitted."},"comment":{"url":"https://api.github.com/repos/greenplum-db/gpdb/issues/comments/203190117","html_url":"https://github.com/greenplum-db/gpdb/issues/550#issuecomment-203190117","issue_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/550","id":203190117,"user":{"login":"michaelpq","id":985332,"avatar_url":"https://avatars.githubusercontent.com/u/985332?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelpq","html_url":"https://github.com/michaelpq","followers_url":"https://api.github.com/users/michaelpq/followers","following_url":"https://api.github.com/users/michaelpq/following{/other_user}","gists_url":"https://api.github.com/users/michaelpq/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelpq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelpq/subscriptions","organizations_url":"https://api.github.com/users/michaelpq/orgs","repos_url":"https://api.github.com/users/michaelpq/repos","events_url":"https://api.github.com/users/michaelpq/events{/privacy}","received_events_url":"https://api.github.com/users/michaelpq/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T01:58:22Z","updated_at":"2016-03-30T01:58:22Z","body":"pg_regress compares the result generated with all the output files presented, and checks if there is a match. If there is a match, test passes. If not, it would generate a diff using the alternate output file with the less difference."}}