On 9/13/12 1:26 PM, Dan Stillman wrote:
While we're on the subject, though, we should agree on a different
content type for .csl files. Among other things, Safari (and possibly
other browsers) will display "text/*" types rather than downloading
them.*  "x-" is also considered bad practice these days.
application/vnd.citationstyles.style? Zotero is using
application/vnd.citationstyles.csl+json for CSL JSON data.

It could also be application/vnd.citationstyles.style+xml, since RFC3023 recommends the use of "+xml" for XML-based media types. I don't think there's much to be gained from that, but there's also no particular reason not to do it.

From http://www.ietf.org/rfc/rfc3023.txt:
A.15 Why must I use the '+xml' suffix for my new XML-based media type?

    You don't have to, but unless you have a good reason to explicitly
    disallow generic XML processing, you should use the suffix so as not
    to curtail the options of future users and developers.

    Whether the inventors of a media type, today, design it for dispatch
    to generic XML processing machinery (and most won't) is not the
    critical issue.  The core notion is that the knowledge that some
    media type happens to use XML syntax opens the door to unanticipated
    kinds of processing beyond those envisioned by its inventors, and on
    this basis identifying such encoding is a good and useful thing.

    Developers of new media types are often tightly focused on a
    particular type of processing that meets current needs.  But there is
    no need to rule out generic processing as well, which could make your
    media type more valuable over time.  It is believed that registering
    with the '+xml' suffix will cause no interoperability problems
    whatsoever, while it may enable significant new functionality and
    interoperability now and in the future.  So, the conservative
    approach is to include the '+xml' suffix.

I don't have a strong preference here.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xbiblio-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbiblio-devel

Reply via email to