Closed raffazizzi closed 9 years ago
We may have had a misunderstanding as I suggested to treat the specification of the media type as a possible content of the "accept" HTTP header. It seems that that may need to become a separate ticket [see below]. Part of the reason for the misunderstanding is that the current description of @mimeTime
is veeeery general and we wanted to make some sense of it. The description should be more informative.
The issue of the "accept" HTTP header that may need to go into a separate ticket for a separate attribute, leaving this one as solely informative, concerns strings such as:
"text/plain; q=0.5, text/html, text/x-dvi; q=0.8, text/x-c"
which means "text/html and text/x-c are the preferred media types, but if they do not exist, then send the text/x-dvi entity, and if that does not exist, send the text/plain entity."
Original comment by: bansp
We need pure MIME labels on <graphic> and <binaryObject>, so it seems to me that the Accept-type stuff that I mention below should go into a separate ticket, for the purpose of e.g. <ptr> and <ref>, as requested in ticket #3113682 .
Relevant URLs:
* released version: http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-att.internetMedia.html
* current version: http://bits.nsms.ox.ac.uk:8080/jenkins/job/TEIP5-Documentation/lastSuccessfulBuild/artifact/Guidelines-web/en/html/ref-att.internetMedia.html
* related ticket concerning <ref> and <ptr>: https://sourceforge.net/tracker/?func=detail&aid=3113682&group\_id=106328&atid=644065
Original comment by: bansp
Piotr: how does your comment relates to the actual feature request filed in here (I'm not an expert)? Do you support the change for @mimeType
?
Original comment by: laurentromary
I point out that we at least need two separate interpretations for this attribute, or two separate attributes. If we keep it as one then we apparently need to define it in two ways depending on the context. But then I'm not really sure if e.g. <ref> and <ptr> want to join the entire attribute class -- maybe they rather want just the attribute (like what happens with @type
).
Talked to James about this yesterday, coming from the stance that we should have two separate attributes. James pointed out that introducing a new attribute will slow things down and that an alternative strategy is to keep this one with two context-dependent interpretations, like @type
. I agree that this is more pragmatic.
As for the datatype change, yes, I support it, especially if this attribute is to serve a double role. data.word alone is not enough for any serious purpose.
Original comment by: bansp
A new ticket is needed for the concerns raised by Piotr, I think. The change to permit multiple data.word values is all we're going to implement for this one, and it seems fairly non controversial.
Original comment by: lb42
Original comment by: lb42
I agree with Lou.
Original comment by: kshawkin
Me too. green light!
Original comment by: laurentromary
Implemented multiple values at rev 9641
Original comment by: lb42
Original comment by: lb42
As mimeTypes are defined and used, for example in http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html, they are meant to be able to supply multiple values. Currently
@mimeType
is datatype data.word and we're suggesting it should be 1-infinity of data.word+-James
Original comment by: jamescummings