Opened 2 years ago

Last modified 2 years ago

#82 new enhancement

XML parser issues

Reported by: daniloercoli Owned by:
Priority: major Milestone: 0.9
Component: XML-RPC Version: 0.8.7 Symbian^3 and S60 5th Ed
Keywords: Cc: ercoli@…

Description

I got some weird xml parser issues. are we using a strict xml validating parser?
(XML parser should not be set as strict).

One more thing, when the response XML-RPC is broken and the parser throws an error, we should "clean" the XMLRPC response passing it through tidy before resending it to the parser.

Common cases:

  • the xml document preamble is not on the first document line. this happen when plugins (or themes) add characters at the begining of the xmlrpc response.

(it is a server error, but it should caught on the mobile side)

  • malformed xml document (like above: ex: BOM on the first line)
  • missing end tag

Change History (1)

comment:1 Changed 2 years ago by daniloercoli

  • Component changed from All platforms to XML-RPC
  • Milestone set to 0.9
  • Version set to 0.8.7
Note: See TracTickets for help on using tickets.