xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Ed Davies <edavies AT nildram.co.uk>
- To: xom-interest <xom-interest AT lists.ibiblio.org>
- Subject: [XOM-interest] <receive/> vs. <receive />
- Date: Mon, 26 Dec 2005 16:10:30 +0000
Elliotte Rusty Harold wrote:
I experimented with taking out the extra space. It broke a lot of unit tests that depend on the space. Not in an essential way, of course. I could just revise those several dozen unit tests as well. However, I do wonder if other peoples' test suites might also now be depending on this appearance. I'm thus inclined to leave the space in and accept the minor inconsistency; at least through 1.1; unless there's a massive hue and cry to take it out. :-)
Not exactly a hue and cry, but if you're going to make a change I'd vote
for adding a space where it is currently omitted. XHTML 1.0 recommends
them:
http://www.w3.org/TR/xhtml1/#C_2
C.2. Empty Elements
Include a space before the trailing / and > of empty elements, e.g. <br />, <hr /> and <img src="karen.jpg" alt="Karen" />.
Ed Davies
- [XOM-interest] <receive/> vs. <receive />, Ed Davies, 12/26/2005
Archive powered by MHonArc 2.6.24.