From: Dossy Date: 2002-05-15T19:51:59+09:00 Subject: Re: ANN: REXML 2.3.3 On 2002.05.15, Sean Russell wrote: > 2.3.3: > * Added an alternate pretty printer by Thomas Sawyer; it is in the contrib/ > directory. Does this one not break the XML document? AFAIK, the current pretty printer does NOT output a document that's identical to the one represented in memory: abcdef gets printed as: abc def The problem is that whitespace _between_ tags isn't ignored by default by other XML parsers. So, they'll parse this like: \n abc\n \n def\n Or, something like that. What the pretty-printer really needs to output is: abc def I'll have to grab the 2.3.3 release and bring the pretty printer back to 2.2.2 if this is what Tom's pretty printer does, otherwise, is it a big deal to get the pretty printer I'm asking for? Sean, thanks for a great XML package! It's made adopting Ruby for a project a very painless task! -- Dossy -- Dossy Shiobara mail: dossy@panoptic.com Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70)