XERCES getTextContent()

Discussion in 'XML' started by raimund.keese@sartorius.com, May 4, 2005.

  1. Guest

    Hello,

    I have a problem with the XERCES method DOMNode::getTextContent().
    The returned node text is shorter than the text in the XML file.
    The method returned just the first 242 character.
    Below is the node content.

    <myNode>0x01, 0x23, 0x04, 0x21, 0x02, 0x04, 0x22, 0x61, 0x06, 0x43,
    0x00, 0x04, 0x02, 0x24, 0x02, 0x02, 0x25, 0x02, 0x15, 0x86, 0x00, 0x00,
    0x00, 0x02, 0x03, 0x27, 0x01, 0x0B, 0x48, 0x3D, 0x61, 0x02, 0x29, 0x01,
    0x03, 0x2A, 0x01,0x05, 0x13, 0x08, 0x41, 0x00, 0x34, 0x05, 0x22, 0x03,
    0x02, 0x23, 0x01, 0x03, 0x24, 0x02, 0x04, 0x25, 0x61, 0x02, 0x26,
    0x01,0x06, 0x1B, 0x05, 0x21, 0x02, 0x02, 0x22, 0x01, 0x02, 0x23, 0x01,
    0x02, 0x24, 0x02, 0x03, 0x25, 0x02, 0x02, 0x26, 0x02, 0x03, 0x27, 0x01,
    0x02, 0x28, 0x01, 0x02, 0x29, 0x01,0x08, 0x16, 0x02, 0x21, 0x01, 0x02,
    0x22, 0x02, 0x02, 0x23, 0x01, 0x07, 0x44, 0x04, 0x01, 0x03, 0x25, 0x01,
    0x02, 0x26, 0x02, 0x02, 0x27, 0x01</myNode>

    Is anybody know the reason for this behavior?
    What can I do get the complete node contents?

    Thanks a lot for any help!

    Raimund
     
    , May 4, 2005
    #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. Stefan Siegl
    Replies:
    2
    Views:
    930
    David Zimmerman
    Jul 17, 2003
  2. Roy Benjamin
    Replies:
    3
    Views:
    719
    Mike Schilling
    Jul 23, 2003
  3. Leo Sauermann
    Replies:
    0
    Views:
    1,276
    Leo Sauermann
    Jul 28, 2003
  4. Alexandre Flament

    xerces in .jar.bz2

    Alexandre Flament, Aug 14, 2003, in forum: Java
    Replies:
    0
    Views:
    584
    Alexandre Flament
    Aug 14, 2003
  5. trent ohannessian

    Xerces parsing losing data...

    trent ohannessian, Sep 8, 2003, in forum: Java
    Replies:
    2
    Views:
    485
    trent ohannessian
    Sep 9, 2003
  6. edwinek

    Xerces 2.4 / namespace error

    edwinek, Oct 8, 2003, in forum: Java
    Replies:
    0
    Views:
    591
    edwinek
    Oct 8, 2003
  7. rohit

    getTextContent alternative

    rohit, Apr 7, 2006, in forum: Java
    Replies:
    25
    Views:
    23,507
    Tobias Hinnerup
    Oct 30, 2007
  8. cvissy
    Replies:
    0
    Views:
    833
    cvissy
    Nov 16, 2004
Loading...