I have a server component which uses SAXParser (javax.xml.parsers.SAXParserFactory) to parse an XML. I am reusing this library in my phonegap app for android. The problem is that when I use the library to communicate to the server and parse the response from the server, it fails with - Malformed XML - exception. However, if I use the same library from normal Java program, the response from the server is processed fine by the parser and there is no error. I compared the XML payloads in both android and normal javacase and they are exactly the same.
The Parser is not at android level. Android app via phonegap javascript simply calls my Java library to connect to server and process the response. Android does not process any XML. I checked my java lib and set isValidating and isNamespaceAware both to false, still same error from Android (works fine from normal java) I know that this is a very vague and strange question with very little to go on but I am out of ideas. Any ideas or hints would be helpful. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

