{"action":"created","issue":{"url":"https://api.github.com/repos/IDPF/epubcheck/issues/622","labels_url":"https://api.github.com/repos/IDPF/epubcheck/issues/622/labels{/name}","comments_url":"https://api.github.com/repos/IDPF/epubcheck/issues/622/comments","events_url":"https://api.github.com/repos/IDPF/epubcheck/issues/622/events","html_url":"https://github.com/IDPF/epubcheck/issues/622","id":110616804,"number":622,"title":"Incorrect error reported by Schematron when validating HTML5 table","user":{"login":"raducoravu","id":1005979,"avatar_url":"https://avatars.githubusercontent.com/u/1005979?v=3","gravatar_id":"","url":"https://api.github.com/users/raducoravu","html_url":"https://github.com/raducoravu","followers_url":"https://api.github.com/users/raducoravu/followers","following_url":"https://api.github.com/users/raducoravu/following{/other_user}","gists_url":"https://api.github.com/users/raducoravu/gists{/gist_id}","starred_url":"https://api.github.com/users/raducoravu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raducoravu/subscriptions","organizations_url":"https://api.github.com/users/raducoravu/orgs","repos_url":"https://api.github.com/users/raducoravu/repos","events_url":"https://api.github.com/users/raducoravu/events{/privacy}","received_events_url":"https://api.github.com/users/raducoravu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"rdeltour","id":520889,"avatar_url":"https://avatars.githubusercontent.com/u/520889?v=3","gravatar_id":"","url":"https://api.github.com/users/rdeltour","html_url":"https://github.com/rdeltour","followers_url":"https://api.github.com/users/rdeltour/followers","following_url":"https://api.github.com/users/rdeltour/following{/other_user}","gists_url":"https://api.github.com/users/rdeltour/gists{/gist_id}","starred_url":"https://api.github.com/users/rdeltour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdeltour/subscriptions","organizations_url":"https://api.github.com/users/rdeltour/orgs","repos_url":"https://api.github.com/users/rdeltour/repos","events_url":"https://api.github.com/users/rdeltour/events{/privacy}","received_events_url":"https://api.github.com/users/rdeltour/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/IDPF/epubcheck/milestones/4","html_url":"https://github.com/IDPF/epubcheck/milestones/4.0.1","labels_url":"https://api.github.com/repos/IDPF/epubcheck/milestones/4/labels","id":1329844,"number":4,"title":"4.0.1","description":"Bug fix release.","creator":{"login":"rdeltour","id":520889,"avatar_url":"https://avatars.githubusercontent.com/u/520889?v=3","gravatar_id":"","url":"https://api.github.com/users/rdeltour","html_url":"https://github.com/rdeltour","followers_url":"https://api.github.com/users/rdeltour/followers","following_url":"https://api.github.com/users/rdeltour/following{/other_user}","gists_url":"https://api.github.com/users/rdeltour/gists{/gist_id}","starred_url":"https://api.github.com/users/rdeltour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdeltour/subscriptions","organizations_url":"https://api.github.com/users/rdeltour/orgs","repos_url":"https://api.github.com/users/rdeltour/repos","events_url":"https://api.github.com/users/rdeltour/events{/privacy}","received_events_url":"https://api.github.com/users/rdeltour/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":31,"state":"open","created_at":"2015-09-29T20:07:53Z","updated_at":"2015-10-21T12:29:33Z","due_on":"2015-10-08T22:00:00Z","closed_at":null},"comments":2,"created_at":"2015-10-09T08:59:05Z","updated_at":"2015-10-21T12:31:16Z","closed_at":null,"body":"I have an HTML table like:\r\n\r\n                <table>\r\n                        <thead>\r\n                            <tr>\r\n                                <th id=\"d3350e31\"\r\n                                    >dasd</th>\r\n                            </tr>\r\n                        </thead>\r\n                        <tbody>\r\n                            <tr>\r\n                                <td headers=\"d3350e31 \"\r\n                                    >2</td>\r\n                            </tr>\r\n                        </tbody>\r\n                    </table>\r\n\r\nso the @headers attribute properly points to the @id defined on the th but it has an extra space at the end of the value.\r\n\r\nThe Schematron \"epub-xhtml-30.sch\" complains with:\r\n\r\n        The headers attribute must refer to th elements in the same table.\r\n\r\nIn my opinion that particular assert should apply normalize() on the attribute value before calling tokenize because the specs says that if the string ends or starts with the separator, it will report it as a token."},"comment":{"url":"https://api.github.com/repos/IDPF/epubcheck/issues/comments/149878394","html_url":"https://github.com/IDPF/epubcheck/issues/622#issuecomment-149878394","issue_url":"https://api.github.com/repos/IDPF/epubcheck/issues/622","id":149878394,"user":{"login":"rdeltour","id":520889,"avatar_url":"https://avatars.githubusercontent.com/u/520889?v=3","gravatar_id":"","url":"https://api.github.com/users/rdeltour","html_url":"https://github.com/rdeltour","followers_url":"https://api.github.com/users/rdeltour/followers","following_url":"https://api.github.com/users/rdeltour/following{/other_user}","gists_url":"https://api.github.com/users/rdeltour/gists{/gist_id}","starred_url":"https://api.github.com/users/rdeltour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdeltour/subscriptions","organizations_url":"https://api.github.com/users/rdeltour/orgs","repos_url":"https://api.github.com/users/rdeltour/repos","events_url":"https://api.github.com/users/rdeltour/events{/privacy}","received_events_url":"https://api.github.com/users/rdeltour/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T12:31:16Z","updated_at":"2015-10-21T12:31:16Z","body":"Good catch, thanks Radu! I spotted one other instances that needed to be fixed. Other calls of `tokenize` were used to check the presence of a specific value, so empty tokens can be safely ignored."}}