Hi,

Thank you for the reply.

> Something's not right. Although I have no experience with
> DocumentBuilder, (ask me a SAXParser question, please!)
I'm starting to think about converting it all to SAX!

> the API
> reference, 
> http://developer.android.com/intl/de/reference/org/w3c/dom/EntityReference.html,
> appears to say that character references should be expanded. What HTML
> or XML processor, refered to in the API, are you using?
I'm not sure what these terms mean exactly so I may not be responding 
accurately.

I use the following to retrieve a response from the server:

                ResponseHandler<String> responseHandler = new 
BasicResponseHandler();
                String xmlResponse = httpClient.execute(getMethod, 
responseHandler);

(httpClient is from org.apache.http.client.HttpClient)

I then create a document using the following:

                DocumentBuilder builder = 
DocumentBuilderFactory.newInstance().newDocumentBuilder();
                Document doc = builder.parse(new 
ByteArrayInputStream(xmlResponse.getBytes()));

Regards.
Julius.

-- 
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

Reply via email to