
    Murray LIPMAN, Trustee, Harold Lipman and Estelle Lipman, his wife, Appellants, v. VANOWEN REALTY CORP., et al., Appellees.
    No. 87-2440.
    District Court of Appeal of Florida, Fourth District.
    Aug. 10, 1988.
    Joel Miller of Miller, Squire & Rafferty, Chartered, Fort Lauderdale, for appellants.
    Philip S. Vova of Goldberg and Vova, P.A., Miami, for appellees-Vanowen Realty Corp., Louis Victor, Rebecca Victor and Beverly Grushoff.
    Robert L. Jennings of Holland & Knight, Fort Lauderdale, for appellees-Flag Development Corp. and Allan J. Rosenberg.
   PER CURIAM.

We affirm in part and reverse in part. We reverse the trial court’s order of dismissal with prejudice insofar as it relates to the counts concerning declaratory relief and quiet title. We affirm the dismissal as to the other counts. We believe the trial court erred in resolving by a motion to dismiss the affirmative defense raised by the appellees concerning the unclean hands doctrine. While such a doctrine may be raised as an affirmative defense, its application to terminate the litigation here was premature, there being no evidentiary basis for determining the application of the doctrine or the extent of its application to this case.

ANSTEAD, LETTS and WALDEN, JJ., concur.  