(ver >= 1.0) && (ver <= 2.0)) {
((ver == 1.0) || (ver == 2.0) || (0 ==aVersion.Length()))) {
nsDOMImplementation::HasFeature(const nsString& aFeature,                                 const nsString& aVersion,                                 PRBool* aReturn){  // XXX Currently this is hardcoded. In the future, we should  // probably figure out some of this by querying the registry??  PRInt32 result;  float ver = aVersion.ToFloat(&result);  if (NS_FAILED(result)) {    return result;  }  if ((aFeature.EqualsIgnoreCase("HTML") ||      aFeature.EqualsIgnoreCase("XML")) &&      (ver >= 1.0) && (ver <= 2.0)) {    *aReturn = PR_TRUE;  }  else {    *aReturn = PR_FALSE;  }  return NS_OK;}