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/

Received on Wednesday, 4 January 2012 21:22:54 UTC