I might be wrong, but dreamweaver (using find and replace on ' "/> ') found 882 instances of incorrectly closed tags in 852 documents.
I did this search after I noticed that some IMG tags and INPUT tags were incorrectly closed i.e. <img src=""/> rather than the correct <img src="" />
A simple search and replace before the next nightly will fix this...unless I am wrong...
Posts: 15
oh, and if there's a better place to put this let me know
Posts: 8601
validator.w3.org doesn't report that as an error.. why do you need a space before /> ?
Posts: 15
1stly, half of them are xsl, and may not be errors.
The space before the forward slash is not strictly necessary when using the latest browser versions, but for maximum compatibility with older browsers, the space should always be included.
See:
http://www.kcl.ac.uk/humanities/cch/ay1003/electronic_publishing/module/mod_basics.html
http://www.blackwidows.org.uk/resources/tutorials/xhtml/common-errors.html
Posts: 7994
Is there an alternate validator to validator.w3.org that we can use to catch these?
Posts: 756
Try this one:
http://watson.addy.com/nph-watson5.cgi
Posts: 32509
i guess this is html 4 only. it complains about pretty every tag that has no closing tag like <link ...../>, <br />, <img ../>, etc.