>>Is it treated as a BOM (and not part >>of the text of the entity) or as a zero-width non-breaking space >>character? >If the latter, it would be a fatal error, wouldn't it? Yes, except in an external entity (not the document entity) without a text declaration. -- Richard