Problem with CDATA of JDOM beta 9

Discussion in 'Java' started by Forest, Oct 20, 2003.

  1. Forest

    Forest Guest

    Hi, I am using JDOM beta 9. I got VerifyError when starting Websphere
    server using the following code.

    The following was inside an EJB, there is no error when I use
    data.setText().

    Element data = new Element("data");
    data.setText(sometext);

    //The following compiles fine, but gives error when starting server
    //comments out

    //CDATA cdata = new CDATA(sometext);
    //data.addContent(cdata);

    Does somebody know what is going on? Thanks.
     
    Forest, Oct 20, 2003
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Wendy S
    Replies:
    1
    Views:
    6,936
    Darren Davison
    Aug 5, 2003
  2. Bernd Oninger
    Replies:
    4
    Views:
    15,322
    GIMME
    Jun 21, 2004
  3. John Davison
    Replies:
    1
    Views:
    903
    Hal Rosser
    Jul 7, 2004
  4. Tinker
    Replies:
    4
    Views:
    6,154
    Harry Bosch
    Oct 9, 2005
  5. Elton John

    CData Error (Java JDOM)

    Elton John, Oct 2, 2003, in forum: XML
    Replies:
    1
    Views:
    633
    Richard Tobin
    Oct 2, 2003
  6. Forest
    Replies:
    0
    Views:
    516
    Forest
    Oct 20, 2003
  7. Bernd Oninger
    Replies:
    3
    Views:
    3,161
    GIMME
    Jun 21, 2004
  8. Replies:
    3
    Views:
    1,001
    Joe Kesselman
    Mar 6, 2006
Loading...