Rubyful Soup/SGML Parser parses newlines as an entity

Discussion in 'Ruby' started by Srijayanth Sridhar, May 23, 2008.

  1. Hello,

    I have a problem with Rubyful Soup parsing "\n" as an entity. This
    makes for some very hard parsing and navigation around the parse tree.
    I looked around and found but one page citing this problem and even
    that happened to be against Python. I am posting the link here:

    http://groups.google.com/group/beautifulsoup/browse_thread/thread/177b1d80e6d76cee

    Anyone have any better solutions?

    Thank you,

    Jayanth
     
    Srijayanth Sridhar, May 23, 2008
    #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. Clifford W. Racz
    Replies:
    4
    Views:
    2,040
    Clifford W. Racz
    Feb 13, 2004
  2. Zach Dennis

    HTML-Parser / SGML-Parser

    Zach Dennis, Oct 1, 2003, in forum: Ruby
    Replies:
    5
    Views:
    415
    Bernard Delmée
    Oct 1, 2003
  3. Leonard Richardson

    Rubyful Soup v0.8

    Leonard Richardson, Aug 19, 2005, in forum: Ruby
    Replies:
    3
    Views:
    107
    TLOlczyk
    Aug 20, 2005
  4. Dan Kohn
    Replies:
    9
    Views:
    271
    Dan Kohn
    Sep 13, 2005
  5. Wes Gamble

    Hpricot/Rubyful Soup comparison

    Wes Gamble, Nov 21, 2006, in forum: Ruby
    Replies:
    17
    Views:
    222
    Ross Bamford
    Nov 25, 2006
Loading...

Share This Page