{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/a076154395aedaa4ca81f31067b7de1b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a076154395aedaa4ca81f31067b7de1b","url":"https://api.github.com/users/nichtich","login":"nichtich","id":299856},"milestone":null,"assignee":null,"labels":[],"updated_at":"2011-11-02T16:45:28Z","closed_at":null,"comments":1,"url":"https://api.github.com/repos/kasei/perlrdf/issues/32","body":"I got some trouble with `RDF::Trine::Parser::RDFa`, which adds html to the list `$RDF::Trine::Parser::file_extensions`, and `$RDF::Trine::Parser::media_types` as if it would always provide an RDFa parser. Without having installed `RDF::RDFa::Parser`, however, creating a `RDF::Trine::Parser::RDFa` instance will always fail. For instance if i use the method `parse_url_into_model` from `RDF::Trine::Parser`, the HTTP request will contain html as media type in the `Accept` header, although my client cannot parse RDFa. I'd suggest that all RDF::Trine::Parser::* modules should only register in `$RDF::Trine::Parser::file_extensions`, and `$RDF::Trine::Parser::media_types`, if they can successfully operate.\r\n\r\n","html_url":"https://github.com/kasei/perlrdf/issues/32","number":32,"title":"Hidden requirement RDF::RDFa::Parser","id":2120427,"created_at":"2011-11-02T11:34:25Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/2046c65bf9c72c16b22df76a22aba0ef?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"2046c65bf9c72c16b22df76a22aba0ef","url":"https://api.github.com/users/kasei","login":"kasei","id":4872},"updated_at":"2011-11-02T16:45:28Z","url":"https://api.github.com/repos/kasei/perlrdf/issues/comments/2605907","body":"Good catch. Can you tell me if this fixes it?\r\n\r\nhttps://github.com/kasei/perlrdf/commit/446f59c728602349bfa10cf3a2bb0e086dcee340\r\n\r\nthanks,\r\n.greg\r\n","id":2605907,"created_at":"2011-11-02T16:45:28Z"}}