HTML discovery: SGML entities and charsets

Josh Hoyt josh at janrain.com
Mon May 21 18:50:32 UTC 2007


Claus,

On 5/20/07, Claus Färber <GMANE at faerber.muc.de> wrote:
> Peter Watkins schrieb:
> > 7.3.3 in draft 11 says
> >
> > The "openid2.provider" and "openid2.local_id" URLs MUST NOT include entities other than "&amp;", "&lt;", "&gt;", and "&quot;". Other characters that would not be valid in the HTML document or that cannot be represented in the document's character encoding MUST be escaped using the percent-encoding (%xx) mechanism described in [RFC3986] (Berners-Lee, T., .Uniform Resource Identifiers (URI): Generic Syntax,. .).
>
> Please note that the draft is completely broken here:

Can you suggest improvements and examples or test cases of how you
think it should work?

There has been a little discussion in the past about the restriction
on allowed character entity references. I don't think there has been
any about numeric character references, except in lumping them in with
character entity references.

These restrictions live on from the OpenID 1 specification, and were
preserved primarily to ease backwards compatibility (IIRC).

Josh



More information about the specs mailing list