- From: Jane Hunter <jane@dstc.edu.au>
- Date: Tue, 22 Feb 2000 10:11:54 +1000
- To: www-xml-schema-comments@w3.org
This appears to be the most relevant existing subject for a problem which I'm
having.
I'm trying to represent MPEG-7 descriptors using XML Schema. In particular:
"xpeak is a floating point number from range [0-1.0] represented by 16 bits
(uniform quantisation)..."
I'd like to do the following:
<simpleType name="16_bit_float_0-1" base="float">
<minInclusive value='0'/>
<maxInclusive value='1.0'/>
<length value='16'/>
</simpleType>
But the primitive datatype float doesn't have a length facet. Is there an
alternative way to represent a 16 bit float?
regards,
Jane Hunter
+----------------------------------+---------------------------------------+
| Dr Jane Hunter | Senior Research Scientist |
| DSTC Pty Ltd | Distributed Systems Technology CRC |
| Level 7, General Purpose South | Tel : +61 7 3365 4310 |
| The University of Queensland | Fax : +61 7 3365 4311 |
| Queensland 4072, Australia | Email : jane@dstc.edu.au |
+----------------------------------+---------------------------------------+
Received on Monday, 21 February 2000 19:12:11 UTC