ASK: URI validation service

View: New views
5 Messages — Rating Filter:   Alert me  

ASK: URI validation service

by Michael Schneider-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

Is there any online URI/IRI validation service, which takes a string and reliably tells me whether the string matches the specification of a URI or IRI according to RFC 3986 or RFC 3987, respectively?

Cheers,
Michael

--
Dipl.-Inform. Michael Schneider
Research Scientist, Dept. Information Process Engineering (IPE)
Tel  : +49-721-9654-726
Fax  : +49-721-9654-727
Email: michael.schneider@...
WWW  : http://www.fzi.de/michael.schneider
=======================================================================
FZI Forschungszentrum Informatik an der Universität Karlsruhe
Haid-und-Neu-Str. 10-14, D-76131 Karlsruhe
Tel.: +49-721-9654-0, Fax: +49-721-9654-959
Stiftung des bürgerlichen Rechts, Az 14-0563.1, RP Karlsruhe
Vorstand: Prof. Dr.-Ing. Rüdiger Dillmann, Dipl. Wi.-Ing. Michael Flor,
Prof. Dr. Dr. h.c. Wolffried Stucky, Prof. Dr. Rudi Studer
Vorsitzender des Kuratoriums: Ministerialdirigent Günther Leßnerkraus
=======================================================================



smime.p7s (4K) Download Attachment

Re: ASK: URI validation service

by Bjoern Hoehrmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

* Michael Schneider wrote:
>Is there any online URI/IRI validation service, which takes a string and
>reliably tells me whether the string matches the specification of a URI
>or IRI according to RFC 3986 or RFC 3987, respectively?

http://www.websitedev.de/temp/rfc3986-check.html.gz does that for URIs.
--
Björn Höhrmann · mailto:bjoern@... · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 


Re: ASK: URI validation service

by Phil Archer-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Michael,

This may not be robust enough for your needs but I just use a regex for
scheme://host/path URIs/IRIs. If it matches, it's a URI:

(/^[^:\/?#]+:\/\/[^\.\/\/\#]+\.[^\.\/\/\#]+[^\/\/\#]*\//)

This is based on the one in the POWDER Grouping spec [1].

Cheers

Phil.


[1] http://www.w3.org/TR/powder-grouping/#rabinsRegEx



Michael Schneider wrote:

> Hi!
>
> Is there any online URI/IRI validation service, which takes a string and reliably tells me whether the string matches the specification of a URI or IRI according to RFC 3986 or RFC 3987, respectively?
>
> Cheers,
> Michael
>
> --
> Dipl.-Inform. Michael Schneider
> Research Scientist, Dept. Information Process Engineering (IPE)
> Tel  : +49-721-9654-726
> Fax  : +49-721-9654-727
> Email: michael.schneider@...
> WWW  : http://www.fzi.de/michael.schneider
> =======================================================================
> FZI Forschungszentrum Informatik an der Universität Karlsruhe
> Haid-und-Neu-Str. 10-14, D-76131 Karlsruhe
> Tel.: +49-721-9654-0, Fax: +49-721-9654-959
> Stiftung des bürgerlichen Rechts, Az 14-0563.1, RP Karlsruhe
> Vorstand: Prof. Dr.-Ing. Rüdiger Dillmann, Dipl. Wi.-Ing. Michael Flor,
> Prof. Dr. Dr. h.c. Wolffried Stucky, Prof. Dr. Rudi Studer
> Vorsitzender des Kuratoriums: Ministerialdirigent Günther Leßnerkraus
> =======================================================================
>

--

Phil Archer
http://philarcher.org/

i-sieve technologies                |      W3C Mobile Web Initiative
Beyond Impressions                  |      www.w3.org/Mobile


Re: ASK: URI validation service

by Ivan Herman-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This one is pretty cool:-) Thx.

I.

Bjoern Hoehrmann wrote:
> * Michael Schneider wrote:
>> Is there any online URI/IRI validation service, which takes a string and
>> reliably tells me whether the string matches the specification of a URI
>> or IRI according to RFC 3986 or RFC 3987, respectively?
>
> http://www.websitedev.de/temp/rfc3986-check.html.gz does that for URIs.

--

Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf


smime.p7s (4K) Download Attachment

RE: ASK: URI validation service

by Michael Schneider-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi again!

Thanks to all for your answers.

Björn's service comes closest to what I was asking for, and is very nice.

Cheers,
Michael

>-----Original Message-----
>From: Bjoern Hoehrmann [mailto:derhoermi@...]
>Sent: Tuesday, June 23, 2009 5:15 PM
>To: Michael Schneider
>Cc: semantic-web@...
>Subject: Re: ASK: URI validation service
>
>* Michael Schneider wrote:
>>Is there any online URI/IRI validation service, which takes a string
>and
>>reliably tells me whether the string matches the specification of a URI
>>or IRI according to RFC 3986 or RFC 3987, respectively?
>
>http://www.websitedev.de/temp/rfc3986-check.html.gz does that for URIs.
>--
>Björn Höhrmann · mailto:bjoern@... · http://bjoern.hoehrmann.de
>Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
>25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
--
Dipl.-Inform. Michael Schneider
Research Scientist, Dept. Information Process Engineering (IPE)
Tel  : +49-721-9654-726
Fax  : +49-721-9654-727
Email: michael.schneider@...
WWW  : http://www.fzi.de/michael.schneider
=======================================================================
FZI Forschungszentrum Informatik an der Universität Karlsruhe
Haid-und-Neu-Str. 10-14, D-76131 Karlsruhe
Tel.: +49-721-9654-0, Fax: +49-721-9654-959
Stiftung des bürgerlichen Rechts, Az 14-0563.1, RP Karlsruhe
Vorstand: Prof. Dr.-Ing. Rüdiger Dillmann, Dipl. Wi.-Ing. Michael Flor,
Prof. Dr. Dr. h.c. Wolffried Stucky, Prof. Dr. Rudi Studer
Vorsitzender des Kuratoriums: Ministerialdirigent Günther Leßnerkraus
=======================================================================



smime.p7s (4K) Download Attachment