Peter,<div><br></div><div>I&#39;d say what you&#39;re missing is that not all HTML is well-formed XML. &nbsp;If I shot all HTML that dotnetopenid downloaded through an XML parser, dotnetopenid code would look wonderful and perfect... and only 20% of HTML pages with OpenID tags would even be discoverable because the HTML in the other 80% is not well-formed.</div>
<div><br clear="all">--<br>Andrew Arnott<br>&quot;I [may] not agree with what you have to say, but I&#39;ll defend to the death your right to say it.&quot; - Voltaire<br>
<br><br><div class="gmail_quote">On Thu, Jan 8, 2009 at 9:05 AM, Peter Williams <span dir="ltr">&lt;<a href="mailto:pwilliams@rapattoni.com">pwilliams@rapattoni.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">









<div lang="EN-US" link="blue" vlink="purple">

<div>

<p><span style="font-size:11.0pt;color:#1F497D">I'm missing something (big, obviously).</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">&nbsp;</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">If DotNetOpenID can delegate to the platform for https, why
cannot it delegate to the platform for XML: &nbsp;just treat the HTML as an XML
stream, and build a DOM tree using .NET libraries?</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">&nbsp;</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">&nbsp;</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">&nbsp;</span></p>

<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">

<div>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">

<p><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:general-bounces@openid.net" target="_blank">general-bounces@openid.net</a>
[mailto:<a href="mailto:general-bounces@openid.net" target="_blank">general-bounces@openid.net</a>] <b>On Behalf Of </b>Andrew Arnott<br>
<b>Sent:</b> Thursday, January 08, 2009 8:56 AM<br>
<b>To:</b> Chris Messina<br>
<b>Cc:</b> <a href="mailto:general@openid.net" target="_blank">general@openid.net</a> List<br>
<b>Subject:</b> Re: [OpenID] HTML-Based Discovery incompatibilities</span></p>

</div>

</div><div><div></div><div class="Wj3C7c">

<p>&nbsp;</p>

<div>

<p>Chris,</p>

</div>

<div>

<p>&nbsp;</p>

</div>

<div>

<p>While you bring up a good issue, and it is a problem with
the libraries, I would be against building this into the OpenID spec because
this is just following the HTML spec, as you point out. &nbsp;There are many
more rules in HTML that a good RP discovery library should follow (like
ignoring commented out HTML tags, javascript, etc.), and these rules don&#39;t
belong in the OpenID spec either, IMO.</p>

</div>

<div>

<p>&nbsp;</p>

</div>

<div>

<p>FWIW, dotnetopenid is one library that can handle both
formats you listed. &nbsp;But I do not claim that it has a full browser-quality
HTML parser. &nbsp;Just like every library, I imagine, I had to choose how much
time to invest in HTML discovery. &nbsp;Unless there&#39;s a decent open-source
HTML parser available for C#, I don&#39;t think any C# openid library will ever
have &quot;perfect&quot; html discovery by the HTML spec anyway.</p>

</div>

<p style="margin-bottom:12.0pt"><br clear="all">
--<br>
Andrew Arnott<br>
&quot;I [may] not agree with what you have to say, but I&#39;ll defend to the death
your right to say it.&quot; - Voltaire<br>
<br>
</p>

<div>

<p>On Thu, Jan 8, 2009 at 12:58 AM, Chris Messina &lt;<a href="mailto:chris.messina@gmail.com" target="_blank">chris.messina@gmail.com</a>&gt; wrote:</p>

<p>I just read over SS 7.3.3 on HTML-Based Discovery [1], and
considering my experience today trying to re-delegate my OpenID, I&#39;ve
discovered that this section needs to updated a clarified.<br>
<br>
It turns out that relying parties are not parsing HTML rel values in a standard
way. That is, if there is more than one rel value provided for a link, some RPs
fail, whereas others work fine.<br>
<br>
In other words, this:<br>
<br>
&nbsp; &nbsp;&lt;link rel=&quot;<span style="background:#FFFF33">openid2.provider
openid.server</span>&quot; href=&quot;<a href="http://factoryjoe.com/blog/" target="_blank">http://factoryjoe.com/blog/</a>&quot; /&gt;<br>
&nbsp; &nbsp;&lt;link rel=&quot;<span style="background:#FFFF33">openid2.local_id
openid.delegate</span>&quot; href=&quot;<a href="http://factoryjoe.com/blog/" target="_blank">http://factoryjoe.com/blog/</a>&quot; /&gt;<br>
<br>
is not the same as this:<br>
<br>
&nbsp; &nbsp;&lt;link rel=&quot;<span style="background:#FFFF33">openid2.provider</span>&quot;
href=&quot;<a href="http://factoryjoe.com/blog/?openid_server=1" target="_blank">http://factoryjoe.com/blog/?openid_server=1</a>&quot;
/&gt;<br>
&nbsp; &nbsp;&lt;link rel=&quot;<span style="background:#FFFF33">openid2.local_id</span>&quot;
href=&quot;<a href="http://factoryjoe.com/blog/author/factoryjoe/" target="_blank">http://factoryjoe.com/blog/author/factoryjoe/</a>&quot; /&gt;<br>
&nbsp; &nbsp;&lt;link rel=&quot;<span style="background:#FFFF33">openid.server</span>&quot;
href=&quot;<a href="http://factoryjoe.com/blog/?openid_server=1" target="_blank">http://factoryjoe.com/blog/?openid_server=1</a>&quot;
/&gt;<br>
&nbsp; &nbsp;&lt;link rel=&quot;<span style="background:#FFFF33">openid.delegate</span>&quot;
href=&quot;<a href="http://factoryjoe.com/blog/author/factoryjoe/" target="_blank">http://factoryjoe.com/blog/author/factoryjoe/</a>&quot; /&gt;<br>
<br>
It&#39;s my understanding that the rel attribute should be able to contain several
values.</p>

<div>

<p>&nbsp;</p>

</div>

<div>

<p>But I can tell you that IntenseDebate, for example, failed
when delegation was setup using the former code. It only worked when I broke
out the two links into four.</p>

</div>

<div>

<p>&nbsp;</p>

</div>

<div>

<p>I&#39;m not sure if this is an issue with the libraries or what,
but I&#39;d like to know if other people have experienced this problem, and if we
can improve the language in the spec to make sure that people understand that
they need to look for the presence of an element in a rel value -- not that the
*entire* value is one element.</p>

<div>

<p>&nbsp;</p>

</div>

<div>

<p style="margin-bottom:12.0pt">Chris<br>
<br>
[1]&nbsp;<a href="http://openid.net/specs/openid-authentication-2_0.html#html_disco" target="_blank">http://openid.net/specs/openid-authentication-2_0.html#html_disco</a><br>
<br>
-- <br>
Chris Messina<br>
Citizen-Participant &amp;<br>
&nbsp;Open Web Advocate-at-Large<br>
<br>
<a href="http://factoryjoe.com" target="_blank">factoryjoe.com</a> # <a href="http://diso-project.org" target="_blank">diso-project.org</a><br>
<a href="http://citizenagency.com" target="_blank">citizenagency.com</a> # <a href="http://vidoop.com" target="_blank">vidoop.com</a><br>
This email is: &nbsp; [ ] bloggable &nbsp; &nbsp;[X] ask first &nbsp; [ ]
private</p>

</div>

</div>

<p style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
general mailing list<br>
<a href="mailto:general@openid.net" target="_blank">general@openid.net</a><br>
<a href="http://openid.net/mailman/listinfo/general" target="_blank">http://openid.net/mailman/listinfo/general</a></p>

</div>

<p>&nbsp;</p>

</div></div></div>

</div>

</div>


</blockquote></div><br></div>