Issue with Xerces URLInputSource

Discussion in 'XML' started by Mani, Dec 2, 2004.

  1. Mani

    Mani Guest

    Hi,
    I don't know if this is right newsgroup, anyway I will go ahead with the
    question.

    I am developing some application on a Linux box and I am using xerces-c for
    xml parsing.

    The application does the calls the
    URLInputSource src = URLInputSource ("URL", "http"); //the URL points to
    some xml data.
    parser.parse (src) //where parser is a wrapper over XercesDOMParser.

    I captured the data TCP packets exchanged between the webserver and the
    application. I found this.

    Some of the webservers (actually they are different IP phone models), send
    the whole xml data in one chunk, the parsing suceeds.

    If the xml data from the webserver is split into more than one chunk, then
    xerces-c complains saying that the document is "Invalid document structure".

    Is this a bug in parsing using URLInputSource or is there someway I can fix
    this.

    Thanks for your help,
    Mani
     
    Mani, Dec 2, 2004
    #1
    1. Advertising

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:
    764
    David Zimmerman
    Jul 17, 2003
  2. Praveen Chhangani

    Xerces Classpath Issue

    Praveen Chhangani, Oct 17, 2003, in forum: Java
    Replies:
    1
    Views:
    504
    David Zimmerman
    Oct 18, 2003
  3. cvissy
    Replies:
    0
    Views:
    629
    cvissy
    Nov 16, 2004
  4. Nicolas
    Replies:
    3
    Views:
    828
    Joseph Kesselman
    Feb 22, 2006
  5. mearvk

    Xerces Compilation Issue

    mearvk, Oct 3, 2007, in forum: C++
    Replies:
    5
    Views:
    420
    tragomaskhalos
    Oct 5, 2007
Loading...

Share This Page