Hi George,<div><br></div><div>At least for DotNetOpenAuth, only one attribute Type URI in the supported format needs to be listed in the XRDS for DNOA to use that format, and it won&#39;t assume that the set of attributes in the XRDS is a comprehensive list of the attributes offered, so this isn&#39;t a problem to just list one.</div>

<div><br></div><div>In fact, since it does simple pattern matching, if for privacy reasons you wanted to hide which attributes you offer, make one up with one of the 3 patterns, and DNOA will latch onto that pattern and send its request that way.</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; - S. G. Tallentyre<br>
<br><br><div class="gmail_quote">On Fri, Jul 10, 2009 at 9:51 AM, George Fletcher <span dir="ltr">&lt;<a href="mailto:gffletch@aol.com">gffletch@aol.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Sorry, didn&#39;t mean to sound like I didn&#39;t agree. I think more implementations could take the approach you&#39;ve taken Andrew, and then with the registry we could simplify this so that OP&#39;s only have to publish one Type URI instead of one for each attribute. I suppose an OP that wanted to hide which attributes are available (for some privacy reason) could just add a URI to a single attribute that identifies the schema and then the RP would just send it&#39;s normal AX request asking for the data it wants.<br>


<br>
Thanks,<br>
George<br>
<br>
Breno de Medeiros wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Agree with everything that Andrew said<br>
<br></div><div class="im">
On Fri, Jul 10, 2009 at 9:34 AM, Andrew Arnott &lt;<a href="mailto:andrewarnott@gmail.com" target="_blank">andrewarnott@gmail.com</a> &lt;mailto:<a href="mailto:andrewarnott@gmail.com" target="_blank">andrewarnott@gmail.com</a>&gt;&gt; wrote:<br>


<br>
    Presumably the RP has downloaded the OP&#39;s entire XRDS document.<br>
     In that case, the RP just looks through the type URIs advertised<br>
    until it finds a single AX attribute Type URI that matches any of<br>
    the known three patterns, then it chooses that pattern to use.  I<br>
    don&#39;t think that&#39;s ugly, personally, even if there were 100 type<br>
    URIs to sift through.  But I&#39;ve never seen an OP advertise that<br>
    many type URIs, so it doesn&#39;t seem to be too much of a problem.<br>
<br>
<br>
I did not know that some libraries were doing this matching automatically, otherwise we would have added the individual type URIs to Google&#39;s XRDS document (I guess there is still time). The spec doesn&#39;t call for that explicitly.<br>


 <br>
<br>
    Rather than standardizing on a new type URI to indicate which<br>
    pattern to use, which would require some work and agreement, we<br>
    could expend that same effort just standardizing on a single<br>
    pattern that everyone should use.  <br>
<br>
 Please embrace <a href="http://wiki.openid.net/ProposalForAURLSchemaRegistry" target="_blank">http://wiki.openid.net/ProposalForAURLSchemaRegistry</a> and let&#39;s get AX interoperability going.<br>
<br>
<br>
<br>
    --<br>
    Andrew Arnott<br>
    &quot;I [may] not agree with what you have to say, but I&#39;ll defend to<br>
    the death your right to say it.&quot; - S. G. Tallentyre<br>
<br>
<br>
    On Fri, Jul 10, 2009 at 9:29 AM, George Fletcher &lt;<a href="mailto:gffletch@aol.com" target="_blank">gffletch@aol.com</a><br></div><div><div></div><div class="h5">
    &lt;mailto:<a href="mailto:gffletch@aol.com" target="_blank">gffletch@aol.com</a>&gt;&gt; wrote:<br>
<br>
        That will work (though I don&#39;t remember seeing any at the time<br>
        we were implementing OpenID 2.0 RP support). If I understand<br>
        correctly, you are doing some pattern matching against the<br>
        Type URIs to determine which schema is being used. Also, if<br>
        the OP supports 10s or 100s of attributes then this gets<br>
        pretty ugly. I&#39;d prefer a single URI the represents the schema<br>
        being used. The rest is pretty simple from there.<br>
<br>
        Of course it&#39;s possible I misunderstood.<br>
<br>
<br>
        Thanks,<br>
        George<br>
<br>
        Andrew Arnott wrote:<br>
<br>
            George,<br>
<br>
            Are you sure they&#39;re not defined?  AX has attribute Type<br>
            URIs.  I&#39;ve been an advocate that OPs publish all their<br>
            supported AX attribute Type URIs in their XRDS document so<br>
            that RPs know what they might expect from the OP, as well<br>
            as discern which format of type URI that OP supports.<br>
             Some OPs do just this, and DotNetOpenAuth (the RP part)<br>
            automatically detects this from the OP&#39;s XRDS and sends<br>
            either sreg or one of the three known AX type URI formats<br>
            out there based on what it sees in the XRDS.<br>
<br>
            --<br>
            Andrew Arnott<br>
            &quot;I [may] not agree with what you have to say, but I&#39;ll<br>
            defend to the death your right to say it.&quot; - S. G. Tallentyre<br>
<br>
<br>
            On Fri, Jul 10, 2009 at 8:48 AM, George Fletcher<br>
            &lt;<a href="mailto:gffletch@aol.com" target="_blank">gffletch@aol.com</a> &lt;mailto:<a href="mailto:gffletch@aol.com" target="_blank">gffletch@aol.com</a>&gt;<br></div></div><div class="im">
            &lt;mailto:<a href="mailto:gffletch@aol.com" target="_blank">gffletch@aol.com</a> &lt;mailto:<a href="mailto:gffletch@aol.com" target="_blank">gffletch@aol.com</a>&gt;&gt;&gt; wrote:<br>
<br>
               Sure, or just define it in the XRDS for the OP. But<br>
            those aren&#39;t<br>
               currently defined.<br>
<br>
               Thanks,<br>
               George<br>
<br>
<br>
               SitG Admin wrote:<br>
<br>
                       One other issue is that AX supports multiple<br>
            schema and<br>
                       there is currently no way for the OP to<br>
            advertise which<br>
                       schema it&#39;s using. So an RP has to build it&#39;s<br>
            own mapping<br>
                       table to know what to send to the OP when using AX.<br>
<br>
<br>
                   Common key/API with &quot;schema translation table&quot; AX link?<br>
<br>
                   -Shade<br>
<br>
               _______________________________________________<br>
               general mailing list<br>
               <a href="mailto:general@openid.net" target="_blank">general@openid.net</a> &lt;mailto:<a href="mailto:general@openid.net" target="_blank">general@openid.net</a>&gt;<br></div>
            &lt;mailto:<a href="mailto:general@openid.net" target="_blank">general@openid.net</a> &lt;mailto:<a href="mailto:general@openid.net" target="_blank">general@openid.net</a>&gt;&gt;<div class="im"><br>
<br>
               <a href="http://openid.net/mailman/listinfo/general" target="_blank">http://openid.net/mailman/listinfo/general</a><br>
<br>
<br>
<br>
<br>
<br>
    _______________________________________________<br>
    general mailing list<br>
    <a href="mailto:general@openid.net" target="_blank">general@openid.net</a> &lt;mailto:<a href="mailto:general@openid.net" target="_blank">general@openid.net</a>&gt;<br>
    <a href="http://openid.net/mailman/listinfo/general" target="_blank">http://openid.net/mailman/listinfo/general</a><br>
<br>
<br>
<br>
<br></div><div class="im">
-- <br>
--Breno<br>
<br>
+1 (650) 214-1007 desk<br>
+1 (408) 212-0135 (Grand Central)<br>
MTV-41-3 : 383-A<br>
PST (GMT-8) / PDT(GMT-7)<br>
</div></blockquote>
<br>
</blockquote></div><br></div>