- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 08 Aug 2006 14:46:29 +0000
- To: www-xml-schema-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=3587
Summary: Possibly confusing examples of decimal numbers
Product: XML Schema
Version: unspecified
Platform: All
URL: http://www.w3.org/TR/xmlschema-2/#decimal
OS/Version: All
Status: NEW
Severity: minor
Priority: P3
Component: Datatypes: XSD Part 2
AssignedTo: cmsmcq@w3.org
ReportedBy: adamb@agitate.org.uk
QAContact: www-xml-schema-comments@w3.org
In section 3.2.3.1 there are some examples given of decimal numbers:
--quote--
decimal has a lexical representation consisting of a finite-length sequence of
decimal digits (#x30-#x39) separated by a period as a decimal indicator. An
optional leading sign is allowed. If the sign is omitted, "+" is assumed.
Leading and trailing zeroes are optional. If the fractional part is zero, the
period and following zero(es) can be omitted. For example: -1.23,
12678967.543233, +100000.00, 210.
--end quote--
The final number shown as an example, 210, is followed immediately by the full
stop punctuation mark which could be perceived as a decimal point. I know this
is fairly trivial, but I think perhaps a different layout should be used when
giving examples of mathematical notation which is free from grammatical
punctuation. In the actual HTML source code the examples are surrounded by
'code' tags and the final full stop is outside of these, but when rendered by
browsers it is difficult to perceive.
Received on Tuesday, 8 August 2006 14:47:12 UTC