users@jaxb.java.net

Re: White Spaces in xsd:string

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Tue, 18 Jan 2005 10:22:00 -0800

Thomas Roschi wrote:
> Yes. The string i'm talking from is an attribute:
>
> Does any one know how i can parse the xml and keep this new lines? The
> text is preformatted ascii.

You can't. That's what the XML spec says.

See http://www.w3.org/TR/REC-xml/#AVNormalize

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net