Re: Parsing HREFs?

On Sunday 19 February 2006 21:15, you wrote:

>    This example generates an error for "unknown entity section" because
>    the "&" is assumed to begin an entity. Browsers often recover safely
>    from this kind of error, but real problems do occur in some cases. In
>    this example, many browsers convert &copy=3 to ©=3, which may cause
>    the link to fail. Since ⟨ is the HTML entity for the
>    left-pointing angle bracket, some browsers also convert &lang=en to
>    </=en. And one old browser even finds the entity &sect;, converting
>    &section=2 to §ion=2.
>
> Please let me know if you have further suggestions for improvement.

One tiny suggestion:
s/many browsers convert/many browsers correctly convert/

Do you (or anyone) happen to have any data that would enumerate
that "many", or indeed its implied complement?

-- 
Nick Kew

Received on Sunday, 19 February 2006 22:43:33 UTC