[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Not well-formed data in XML



   Hello group,



   We have regularly problems processing XML data from a large transport
   company, because of invalid characters in the data. Things like ü and
   so forth. Is there a way to process the received data first to get the
   garbage out and then pass it the parser?

   Or is there a way that the parser doesn't fall over when processing
   those characters?



   The error that is thrown:

   SetError() #16: recvdoc: saveproc: Not all data was written!
   http_close(): entered
   SetError() #66: XML parse failed at line 1, col 18620: not well-formed
   (invalid token)



   I'm using the procedure

   http_url_post_xml that is directly feeding the data to the procedures
   StartOfElement and EndOfElement.







   Regards, Wilbert
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------