Consider the following string resource copied from the Android documentation page, String Resources:
<string name="welcome">Welcome to <b>Android</b>!</string>
adapter-android needs to read the full, raw text content as a string, with no additional processing of child elements. This doesn't seem to be possible with either of the XML readers I've tried so far: Java API for XML Processing (org.w3c.dom), and jackson-dataformat-xml. Being concerned with standards compliance, they rightly see the b as a child element of string, rather than part of its text content. This results in the pseudolocalized output strings being mangled in some way depending on the behavior of the XML reader in use.