Le jeudi 10 f�vrier 2005 � 22:39 +0100, Erik Bruchez a �crit :
> Eric van der Vlist wrote:
>
> > Yes, but that's not the case here: I'd just like that the URL generator
> > be able to guess the type from the filename, all that server side!
> >
> > I think that having a presentation server global media-type.xml property
> > file and a class to exploit it would help a lot and would provide
> > consistency over the different processors.
>
> We already have a file called mime-types.xml. We could move that to the
> config directory, rename it media-types.xml, and add a property
> (property.xml) that would be used by a class to return mappings.
>
> The Resource server's mime-types input could then be made optional.
Yes, I think that this would be a good idea!
If that's not already the case, this mapping could include information
such as the preferred serialization type (and maybe more if needed).
Eric
--
Read me on Advogato.
http://advogato.org/person/vdv/
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
(ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
orbeon-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/orbeon-user