Output nothing for empty mapfiles
Fixed more errors in xsd