[
Lists Home |
Date Index |
Thread Index
]
At 3:41 PM +1000 7/24/02, Rick Jelliffe wrote:
>How does a system do this? You can only know which rules are being
>used when the pieces of the document are already available, which requires
>that the header will be generated last, or that it goes through some
>filter. Not efficient.
>
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.
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| XML in a Nutshell, 2nd Edition (O'Reilly, 2002) |
| http://www.cafeconleche.org/books/xian2/ |
| http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+
|