{"action":"created","issue":{"url":"https://api.github.com/repos/nlbdev/nordic-epub3-dtbook-migrator/issues/295","labels_url":"https://api.github.com/repos/nlbdev/nordic-epub3-dtbook-migrator/issues/295/labels{/name}","comments_url":"https://api.github.com/repos/nlbdev/nordic-epub3-dtbook-migrator/issues/295/comments","events_url":"https://api.github.com/repos/nlbdev/nordic-epub3-dtbook-migrator/issues/295/events","html_url":"https://github.com/nlbdev/nordic-epub3-dtbook-migrator/issues/295","id":56031120,"number":295,"title":"Ensure rowspan/colspan values don't excede table row/column dimensions","user":{"login":"TamJ","id":5805844,"avatar_url":"https://avatars.githubusercontent.com/u/5805844?v=3","gravatar_id":"","url":"https://api.github.com/users/TamJ","html_url":"https://github.com/TamJ","followers_url":"https://api.github.com/users/TamJ/followers","following_url":"https://api.github.com/users/TamJ/following{/other_user}","gists_url":"https://api.github.com/users/TamJ/gists{/gist_id}","starred_url":"https://api.github.com/users/TamJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TamJ/subscriptions","organizations_url":"https://api.github.com/users/TamJ/orgs","repos_url":"https://api.github.com/users/TamJ/repos","events_url":"https://api.github.com/users/TamJ/events{/privacy}","received_events_url":"https://api.github.com/users/TamJ/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nlbdev/nordic-epub3-dtbook-migrator/labels/2%20-%20High%20priority","name":"2 - High priority","color":"CCCCCC"},{"url":"https://api.github.com/repos/nlbdev/nordic-epub3-dtbook-migrator/labels/dtbook-validator","name":"dtbook-validator","color":"006b75"},{"url":"https://api.github.com/repos/nlbdev/nordic-epub3-dtbook-migrator/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/nlbdev/nordic-epub3-dtbook-migrator/labels/epub3-validator","name":"epub3-validator","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"josteinaj","id":295481,"avatar_url":"https://avatars.githubusercontent.com/u/295481?v=3","gravatar_id":"","url":"https://api.github.com/users/josteinaj","html_url":"https://github.com/josteinaj","followers_url":"https://api.github.com/users/josteinaj/followers","following_url":"https://api.github.com/users/josteinaj/following{/other_user}","gists_url":"https://api.github.com/users/josteinaj/gists{/gist_id}","starred_url":"https://api.github.com/users/josteinaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josteinaj/subscriptions","organizations_url":"https://api.github.com/users/josteinaj/orgs","repos_url":"https://api.github.com/users/josteinaj/repos","events_url":"https://api.github.com/users/josteinaj/events{/privacy}","received_events_url":"https://api.github.com/users/josteinaj/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/nlbdev/nordic-epub3-dtbook-migrator/milestones/1","html_url":"https://github.com/nlbdev/nordic-epub3-dtbook-migrator/milestones/1.0.0","labels_url":"https://api.github.com/repos/nlbdev/nordic-epub3-dtbook-migrator/milestones/1/labels","id":843855,"number":1,"title":"1.0.0","description":"First official release","creator":{"login":"josteinaj","id":295481,"avatar_url":"https://avatars.githubusercontent.com/u/295481?v=3","gravatar_id":"","url":"https://api.github.com/users/josteinaj","html_url":"https://github.com/josteinaj","followers_url":"https://api.github.com/users/josteinaj/followers","following_url":"https://api.github.com/users/josteinaj/following{/other_user}","gists_url":"https://api.github.com/users/josteinaj/gists{/gist_id}","starred_url":"https://api.github.com/users/josteinaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josteinaj/subscriptions","organizations_url":"https://api.github.com/users/josteinaj/orgs","repos_url":"https://api.github.com/users/josteinaj/repos","events_url":"https://api.github.com/users/josteinaj/events{/privacy}","received_events_url":"https://api.github.com/users/josteinaj/received_events","type":"User","site_admin":false},"open_issues":32,"closed_issues":75,"state":"open","created_at":"2014-10-28T15:54:27Z","updated_at":"2015-02-24T13:59:27Z","due_on":"2015-04-12T22:00:00Z","closed_at":null},"comments":2,"created_at":"2015-01-30T13:05:59Z","updated_at":"2015-02-25T09:31:00Z","closed_at":null,"body":"There seems to be a rule in the Pipeline 1 dtbook validation that checks for rowspan and colspan(?) values that excede element counts respectively:\r\n\r\n\"The rowspan attribute value is larger than the number of rows left in the table\"\r\n\r\nMaybe this could be added to the epub/dtbook validation?\r\n\r\n<!---\r\n@huboard:{\"order\":308.0,\"milestone_order\":295,\"custom_state\":\"\"}\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/nlbdev/nordic-epub3-dtbook-migrator/issues/comments/75930287","html_url":"https://github.com/nlbdev/nordic-epub3-dtbook-migrator/issues/295#issuecomment-75930287","issue_url":"https://api.github.com/repos/nlbdev/nordic-epub3-dtbook-migrator/issues/295","id":75930287,"user":{"login":"josteinaj","id":295481,"avatar_url":"https://avatars.githubusercontent.com/u/295481?v=3","gravatar_id":"","url":"https://api.github.com/users/josteinaj","html_url":"https://github.com/josteinaj","followers_url":"https://api.github.com/users/josteinaj/followers","following_url":"https://api.github.com/users/josteinaj/following{/other_user}","gists_url":"https://api.github.com/users/josteinaj/gists{/gist_id}","starred_url":"https://api.github.com/users/josteinaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josteinaj/subscriptions","organizations_url":"https://api.github.com/users/josteinaj/orgs","repos_url":"https://api.github.com/users/josteinaj/repos","events_url":"https://api.github.com/users/josteinaj/events{/privacy}","received_events_url":"https://api.github.com/users/josteinaj/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T09:31:00Z","updated_at":"2015-02-25T09:31:00Z","body":"This rule stems from this ZedVal feature request:\nhttp://sourceforge.net/p/zedval/feature-requests/12/\n\nThe rules are still present in the official DP2 DTBook Validator which is invoked as part of the nordic DTBook validation so this rule should already be enforced for nordic DTBooks. I will try to add equivalent rules for EPUB/HTML. The DTBook validator also contains MathML validation rules which we can consider including if we choose to allow MathML in the future.\n\nThe DTBook rules are:\n\n * assert: There must be one and only one dtb:uid metadata item.\n * assert: Content of dtb:uid metadata may not be empty.\n * assert: There must be at least one dc:Title metadata item.\n * assert: Content of dc:Title metadata may not be empty.\n * assert: noteref URI value does not contain a fragment identifier.\n * report: noteref URI value does not resolve to a note element.\n * assert: annoref URI value does not contain a fragment identifier.\n * report: annoref URI value does not resolve to a annotation element.\n * assert: Internal link does not resolve.\n * report: The enum attribute is only allowed in numbered lists.\n * assert: The depth attribute on list element does not contain the list wrapping level.\n * assert: Not all the tokens in the headers attribute match the id attributes of 'th' elements in this or a parent table.\n * assert: Not all the tokens in the imgref attribute match the id attributes of 'img' elements.\n * assert: Not all the tokens in the imgref attribute match the id attributes of 'img' elements.\n * report: The accesskey attribute value is not 1 character long.\n * report: The tabindex attribute value is not expressed in numbers.\n * report: The accesskey attribute value is not unique within the document.\n * report: The tabindex attribute value is not unique within the document.\n * report: The char attribute value is not 1 character long.\n * report: char attribute may only occur when align attribute value is 'char'.\n * assert: The image width is not expressed in pixels or percentage.\n * assert: The image height is not expressed in pixels or percentage.\n * assert: Table width is not expressed in pixels or percentage.\n * assert: Table cellspacing is not expressed in pixels or percentage.\n * assert: Table cellpadding is not expressed in pixels or percentage.\n * report: The start attribute occurs in a non-numbered list.\n * report: The start attribute is not a non negative number.\n * report: Unrecognized Dublin Core metadata name.\n * report: Unrecognized Dublin Core metadata prefix.\n * report: span attribute is not a positive integer.\n * report: The rowspan attribute value is not a positive integer.\n * report: The colspan attribute value is not a positive integer.\n * report: The rowspan attribute value is larger than the number of rows left in the table.\n * assert: The value of the depth attribute on the level element does not correspond to actual nesting level.\n\n(phew!)"}}