Skip to Content.
Sympa Menu

xom-interest - [XOM-interest] <receive/> vs. <receive />

xom-interest AT

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Ed Davies <edavies AT>
  • To: xom-interest <xom-interest AT>
  • 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

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.

Top of Page