Re: WebIDRealm RDFa

On 4 Jan 2012, at 22:00, Jürgen Jakobitsch wrote:

> hi henry,
> 
> i don't think thats the problem.
> 
> i now removed every whitespace to have one single row of characters (like here http://www.turnguard.com/turnguard)
> now the test fails because it assumes that the key from the profile and the key from the certificate are not equal.

I still get your old rdfa.

> 
> i attached a screeny.

yes, my foafssl does not report carefully enough what the problem is.
It looks like it finds a number (perhaps the parser just stops at the first number below, and this of course does not match the number in your rdfa profile.

> 
> please also take a look at the source code from http://2sea.org/sea.jsp#j to see how it looks there.

 curl http://2sea.org/sea.jsp#j

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:skos="http://www.w3.org/2004/02/skos/core#"
        xmlns:foaf="http://xmlns.com/foaf/0.1/"
        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
        xmlns:dc="http://purl.org/dc/elements/1.1/"
        xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
        xmlns:dcterms="http://purl.org/dc/terms/"
	xmlns:turnguard="http://www.turnguard.com/"
        xmlns:cert="http://www.w3.org/ns/auth/cert#"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
	xmlns:contact="http://www.w3.org/2000/10/swap/pim/contact#">
  <head>
    <title>2sea.org</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta http-equiv="Pragma" content="no-cache"/>
    <meta http-equiv="Cache-Control" content="no-cache,no-store"/>
  </head>
<body>
<div typeof="foaf:PersonalProfileDocument" about="http://2sea.org/sea.jsp">
  <div rel="foaf:maker">
   <div typeof="foaf:Person" about="http://2sea.org/sea.jsp#j">
    <div property="foaf:name">jürgen</div>
    <div rel="foaf:depiction" href="http://2sea.org/2sealogo.png"/>
    <div rel="cert:key">
     <div typeof="cert:RSAPublicKey">
      <div datatype="xsd:hexBinary" property="cert:modulus">986534d06d133821f40157c15891857d
537d20af028656ddca1caf93cd3cc910
4d4f172cf14d6102ddf13b16852c09b3
fccb0a2fe2a2e895b8f5993fd87321d1
a03b656cac78726715f7198f7c5d539b
8197fd35bafe274ceade6694ec38c866
09a25d6988f6e749f401c37145ac1114
2d84d775f4f929dbcd6ba809ab4e39b3
dc36087062efcf73050e313f60929b7f
969b8b6bc80e25ef6000bbe66d6925ab
a09aed8a16271d6d9651edb27c6bb50a
1ffc6bc7d8bfe8346965cf0b59933853
52157fb7df1b143a97ac7d642428c1f8
7dd7988364115dcfa05cfb020b595417
feb54febaa8ac4a81c40ba9ac1dc6a09
7f53b379ba9850e0a45e2f1c452f3743</div>
      <div datatype="xsd:integer" property="cert:exponent">65537</div>
     </div>
    </div>
   </div>
  </div>
</div>
</body>
</html>


I still get all the newlines in your html. Did you publish the new version?

> 
> please note :
> 
> how to i copy the modulus from cert to profile :
> 
> 1. open cert in firefox
> 2. copy the modulus
> 3. paste it into texteditor (gedit on openSuse)
> 4. replace all whitespaces by "nothing"
> 5. mark all and copy the text again to clipboard
> 6. insert it in my profile (vim on openSuse)
> 7. remove leading and trailing whitespaces from pasting

Yes, that should be ok. But did you publish your new RDFa?

In any case foafssl.org has a problem in that it only fetches a profile every five minutes. That is something that needs to be fixed.


> 
> wkr j
> 
> ----- Original Message -----
> From: "Henry Story" <henry.story@bblfish.net>
> To: "Jürgen Jakobitsch" <j.jakobitsch@semantic-web.at>
> Cc: "Peter Williams" <home_pw@msn.com>, public-xg-webid@w3.org
> Sent: Wednesday, January 4, 2012 9:51:51 PM
> Subject: Re: WebIDRealm RDFa
> 
> 
> On 4 Jan 2012, at 21:39, Jürgen Jakobitsch wrote:
> 
>> btw,
>> 
>> i just realized that http://2sea.org/sea.jsp#j
>> doesn't pass the authentication here https://foafssl.org/test/WebId
>> 
>> http://validator.w3.org says its valid xhtml+rdfa
>> http://rdf-translator.appspot.com/ and http://www.w3.org/2007/08/pyRdfa/ parse without problem
> 
> Ok, so I look at
> http://www.w3.org/2007/08/pyRdfa/
> 
> and the graph returned is
> 
> @prefix cert: <http://www.w3.org/ns/auth/cert#> .
> @prefix contact: <http://www.w3.org/2000/10/swap/pim/contact#> .
> @prefix dc: <http://purl.org/dc/elements/1.1/> .
> @prefix dcterms: <http://purl.org/dc/terms/> .
> @prefix foaf: <http://xmlns.com/foaf/0.1/> .
> @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
> @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
> @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
> @prefix turnguard: <http://www.turnguard.com/> .
> @prefix xhv: <http://www.w3.org/1999/xhtml/vocab#> .
> @prefix xml: <http://www.w3.org/XML/1998/namespace> .
> @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
> 
> 
> <http://2sea.org/sea.jsp> a foaf:PersonalProfileDocument ;
>     foaf:maker <http://2sea.org/sea.jsp#j> .
> 
> <http://2sea.org/sea.jsp#j> a foaf:Person ;
>     cert:key
>         [ a cert:RSAPublicKey ;
>             cert:exponent "65537"^^xsd:integer ;
>             cert:modulus """
> 986534d06d133821f40157c15891857d
> 537d20af028656ddca1caf93cd3cc910
> 4d4f172cf14d6102ddf13b16852c09b3
> fccb0a2fe2a2e895b8f5993fd87321d1
> a03b656cac78726715f7198f7c5d539b
> 8197fd35bafe274ceade6694ec38c866
> 09a25d6988f6e749f401c37145ac1114
> 2d84d775f4f929dbcd6ba809ab4e39b3
> dc36087062efcf73050e313f60929b7f
> 969b8b6bc80e25ef6000bbe66d6925ab
> a09aed8a16271d6d9651edb27c6bb50a
> 1ffc6bc7d8bfe8346965cf0b59933853
> 52157fb7df1b143a97ac7d642428c1f8
> 7dd7988364115dcfa05cfb020b595417
> feb54febaa8ac4a81c40ba9ac1dc6a09
> 7f53b379ba9850e0a45e2f1c452f3743
>      """^^xsd:hexBinary
>         ] ;
>     foaf:depiction <http://2sea.org/2sealogo.png> ;
>     foaf:name "jürgen" .
> 
> 
> But your cert:modulus is not a well formed hexBinary. A hexBinary I believe only allows white space at the beginning and end of
> the URI, not newlines in between.
> 
> So the other parsers are not conforming to spec at this level.
> 
> Henry
> 
>> i attached the screenshot from foafssl.org
>> 
>> any idea?
>> 
>> wkr http://www.turnguard.com/turnguard
>> 
>> <Screenshot-WebId Tests - Mozilla Firefox.png>
> 
> Social Web Architect
> http://bblfish.net/
> 
> 
> --
> | Jürgen Jakobitsch,
> | Software Developer
> | Semantic Web Company GmbH
> | Mariahilfer Straße 70 / Neubaugasse 1, Top 8
> | A - 1070 Wien, Austria
> | Mob +43 676 62 12 710 | Fax +43.1.402 12 35 - 22
> 
> COMPANY INFORMATION
> | http://www.semantic-web.at/
> 
> PERSONAL INFORMATION
> | web   : http://www.turnguard.com
> | foaf  : http://www.turnguard.com/turnguard
> | skype : jakobitsch-punkt
> <Screenshot-WebId Tests - Mozilla Firefox-1.png>

Social Web Architect
http://bblfish.net/

Received on Thursday, 5 January 2012 06:10:25 UTC