sam and tom, thanks for the response.

i think we're just going to do a URLEncoder.encode() + 
URLEncoder.decode() at each end so we get back
attributes with carriage returns.


----- Original Message ----- 
From: "Tom Bradford" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 16, 2001 5:34 AM
Subject: Re: carriage return in attribute not preserved


> > Sam Pullara wrote:
> > The conversion of a LF to a space in attribute values is actually in
> > the specification. See XML 1.0.
> 
> Continuing on that, you can probably define an entity that stores the
> carriage return, and embed it into the attribute:
> 
>    hello&cr;world
> 
> Attributes values are supposed to respect mixed content that includes
> text and entity references.  I'm almost 100% sure Xerces supports this.
> 
> -- Tom
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to