[jdom-interest] Line feed parsing
jhunter at acm.org
Mon Dec 10 13:38:56 PST 2001
That's behavior mandated by the XML spec. Check the section on
attribute whitespace normalization.
Li Zhao wrote:
> Not quite familiar with jdom, need some help from you
> experts. I have a probolem for outputting: There is an
> attribute value, which is taken from a TextArea with
> line feed ("Test\nGood"). The line feed seems not
> converted properly, because what I see in the XML file
> is something like
> <tag>xmi.id="_1.2" description="Test
> Should the line feed be converted to something like
> " " ?. Because when it is read back, the line feed
> is replaced with a white space and it becomes "Test
> Any ideas? Thanks in advance.
> Do You Yahoo!?
> Send your FREE holiday greetings online!
> To control your jdom-interest membership:
More information about the jdom-interest