Re: problems with datatype literals

btw henry,

did you remove cleanHexString method from your codebase?
if yes then why?

wkr j

----- Original Message -----
From: "Jürgen Jakobitsch" <j.jakobitsch@semantic-web.at>
To: "rzeno" <ruset.zeno@gmail.com>
Cc: public-webid@w3.org
Sent: Thursday, January 26, 2012 1:02:22 AM
Subject: Re: problems with datatype literals

hi,

thanks for error-reporting.
i have updated WebIDRealm [1] to at least check if the datatype
is set correctly. parsing is still the same.
in your case WebIDRealm now throws a RDFParseException that states
that a modulus was found of which the datatype is not XMLSchema.HEXBINARY,
same for exponent with XMLSchema.INTEGER

wkr j

[1] http://webid.turnguard.com/WebIDTestServer/debug



----- Original Message -----
From: "rzeno" <ruset.zeno@gmail.com>
To: public-webid@w3.org
Sent: Thursday, January 26, 2012 12:22:46 AM
Subject: problems with datatype literals

hi,

accidentaly Henry Store discover a problem with checking validity of
datatypes literals, more specific with checking if modulus is hexBinary
in webid case.

in my foaf, the prefix for hexBinary is wrong:

http://www/w3/org/2001/XMLSchema#hexBinary

notice the slashes between www, w3 and org.

tested on:

https://foafssl.org/test/WebId -> say that fail

http://webidauth.rhizolab.org/  -> 'Give it a try' => and was ok
https://data.fm/test/webid      -> field verified contain the webid
https://resourceme.bergnet.org/news/ -> i used login, was ok
https://webid.turnguard.com:8443/WebIDTestServer/ -> i used debug and said
that all 16 tests are okr
http://webid.fcns.eu/  -> webid login, was ok.

i know that checking if a literal is valid according to the datatype
doesn't have a simple solution in the general case so probably the best bet
is to implement a specific solution for this case but i think anyway is
important to take a decision about this, at least what implication could
have and how important is.

PS: my webid is http://sort-of.strangled.net/foaf.rdf#me in case you need.

best regards


--
| 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
| xmlns:tg  = "http://www.turnguard.com/turnguard#"


-- 
| 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
| xmlns:tg  = "http://www.turnguard.com/turnguard#"

Received on Thursday, 26 January 2012 00:13:42 UTC