[wp-hackers] WP issues

Geoffrey Sneddon foolistbar at googlemail.com
Tue Jun 5 15:28:59 GMT 2007


On 4 Jun 2007, at 23:33, Elliotte Harold wrote:

> Geoffrey Sneddon wrote:
>
>> But why does the marketplace require XHTML at all? XHTML served as  
>> text/html brings absolutely no advantages over HTML, but gives one  
>> major disadvantage — you become reliant on browser error handling  
>> for the XHTML to parse.
>
> This is false and a common myth perpetrated repeatedly by a few  
> myopic programmers who can't see beyond the browser.

Yes, I only implement (X)HTML in several ways completely unrelated to  
browsers. I obviously can't see beyond the browser.

> I can and do do many different things with XHTML served as text/ 
> html that I cannot do with classic HTML. In particular I can use  
> the full XML toolchain to process such documents.
>
> Browser display is not the only purpose of HTML and XHTML documents  
> on the web. This is especially true for WordPress, where plugins  
> need to do all sorts of weird things with the pages, inserting,  
> deleting, rearranging, and filtering content. This is far easier  
> and more reliable if the pages are well-formed

But WP can create malformed XML. The feeds are just an example of  
that. That argument is only valid when you know the output is well- 
formed.


- Geoffrey Sneddon




More information about the wp-hackers mailing list