parsing string data through castor

From: madhununna (mnunna_at_telcordia.com)
Date: 02/18/04

  • Next message: Peter Bradley: "Re: Debugging"
    Date: 18 Feb 2004 12:49:41 -0800
    
    

    I'm trying to parse string data using castor and it looks like the new
    lines are getting lost.
    I'm using castor 0.9.4.3
    For example:

    Input

    <INPUT> First line
    second line
    third line </INPUT>

    after marshaling and unmarshaling using castor this becomes

    <INPUT> First line second line third line </INPUT>

    Is there something I can do to preserve the newlines in the data or is
    this a bug in castor.

    Thanks in advnce for the help


  • Next message: Peter Bradley: "Re: Debugging"

    Relevant Pages

    • Re: parsing string data through castor
      ... >> I'm trying to parse string data using castor and it looks like the new ... >> lines are getting lost. ... This is normal behavior for XML. ...
      (comp.lang.java.programmer)
    • parsing string data through castor
      ... I'm trying to parse string data using castor and it looks like the new ... lines are getting lost. ... Thanks in advnce for the help ...
      (comp.lang.java.programmer)
    • Re: parsing string data through castor
      ... > I'm trying to parse string data using castor and it looks like the new ... > lines are getting lost. ... embed the data in your INPUT element into a CDATA section and ...
      (comp.lang.java.programmer)
    • Re: Yes Bush stole both elections
      ... El Castor wrote: ... Corruption won, We all lost. ... As for voter ...
      (soc.retirement)