Re: ANNOUNCE: XML Tools 2.3.2
Re: ANNOUNCE: XML Tools 2.3.2
- Subject: Re: ANNOUNCE: XML Tools 2.3.2
- From: Elliotte Rusty Harold <email@hidden>
- Date: Tue, 20 Nov 2001 15:10:28 -0400
At 9:24 AM -0800 11/20/01, Mark Alldritt wrote:
Hello,
Version 2.3.2 of XML Tools has been released. This version allows
whitespace to appear before the initial <?xml ... ?> element and the
generate XML command correctly emits whitespace between attributes with
pretty printing is disabled.
Bad news! White space (aside from an optional non-spacing byte order
mark) is not allowed before the XML declaration. If your parser is
accepting it, then your parser is broken. (There is a little semantic
wiggle-room if you want to claim the beginning of the document is not
necessarily coincident with the beginning of the string, stream, or
file. However, this is such an unusual thing to do that it's
virtually guaranteed to cause problems for users of your library.)
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | email@hidden | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| The XML Bible, 2nd Edition (Hungry Minds, 2001) |
|
http://www.ibiblio.org/xml/books/bible2/ |
|
http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News:
http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News:
http://www.ibiblio.org/xml/ |
+----------------------------------+---------------------------------+