Spot a recurring bug of to_xhtml in JRuby.