- From: Henry Story <henry.story@bblfish.net>
- Date: Mon, 28 Mar 2011 11:08:35 +0200
- To: bergi <bergi@axolotlfarm.org>
- Cc: public-xg-webid@w3.org
On 27 Mar 2011, at 17:37, bergi wrote: > Yesterday I had a look at the evaluation and report language schema and > was thinking about the missing part for the webid tests. I have created > a proposal for a generic authentication schema [1]. > > Here are some examples [2] how the output could look like. The > 'TestResult' gets a new child 'Authentication'. The 'Authentication' > itself can have a 'Status' or the 'Status' can be assigned to an 'ID'. > In the WebID case a missing x509v3 san uri extension can be represented > with a 'Failure' (sub property of 'Status') as a child of > 'Authentication'. If the WebID certificate contains multiple uris each > 'ID' can have it's own 'Status'. > > If you're confused, just have a look at the examples. > > The schema also contains some user/password authentification stuff. > > > [1] http://ns.bergnet.org/rdf/authentication/0.1/index.rdf.xml > [2] http://ns.bergnet.org/rdf/authentication/0.1/example.rdf.xml Hi Bergi, This looks like it is going in the right direction, though I have no experience with the test ontology yet. I tried to look at your example, but when cwm on it I get the following error. (I like to use cwm to transform input into n3 which I can read more easily.) $ cwm http://ns.bergnet.org/rdf/authentication/0.1/example.rdf.xml #Processed by Id: cwm.py,v 1.197 2007/12/13 15:38:39 syosi Exp # using base http://ns.bergnet.org/rdf/authentication/0.1/example.rdf.xml http://ns.bergnet.org/rdf/authentication/0.1/example.rdf.xml Traceback (most recent call last): File "/Users/hjs/Programming/w3.org/2000/10/swap/cwm.py", line 750, in <module> doCommand() File "/Users/hjs/Programming/w3.org/2000/10/swap/cwm.py", line 455, in doCommand why=myReason) File "/Users/hjs/Programming/w3.org/2000/10/swap/webAccess.py", line 210, in load p.feed(buffer) File "/Users/hjs/Programming/w3.org/2000/10/swap/sax2rdf.py", line 901, in feed self._p.feed(data) File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/sax/expatreader.py", line 207, in feed self._parser.Parse(data, isFinal) File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/sax/expatreader.py", line 338, in start_element_ns AttributesNSImpl(newattrs, qnames)) File "/Users/hjs/Programming/w3.org/2000/10/swap/sax2rdf.py", line 631, in startElementNS in nested context:\n%s""" %(name, qname, attrs, str)) swap.sax2rdf.BadSyntax: Expected no value, found name=(u'http://ns.bergnet.org/rdf/authentication/0.1/', u'ID'); qname=None, attrs=<xml.sax.xmlreader.AttributesNSImpl instance at 0x1014d8368> in nested context: ['outermost level', {4}, None, None, None, 'http://ns.bergnet.org/rdf/authentication/0.1/example.rdf.xml'] ['no context', {4}, None, None, None, 'http://ns.bergnet.org/rdf/authentication/0.1/example.rdf.xml'] ['Description (have subject)', {4}, None, result1, None, 'http://ns.bergnet.org/rdf/authentication/0.1/example.rdf.xml'] ['no value', {4}, authn:Authentication, result1, None, 'http://ns.bergnet.org/rdf/authentication/0.1/example.rdf.xml'] > >> >> Night! >> >>>> >>>> Henry >>>> >>>>> Cheers, >>>>> Michael >>>>> >>>>> [1] http://www.w3.org/2006/03/test-description >>>>> [2] http://www.w3.org/TR/EARL10-Schema/ >>>>> [3] http://rdfa.digitalbazaar.com/test-suite/manifest.ttl Social Web Architect http://bblfish.net/
Received on Monday, 28 March 2011 09:09:12 UTC