{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/ehearty/Swadl/pulls/7","id":56746749,"html_url":"https://github.com/ehearty/Swadl/pull/7","diff_url":"https://github.com/ehearty/Swadl/pull/7.diff","patch_url":"https://github.com/ehearty/Swadl/pull/7.patch","issue_url":"https://api.github.com/repos/ehearty/Swadl/issues/7","number":7,"state":"closed","locked":false,"title":"Workaround lack of namespace axis support in Firefox","user":{"login":"gimoh","id":7933162,"avatar_url":"https://avatars.githubusercontent.com/u/7933162?v=3","gravatar_id":"","url":"https://api.github.com/users/gimoh","html_url":"https://github.com/gimoh","followers_url":"https://api.github.com/users/gimoh/followers","following_url":"https://api.github.com/users/gimoh/following{/other_user}","gists_url":"https://api.github.com/users/gimoh/gists{/gist_id}","starred_url":"https://api.github.com/users/gimoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gimoh/subscriptions","organizations_url":"https://api.github.com/users/gimoh/orgs","repos_url":"https://api.github.com/users/gimoh/repos","events_url":"https://api.github.com/users/gimoh/events{/privacy}","received_events_url":"https://api.github.com/users/gimoh/received_events","type":"User","site_admin":false},"body":"See Firefox bug [#94270](https://bugzilla.mozilla.org/show_bug.cgi?id=94270)\r\nfor details, I based the workaround on the code provided in\r\n[comment #28](https://bugzilla.mozilla.org/show_bug.cgi?id=94270#c28).\r\n\r\nBasically because Firefox lacks support for ``namespace:`` axis,\r\n``$ns-uri`` in ``getHyperlinkedElement`` ends up being null even for\r\nelements that have namespace (e.g. ``xs:int``).  This causes the\r\n``xsl:choose`` element to fall back to ``when test=\"$qname\"`` and the\r\nelements are displayed as e.g. 'xs:int' as schema_link that does\r\nnothing.\r\n\r\nThis adds a check to see if there are no namespace elements but the\r\nelement has a prefix, in which case it will just display it as plain\r\nlocal name, e.g. ``int``.  Still using an <a> tag for it to keep it in\r\nthe same style as non-namespaced elements.","created_at":"2016-01-21T13:08:57Z","updated_at":"2016-01-21T13:12:20Z","closed_at":"2016-01-21T13:12:20Z","merged_at":"2016-01-21T13:12:20Z","merge_commit_sha":"050d27852d66f8a379d85bf317bdee56045ec479","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ehearty/Swadl/pulls/7/commits","review_comments_url":"https://api.github.com/repos/ehearty/Swadl/pulls/7/comments","review_comment_url":"https://api.github.com/repos/ehearty/Swadl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ehearty/Swadl/issues/7/comments","statuses_url":"https://api.github.com/repos/ehearty/Swadl/statuses/731563cd199dd62d1eb6ce58f8cdb970630b6024","head":{"label":"gimoh:workaround-ff-ns-support","ref":"workaround-ff-ns-support","sha":"731563cd199dd62d1eb6ce58f8cdb970630b6024","user":{"login":"gimoh","id":7933162,"avatar_url":"https://avatars.githubusercontent.com/u/7933162?v=3","gravatar_id":"","url":"https://api.github.com/users/gimoh","html_url":"https://github.com/gimoh","followers_url":"https://api.github.com/users/gimoh/followers","following_url":"https://api.github.com/users/gimoh/following{/other_user}","gists_url":"https://api.github.com/users/gimoh/gists{/gist_id}","starred_url":"https://api.github.com/users/gimoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gimoh/subscriptions","organizations_url":"https://api.github.com/users/gimoh/orgs","repos_url":"https://api.github.com/users/gimoh/repos","events_url":"https://api.github.com/users/gimoh/events{/privacy}","received_events_url":"https://api.github.com/users/gimoh/received_events","type":"User","site_admin":false},"repo":{"id":49958654,"name":"Swadl","full_name":"gimoh/Swadl","owner":{"login":"gimoh","id":7933162,"avatar_url":"https://avatars.githubusercontent.com/u/7933162?v=3","gravatar_id":"","url":"https://api.github.com/users/gimoh","html_url":"https://github.com/gimoh","followers_url":"https://api.github.com/users/gimoh/followers","following_url":"https://api.github.com/users/gimoh/following{/other_user}","gists_url":"https://api.github.com/users/gimoh/gists{/gist_id}","starred_url":"https://api.github.com/users/gimoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gimoh/subscriptions","organizations_url":"https://api.github.com/users/gimoh/orgs","repos_url":"https://api.github.com/users/gimoh/repos","events_url":"https://api.github.com/users/gimoh/events{/privacy}","received_events_url":"https://api.github.com/users/gimoh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gimoh/Swadl","description":"wadl documentation viewer","fork":true,"url":"https://api.github.com/repos/gimoh/Swadl","forks_url":"https://api.github.com/repos/gimoh/Swadl/forks","keys_url":"https://api.github.com/repos/gimoh/Swadl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gimoh/Swadl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gimoh/Swadl/teams","hooks_url":"https://api.github.com/repos/gimoh/Swadl/hooks","issue_events_url":"https://api.github.com/repos/gimoh/Swadl/issues/events{/number}","events_url":"https://api.github.com/repos/gimoh/Swadl/events","assignees_url":"https://api.github.com/repos/gimoh/Swadl/assignees{/user}","branches_url":"https://api.github.com/repos/gimoh/Swadl/branches{/branch}","tags_url":"https://api.github.com/repos/gimoh/Swadl/tags","blobs_url":"https://api.github.com/repos/gimoh/Swadl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gimoh/Swadl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gimoh/Swadl/git/refs{/sha}","trees_url":"https://api.github.com/repos/gimoh/Swadl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gimoh/Swadl/statuses/{sha}","languages_url":"https://api.github.com/repos/gimoh/Swadl/languages","stargazers_url":"https://api.github.com/repos/gimoh/Swadl/stargazers","contributors_url":"https://api.github.com/repos/gimoh/Swadl/contributors","subscribers_url":"https://api.github.com/repos/gimoh/Swadl/subscribers","subscription_url":"https://api.github.com/repos/gimoh/Swadl/subscription","commits_url":"https://api.github.com/repos/gimoh/Swadl/commits{/sha}","git_commits_url":"https://api.github.com/repos/gimoh/Swadl/git/commits{/sha}","comments_url":"https://api.github.com/repos/gimoh/Swadl/comments{/number}","issue_comment_url":"https://api.github.com/repos/gimoh/Swadl/issues/comments{/number}","contents_url":"https://api.github.com/repos/gimoh/Swadl/contents/{+path}","compare_url":"https://api.github.com/repos/gimoh/Swadl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gimoh/Swadl/merges","archive_url":"https://api.github.com/repos/gimoh/Swadl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gimoh/Swadl/downloads","issues_url":"https://api.github.com/repos/gimoh/Swadl/issues{/number}","pulls_url":"https://api.github.com/repos/gimoh/Swadl/pulls{/number}","milestones_url":"https://api.github.com/repos/gimoh/Swadl/milestones{/number}","notifications_url":"https://api.github.com/repos/gimoh/Swadl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gimoh/Swadl/labels{/name}","releases_url":"https://api.github.com/repos/gimoh/Swadl/releases{/id}","created_at":"2016-01-19T14:38:51Z","updated_at":"2016-01-19T14:38:52Z","pushed_at":"2016-01-21T13:07:35Z","git_url":"git://github.com/gimoh/Swadl.git","ssh_url":"git@github.com:gimoh/Swadl.git","clone_url":"https://github.com/gimoh/Swadl.git","svn_url":"https://github.com/gimoh/Swadl","homepage":null,"size":106,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ehearty:master","ref":"master","sha":"42c02fb99fa9efb9e784e53f62eb6becc614319b","user":{"login":"ehearty","id":2473026,"avatar_url":"https://avatars.githubusercontent.com/u/2473026?v=3","gravatar_id":"","url":"https://api.github.com/users/ehearty","html_url":"https://github.com/ehearty","followers_url":"https://api.github.com/users/ehearty/followers","following_url":"https://api.github.com/users/ehearty/following{/other_user}","gists_url":"https://api.github.com/users/ehearty/gists{/gist_id}","starred_url":"https://api.github.com/users/ehearty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehearty/subscriptions","organizations_url":"https://api.github.com/users/ehearty/orgs","repos_url":"https://api.github.com/users/ehearty/repos","events_url":"https://api.github.com/users/ehearty/events{/privacy}","received_events_url":"https://api.github.com/users/ehearty/received_events","type":"User","site_admin":false},"repo":{"id":17270210,"name":"Swadl","full_name":"ehearty/Swadl","owner":{"login":"ehearty","id":2473026,"avatar_url":"https://avatars.githubusercontent.com/u/2473026?v=3","gravatar_id":"","url":"https://api.github.com/users/ehearty","html_url":"https://github.com/ehearty","followers_url":"https://api.github.com/users/ehearty/followers","following_url":"https://api.github.com/users/ehearty/following{/other_user}","gists_url":"https://api.github.com/users/ehearty/gists{/gist_id}","starred_url":"https://api.github.com/users/ehearty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehearty/subscriptions","organizations_url":"https://api.github.com/users/ehearty/orgs","repos_url":"https://api.github.com/users/ehearty/repos","events_url":"https://api.github.com/users/ehearty/events{/privacy}","received_events_url":"https://api.github.com/users/ehearty/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ehearty/Swadl","description":"wadl documentation viewer","fork":false,"url":"https://api.github.com/repos/ehearty/Swadl","forks_url":"https://api.github.com/repos/ehearty/Swadl/forks","keys_url":"https://api.github.com/repos/ehearty/Swadl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ehearty/Swadl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ehearty/Swadl/teams","hooks_url":"https://api.github.com/repos/ehearty/Swadl/hooks","issue_events_url":"https://api.github.com/repos/ehearty/Swadl/issues/events{/number}","events_url":"https://api.github.com/repos/ehearty/Swadl/events","assignees_url":"https://api.github.com/repos/ehearty/Swadl/assignees{/user}","branches_url":"https://api.github.com/repos/ehearty/Swadl/branches{/branch}","tags_url":"https://api.github.com/repos/ehearty/Swadl/tags","blobs_url":"https://api.github.com/repos/ehearty/Swadl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ehearty/Swadl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ehearty/Swadl/git/refs{/sha}","trees_url":"https://api.github.com/repos/ehearty/Swadl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ehearty/Swadl/statuses/{sha}","languages_url":"https://api.github.com/repos/ehearty/Swadl/languages","stargazers_url":"https://api.github.com/repos/ehearty/Swadl/stargazers","contributors_url":"https://api.github.com/repos/ehearty/Swadl/contributors","subscribers_url":"https://api.github.com/repos/ehearty/Swadl/subscribers","subscription_url":"https://api.github.com/repos/ehearty/Swadl/subscription","commits_url":"https://api.github.com/repos/ehearty/Swadl/commits{/sha}","git_commits_url":"https://api.github.com/repos/ehearty/Swadl/git/commits{/sha}","comments_url":"https://api.github.com/repos/ehearty/Swadl/comments{/number}","issue_comment_url":"https://api.github.com/repos/ehearty/Swadl/issues/comments{/number}","contents_url":"https://api.github.com/repos/ehearty/Swadl/contents/{+path}","compare_url":"https://api.github.com/repos/ehearty/Swadl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ehearty/Swadl/merges","archive_url":"https://api.github.com/repos/ehearty/Swadl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ehearty/Swadl/downloads","issues_url":"https://api.github.com/repos/ehearty/Swadl/issues{/number}","pulls_url":"https://api.github.com/repos/ehearty/Swadl/pulls{/number}","milestones_url":"https://api.github.com/repos/ehearty/Swadl/milestones{/number}","notifications_url":"https://api.github.com/repos/ehearty/Swadl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ehearty/Swadl/labels{/name}","releases_url":"https://api.github.com/repos/ehearty/Swadl/releases{/id}","created_at":"2014-02-28T00:28:33Z","updated_at":"2016-01-20T15:34:14Z","pushed_at":"2016-01-21T13:12:20Z","git_url":"git://github.com/ehearty/Swadl.git","ssh_url":"git@github.com:ehearty/Swadl.git","clone_url":"https://github.com/ehearty/Swadl.git","svn_url":"https://github.com/ehearty/Swadl","homepage":null,"size":99,"stargazers_count":29,"watchers_count":29,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ehearty/Swadl/pulls/7"},"html":{"href":"https://github.com/ehearty/Swadl/pull/7"},"issue":{"href":"https://api.github.com/repos/ehearty/Swadl/issues/7"},"comments":{"href":"https://api.github.com/repos/ehearty/Swadl/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/ehearty/Swadl/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/ehearty/Swadl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ehearty/Swadl/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/ehearty/Swadl/statuses/731563cd199dd62d1eb6ce58f8cdb970630b6024"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ehearty","id":2473026,"avatar_url":"https://avatars.githubusercontent.com/u/2473026?v=3","gravatar_id":"","url":"https://api.github.com/users/ehearty","html_url":"https://github.com/ehearty","followers_url":"https://api.github.com/users/ehearty/followers","following_url":"https://api.github.com/users/ehearty/following{/other_user}","gists_url":"https://api.github.com/users/ehearty/gists{/gist_id}","starred_url":"https://api.github.com/users/ehearty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehearty/subscriptions","organizations_url":"https://api.github.com/users/ehearty/orgs","repos_url":"https://api.github.com/users/ehearty/repos","events_url":"https://api.github.com/users/ehearty/events{/privacy}","received_events_url":"https://api.github.com/users/ehearty/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":0,"changed_files":2}}