#221 √ resolved
Jason Nesmith

JBW fails to parse <> in auction title

Reported by Jason Nesmith | July 12th, 2008 @ 10:18 PM | in 2.0 Beta 4

Sun Jul 13 06:22:07 CEST 2008: No items on page!

Sun Jul 13 06:23:01 CEST 2008: Failed to load auction title from header: "Hilti TE 56 ATC"

Sun Jul 13 06:23:01 CEST 2008: There was a problem parsing the title.

Sun Jul 13 06:23:01 CEST 2008: Failed to parse auction! Bad return result from auction server.

for

Hilti TE 56 ATC < Bj: 2005 > in Original Koffer

Comments and changes to this ticket

  • Jason Nesmith

    Jason Nesmith July 12th, 2008 @ 10:21 PM

    forgot to say the autction is at

    http://cgi.ebay.de/ws/eBayISAPI....:MEWAX:IT&item=280243331094

  • Morgan Schweers

    Morgan Schweers July 13th, 2008 @ 09:26 PM

    • → Milestone changed from “2.0 Full Release” to “2.0 Beta 4”
    • → State changed from “new” to “open”
    • → Tag changed from “” to “parser”

    Greetings,

    I know... I haven't figured out how to fix it yet. There's no clear way to tell the difference between that and messed up HTML. :(

    I'm still working on it...

    -- Morgan Schweers, CyberFOX!

  • Therese Telepski

    Therese Telepski July 15th, 2008 @ 05:29 PM

    Dear Jason,

    Morgan did address this already in a former ticket.

    The problem is that the 'greater' and 'smaller' signs in ebay titles aren't escaped, but simply written as '>' and '<'. And this in any HTML version marks the end and the beginning of a tag, not of a content. </p><p> So to keep an easy count on their 55 letter limit on titles, ebay doesn't matter to violate every rule of HTML.

    That your browser is able to show the title at all shows that the programmers have spent a lot of work into allowing sloppy WebSite programming. Basically you have to check each occurence of '<' and '>' whether or not it begins and ends a valid tag - which becomes almost impossible as soon as you include XML, too.

    Workarounds for now:

    • Do a manual bid
    • Write to the seller please not to use '<' and '>' in their titles
    • Write to eBay to either disallow certain HTML signs in titles at all or at least to escape them.

    Sincerely,

    Therese

  • Morgan Schweers

    Morgan Schweers July 24th, 2008 @ 02:08 AM

    • → State changed from “open” to “resolved”

    (from [570]) Fix eBay's egregious breakage of HTML standards by including raw < and > characters in their title blocks. I'm sure I'll have to back this out some day, when they fix their page generator, so I've added a configuration option ebay.titleFix which defaults to 'true', and can be overridden to 'false' when eBay gets their code together.

    [#183 state:resolved]

    [#221 state:resolved]

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins