[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [PATCH] URI, URL, FOO, URN
From:       "Dawit A." <adawit () kde ! org>
Date:       2005-03-16 13:37:08
Message-ID: 200503160837.08636.adawit () kde ! org
[Download RAW message or body]

On Wednesday 16 March 2005 07:55, David Faure wrote:
> On Wednesday 16 March 2005 13:42, Thiago Macieira wrote:
> > Frans Englich wrote:
> > >Then I'll commit the class to kdecore/ later today or tomorrow,
> > > something like that.
> >
> > For KDE 4, I'd like to see URN/URI/URL sanitised in proper classes.
>
> OK, but not necessarily with KURN in kdelibs, right?
> I mean, KURL (i.e. URLs+URIs) is a core piece of KDE since everything that
> can be downloaded or uploaded or listed is a KURL.
> But KURNs seem related to XML parsing and processing, and the class
> doesn't seem to be useful by itself. So it should IMHO not be in kdecore,
> but together with whichever class or library needs it.

Actually URI is superset of both URLs and URNs, i.e. it encompasses both of 
them. If your parser is properly written on the basis of the URI spec. (RFC 
2396), then it should be able to handle both URLs and URNs. This was the 
original intention of the KURL parser before it got changed to be too 
specific and everything including the kitchen sink got added to it. But then 
again correctness here is meaningless since as you said KURL is a centeral 
piece of software that affects way too many application in KDE...

-- 
Regards,
Dawit A.
"Practice what you preach, preach what you practice"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic