Peter, Yes, xml:space="preserve" should work, and I'll give it a whirl. The xml:space attribute may be used to indicate explicitly that white space is significant, which will apply to that element and any subelements that don't reset xml:space.
However, my understanding is that white space is supposed to be significant by default in mixed content (http://www.w3.org/TR/REC-xml#sec-mixed-content) and insignificant in element content (http://www.w3.org/TR/REC-xml#sec-element-content), so why isn't it being preserved now? Is it because there is no DTD? --- Noel -----Original Message----- From: Peter Royal [mailto:[EMAIL PROTECTED]] Sent: Monday, July 29, 2002 17:07 To: James Developers List Subject: Re: Whitespace from parameters? [AVALON Frameworks issue?] On Monday 29 July 2002 04:58 pm, Noel J. Bergman wrote: > In MailetConfigImpl.getInitParameter(String name) we have: > > final Configuration[] values = configuration.getChildren( name ); > > as best I can see, there is no call within James to trim whitespace from > around parameters, so that must be happening in Avalon Frameworks, right? > > How can we stripping whitespace in the case where it would be desirable for > the admin to be able to place whitespace, e.g., in a prefix string? Is > there some attribute we could put on the tag so that Avalon Frameworks > didn't trim the whitespace, e.g., xml:space="preserve" should do the trick. -pete -- peter royal -> [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
