Geoff Stearns wrote:

>> - the browser SHOUTS at me when i make a mistake, so i can fix it,
>> rather than enter tag soup mode and hope the browsers AI figures out
>> what i really meant. Same reason i like strictly typed programming
>> languages btw.
> 
> So this is really cool when you are compiling apps, but in the web  
> world, where you may have users submitting content to your site, it  
> becomes a huge headache very quickly.
> 
> You suddenly have to make sure that *all* of your user submitted (or  
> even editor submitted) content is valid, and if it's not, you either  
> have to figure out how to fix it for them, or expect them to know  
> enough about the intricacies if HTML to fix it themselves. then add  
> on top of that the fact that if it's broken the browser simple won't  
> show the page at all, and just show the error isn't good for your  
> client or business at all, since one little unchecked error means  
> your page (and possibly the entire site) is complete unaccessible.
> 
> So it seems that the looseness of html is a big bonus for commercial  
> websites. And you can always write valid code and check it yourself  
> without all the technical wizardry that really doesn't benefit your  
> customers at all anyway.

I don't agree.

Users should never be able to freely submit unfiltered (X)HTML to your 
website. Ever. It should be either filtered and fixed automatically 
(HTML Tidy would be one of the tools you could use for that), or, 
better, the user should be presented a rich text editor so that he 
doesn't even need to author any markup. For website authors i usually 
provide Markdown as input format.

Unless of course you think a site like MySpace is a good example of a 
commercial website.

Cheers,
Claus.

-- 
claus wahlers
cĂ´deazur brasil
http://codeazur.com.br

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to