in reply to XML::TreeBuilder invalid token problem

cormanaz:

Just guesses, but:

  • Perhaps the text '%2339;' was originally '#39;'(1) but was incorrectly escaped (missing ';' after the first 3)?
  • Perhaps the '%2339;' represents a unicode character, and the parser doesn't like it?
  • ...roboticus

    (1) Assuming that 0x23 is '#', which I *think* it is, but not certain.

    • Comment on Re: XML::TreeBuilder invalid token problem

    Replies are listed 'Best First'.
    Re^2: XML::TreeBuilder invalid token problem
    by cormanaz (Deacon) on Apr 07, 2007 at 14:53 UTC
      The feed is UTF-8 and I decoded it before sending it to the parser, so hopefully it is not the latter.