- From: <bugzilla@wiggum.w3.org>
- Date: Wed, 06 May 2009 03:35:03 +0000
- To: www-xml-schema-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6864
Summary: MIME type for built-in datatypes
Product: XML Schema
Version: unspecified
Platform: PC
URL: http://soundadvice.id.au/blog/2009/05/05/#textplain
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: Datatypes: XSD Part 2
AssignedTo: David_E3@VERIFONE.com
ReportedBy: benjamincarlyle@soundadvice.id.au
QAContact: www-xml-schema-comments@w3.org
CC: cmsmcq@blackmesatech.com
I have been using XSD built-in data types as representations for simple
resources for quite some time. I have traditionally used the text/plain media
type for this, however doing so fails to adequately describe the format of
typed data. A simple use case follows:
A client samples http://dod.example.com/defcon, retrieving "4". The defense
readiness condition is at four. The client puts a value of "3", attempting to
raise the condition... but this is either not implemented or requires
authentication and authorization checks.
I am eager to be able to use a standard mime type that allows me to convey
information in this way, and XML Schema is an excellent catalogue of these
basic types. You already address namespace considerations in addressing these
data types as URLs, so is there any possibility that you could register an
additional MIME type for non-XML use of these types?
A number of alternative identifiers come to mind:
* text/xsd+plain
* text/xsd-builtin
* application/built-in
etc
It would greatly simplify my life if I could refer to a MIME type that is well
established as being consistent with your built-in types.
Thankyou.
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 6 May 2009 03:35:11 UTC