[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: well-formedness error




On Thu, 17 Jun 2004 10:16:14 +0200, Danny Ayers <danny666@xxxxxxxxxxx> wrote:


Perhaps, but the rules themselves shouldn't be lenient.

Absolutely. What I think may be something we can reach consensus on is:


  - Ill-formed XML should not be silently parsed by aggregators.
    PaceServiceError[1] should be an important part of the spec.
  - Atom served with wrong HTTP headers MAY be excusable.

I think allowing ill-formed XML spreading around is much, much worse than allowing for some bad HTTP headers now and then. The headers at least don't force one to use regex and other evil methods to parse XML. Everything contained in the XML document should be well-formed according to XML specs. XML over HTTP is another ballgame, but Atom should still state how things should be done -- in a non-lenient way.

____
[1] <url: http://www.intertwingly.net/wiki/pie/PaceServiceError>

--
Asbjørn Ulsberg         -=|=-        asbjornu@xxxxxxxxxxx
«He's a loathsome offensive brute, yet I can't look away»