Lists Home |
Date Index |
From: "Elliotte Rusty Harold" <email@example.com>
> How do I know that my document will be well-formed before I send it?
> Because I wrote my code to make it so, and when I write the XML
> declaration I assume that. I think the number of cases in which you
> don't know in advance whether or not you will or will not be using
> Burmese/Cambodian/Amharic or, God help us, NEL, in the markup
> somewhere, are vanishingly small.
You may, but a computer cannot. Names are not just known
at schema-time: in particular, IDs are names too and they
are only known when looking at the instance.