> the rather inadequate handling of whitespace in XML specifications,
I disagree with this judgement. A major problem is that many editors
disregard (parts of) the XML specifications (and / or the subtle
differences between XML 1.0 and XML 1.1) when it comes to whitespace
characters. Any schema should be written according to the needs of the
community creating, editing and otherwise using the instances.
Fortunately, XSD allows to finetune such details very well.
With a good schema as a ground and having a habit to always validate any
instance immediately after each editing of its content (and thus before
any XSLT processing of the instance), it is much easier to obtain
Sometimes, you do not have any possibility to modify the schema. Then,
inserting a line break between "lb" and "/" could work temporarily, but
this would not survive a c14n. An XML comment containing nothing but a
line break could survive a c14n if the appropriate boolean flag is set, as