From: Stefan Schmiedl Date: 2004-12-09T05:32:29+09:00 Subject: IOWA and XHTML Are there any plans to make IOWA XHTML-aware? FWIW, I just did the following and with a suitable xml intro the generated pages pass the w3-validator. kind regards, s. diff -rN 1.8-old/iowa/Form.rb 1.8-new/iowa/Form.rb 265a266,267 > # xss 2004-12-08 option elements need to be closed in XHTML > context.response << closeTag diff -rN 1.8-old/iowa/Tag.rb 1.8-new/iowa/Tag.rb 16a17,19 > # xss 2004-12-08 XHTML elements without content > SINGLE_ELEMENTS=%w(area base br col hr img input link meta > param) > 44,45c47,49 < else < tag += " #{key}" --- > # xss 2004-12-08 XHTML does not allow attributes without value > # else > # tag += " #{key}" 47a52,54 > # xss 2004-12-08 XHTML shorthand for closing element without content > # immediately > tag += "/" if SINGLE_ELEMENTS.include?(tagName)