[Bug 6864] MIME type for built-in datatypes

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6864





--- Comment #2 from C. M. Sperberg-McQueen <cmsmcq@blackmesatech.com>  2009-05-08 15:37:46 ---
[Personal comment]

I'm not sure I understand what you're after.  You're returning "4", and not 
getting it typed.  Do you want a MIME type that means "an xsd integer"?
or one that means "a literal for a value of one of the XSD built-in types"?
(In which case, how do you tell which?  "0004" is a legal literal for integer,
int, short, decimal, and gYear.)

Without deploying any new machinery, would it not be feasible to return 

  <readiness>4</readiness>

or even

  <readiness xsi:type="xsd:integer" xmlns:xsi="...">4</readiness>

?  All the machinery of WSDL and web services is then at your disposal
for defining the type.


-- 
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 Friday, 8 May 2009 15:37:56 UTC