Hi Cam,

On 05/18/2008 at 7:59 PM, Cam Bazz wrote:
> SEVERE: org.xmlpull.v1.XmlPullParserException: entity
> reference names can not start with character '\ufffd'

You likely have the sequence "&\ufffd" in a parsed character data section of a 
document, and the parser, seeing the ampersand, knows that either an entity 
reference name or a character reference beginning with '#' must follow.

XML entity reference names can only start with what the XML spec designates as 
Letter characters[1]; U+FFFD is not one of these.

If I'm right, then the document in question is not well-formed XML, and the XML 
spec requires parsers to fail under this circumstance.  Try using xmllint (part 
of the Gnome Libxml2 project[2]) or some other XML well-formedness checker, and 
you should see the same error.

Steve

[1] The XML spec Letter definition: <http://www.w3.org/TR/xml/#NT-Letter>
[2] Gnome Libxml2 project: <http://xmlsoft.org/>

Reply via email to