[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xml-dev] When to Validate XML Guidelines
- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- To: "Magick, Brian" <Brian.Magick@COMPAQ.com>
- Date: Mon, 01 Oct 2001 19:54:07 +0200
* Magick, Brian wrote:
>In this example and in others I have heard many compelling arguments
>from each side, but nothing definitive. Any thoughts or best practices
>in general regarding when to validate XML?
Early Validation, validate as early as possible, i.e. if you send XML,
insure it's valid, if you process XML, assume it's valid. It's not
feasible to let both validate. Validation is always necessary, since
processing applications must assume some general structure of the
document.
--
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/