W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2005

[whatwg] <p> elements containing other block-level elements

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Tue, 12 Apr 2005 21:30:04 +1000
Message-ID: <425BB13C.8060404@lachy.id.au>
Matthew Thomas wrote:
> Lachlan Hunt wrote:
> 
>> ...
>> I don't understand what's wrong with the XML error handling.  I think 
>> it's great because errors should be caught and handled during the 
>> authoring process and by the CMS, which XML essentially forces.
> 
> <http://diveintomark.org/archives/2004/01/14/thought_experiment>

As I said above, "errors should be caught and handled during the 
authoring process and by the CMS".  That is clearly just a case of the 
CMS not doing it's job properly and a broken implementation doesn't mean 
the language is broken.

The nature of XML requires that both the client and publishing tool 
enforce well-formedness, not just one or the other.  If your CMS isn't 
up to the job, then you shouldn't even attempt to maintain a well formed 
document that accepts input from external sources.

I agree with Henri's comment about using ad hoc print statements, rather 
than a true XML tool that guarentees well formed output.

-- 
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/     Rediscover the Web
http://GetThunderbird.com/ Reclaim your Inbox
Received on Tuesday, 12 April 2005 04:30:04 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:22 UTC