XML parser issues
|Reported by:||daniloercoli||Owned by:|
|Component:||XML-RPC||Version:||0.8.7 Symbian^3 and S60 5th Ed|
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.
- 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