I finally got bd_frogr to generate code that gasp validates as XHTML (Is that really too much to ask for?)