[jdom-interest] RE: Whitespace

Jeremy Whitlock jwhitlock at starprecision.com
Tue Jan 20 07:39:58 PST 2004


Elliotte,
	I agree that something is up but no matter what text editor I
open it with, the extra lines are there.  Here are some links of
interest with my XML before and after and the source that is reading it
in and then directly saving it out:

http://www.hellaweb.com/hellabot/286
http://www.hellaweb.com/hellabot/287
http://www.hellaweb.com/hellabot/288

I also have a picture of what an XML Editor sees when I load the saved
XML into it:

http://65.116.245.3/XMLAfter.gif

I have tried many different approaches but to no avail.  Take a look at
the links and let me know what route to go next.  Thanks, Jeremy

-----Original Message-----
From: jdom-interest-admin at jdom.org [mailto:jdom-interest-admin at jdom.org]
On Behalf Of Elliotte Rusty Harold
Sent: Tuesday, January 20, 2004 8:16 AM
To: Jeremy Whitlock
Cc: jdom-interest at jdom.org
Subject: RE: [jdom-interest] RE: Whitespace

I suspect you have a line ending issue here involving the difference 
between linefeeds, and carriage return linefeed pairs or some such. 
Can you look at the output byte-by-byte? That is, do not translate it 
into text.  When you say you have two line endings, how are they 
actually represented?

This may well be a case where the texxt editor or other tool you're 
using to view the output is misinforming about what's really there.
-- 

   Elliotte Rusty Harold
   elharo at metalab.unc.edu
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
 
http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaula
itA
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@you
rhost.com




More information about the jdom-interest mailing list