XML::Parser and character references

Discussion in 'Perl Misc' started by arne, Sep 16, 2005.

  1. arne

    arne Guest

    Hi

    My script user XMl::TreeBuilder (so, XML::parser:):Expat)), and I have an
    issue with character references)

    when ->as_XML() output's XML, special characters are encoded as &#...;
    (where ... is numeric value).

    My receiving php parser handles this fine.

    when the receiving parser in perl (also Expat) wants to parse them, those
    characters are messed up. (tried many encoding="").

    is there a known issue or have I forgotten something? doesn't Expat know
    how to parse those character references?

    thx
    Arne
    arne, Sep 16, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Olli Plough
    Replies:
    4
    Views:
    372
  2. arne
    Replies:
    0
    Views:
    351
  3. Erik Wasser
    Replies:
    5
    Views:
    449
    Peter J. Holzer
    Mar 5, 2006
  4. Sean
    Replies:
    3
    Views:
    271
    robic0
    Oct 3, 2006
  5. Sean
    Replies:
    0
    Views:
    366
Loading...

Share This Page