(self, contentType)
| 805 | return k |
| 806 | |
| 807 | def mapContentType(self, contentType): |
| 808 | contentType = contentType.lower() |
| 809 | if contentType == 'text' or contentType == 'plain': |
| 810 | contentType = u'text/plain' |
| 811 | elif contentType == 'html': |
| 812 | contentType = u'text/html' |
| 813 | elif contentType == 'xhtml': |
| 814 | contentType = u'application/xhtml+xml' |
| 815 | return contentType |
| 816 | |
| 817 | def trackNamespace(self, prefix, uri): |
| 818 | loweruri = uri.lower() |
no outgoing calls
no test coverage detected