Dawit A. adawit at kde.org
Wed Mar 16 13:37:08 GMT 2005

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...

Dawit A.
"Practice what you preach, preach what you practice"

More information about the kde-core-devel mailing list