{"action":"created","issue":{"url":"https://api.github.com/repos/dita-ot/dita-ot/issues/1950","labels_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/1950/labels{/name}","comments_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/1950/comments","events_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/1950/events","html_url":"https://github.com/dita-ot/dita-ot/pull/1950","id":90344870,"number":1950,"title":"Fix invalid FO caused by filtered simpletable #1924","user":{"login":"eerohele","id":31859,"avatar_url":"https://avatars.githubusercontent.com/u/31859?v=3","gravatar_id":"","url":"https://api.github.com/users/eerohele","html_url":"https://github.com/eerohele","followers_url":"https://api.github.com/users/eerohele/followers","following_url":"https://api.github.com/users/eerohele/following{/other_user}","gists_url":"https://api.github.com/users/eerohele/gists{/gist_id}","starred_url":"https://api.github.com/users/eerohele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eerohele/subscriptions","organizations_url":"https://api.github.com/users/eerohele/orgs","repos_url":"https://api.github.com/users/eerohele/repos","events_url":"https://api.github.com/users/eerohele/events{/privacy}","received_events_url":"https://api.github.com/users/eerohele/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dita-ot/dita-ot/labels/feature","name":"feature","color":"02e10c"},{"url":"https://api.github.com/repos/dita-ot/dita-ot/labels/P2","name":"P2","color":"e102d8"},{"url":"https://api.github.com/repos/dita-ot/dita-ot/labels/pdf","name":"pdf","color":"84b6e8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-23T10:12:21Z","updated_at":"2015-06-23T18:14:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dita-ot/dita-ot/pulls/1950","html_url":"https://github.com/dita-ot/dita-ot/pull/1950","diff_url":"https://github.com/dita-ot/dita-ot/pull/1950.diff","patch_url":"https://github.com/dita-ot/dita-ot/pull/1950.patch"},"body":"If all `<strow>` elements are filtered out of a `<simpletable>` element, the FO file has an empty `<fo:table-body/>` element, which is invalid.\r\n\r\nAdding the requisite descendant elements of `<fo:table-body>` fixes the issue."},"comment":{"url":"https://api.github.com/repos/dita-ot/dita-ot/issues/comments/114594942","html_url":"https://github.com/dita-ot/dita-ot/pull/1950#issuecomment-114594942","issue_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/1950","id":114594942,"user":{"login":"robander","id":1649639,"avatar_url":"https://avatars.githubusercontent.com/u/1649639?v=3","gravatar_id":"","url":"https://api.github.com/users/robander","html_url":"https://github.com/robander","followers_url":"https://api.github.com/users/robander/followers","following_url":"https://api.github.com/users/robander/following{/other_user}","gists_url":"https://api.github.com/users/robander/gists{/gist_id}","starred_url":"https://api.github.com/users/robander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robander/subscriptions","organizations_url":"https://api.github.com/users/robander/orgs","repos_url":"https://api.github.com/users/robander/repos","events_url":"https://api.github.com/users/robander/events{/privacy}","received_events_url":"https://api.github.com/users/robander/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T18:14:06Z","updated_at":"2015-06-23T18:14:06Z","body":"@jelovirt I agree, preference would be to remove the table if there is no authored content. If it has a `<sthead>` header row in the source, but body rows are missing or filtered out, I'd still want the header row to appear since we have no idea what is there.\r\n\r\nAnd yes, the awkward wording is explicitly to address the case of generated headings, where I would not want the generated headings to appear above empty content."}}