Missing "return($this);" in documentMimeIsRdfXml(). This means that the function couldn't be used in call chained mode.