On Wed, May 18, 2011 at 15:50, <michael.vancann...@wisa.be> wrote: > > > On Wed, 18 May 2011, ik wrote: > > I've created a more simple example: >> >> program uri_test; >> uses URIParser; >> >> var >> URI : TURI; >> >> begin >> > > You don't specify the protocol. > > a URI starts always with "protocol://" > > so http://sip:b...@example.com/ >
The problem is that the SIP URI ( http://tools.ietf.org/html/rfc3261#section-19.1 and http://tools.ietf.org/html/rfc3261#section-19.1.1) are more like the mailto: URI then the HTTP URI. RFC 3986 <http://tools.ietf.org/html/rfc3986> does talk about such structure of URI as well. > > The URIParser unit expects the protocol to be in place. > > Michael. > Thanks, Ido > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal