It does not? HTML 4.01 is not XML. So not XHTML. What's the confusion?
Both technologies are from the same period and share same validation culture from W3.
Both technologies are from the same period and share same validation culture from W3.