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

List:       koffice-devel
Subject:    Re: About xslt filter
From:       Nicolas Goutte <nicog () snafu ! de>
Date:       2002-01-20 21:29:49
[Download RAW message or body]

On Sunday 20 January 2002 13:21, Robert Jacolin wrote:
> Le sam, 19 jan 2002, David Faure a écrit :
> > On Saturday 19 January 2002 23:27, Robert Jacolin wrote:

(...)

>
> > > I saw in this list that desktop file for format mustn't be in koffice
> > > but in kdelibs. Someone can say me what is the procedure. It's about 
> > > my x-xslt.desktop and x-xslfo.desktop files.
> >
> > Yes, please add those to kdelibs/mimetypes/application (assuming it's
> > application/ and not text/)
>
> hmm. xsl:fo is a xml format not tied to an application (like tex). For xslt
> is not really a document format,
> Waiting for comments ...

According to section 8.17 of the (proposed) RFC 3023 ( 
ftp://ftp.isi.edu/in-notes/rfc3023.txt ) the right mime type for xslt should 
be "application/xslt+xml"

As it not yet a standard, "text/xml" or "application/xml" should be used 
(cf. section 1 of XSLT Recommendation ( http://www.w3c.org/TR/xslt ).

However, KDE cannot use these xml mime types for xslt, therefore we should 
better use draft RFC 3023 (or perhaps "application/x-xslt+xml")

As for fo files, I would propose to use: "application/x-xslfo+xml"

In general the problem that we face here is that for W3C everything are XML 
files, so that there is no need for new mime types. However, KDE needs more 
mime types. Therefore I suggest to use new private mime types.

Note: "application" does not really mean anymore that it is linked to an 
application. It has shifted to be for any form of document, in paritcular if 
the document does not look good when displayed as text to a standard user.

>
> :)))))))))))))))))
>
> bobby

Have a nice day/evening/night!
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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