W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2000

whitespace and numbers

From: Jasmin Wason <jlw98r@ecs.soton.ac.uk>
Date: Wed, 15 Nov 2000 17:12:53 +0000
Message-ID: <3A12C414.C8967899@ecs.soton.ac.uk>
To: xmlschema-dev@w3.org

If an XML Schema defines the type of an element to be an integer, is it
acceptable for the instance document to contain whitespace within the
tags for that element? E.g.

<number>    7</number>

I have used a parser that complains that this is not an integer. After
looking at [1] it seems like this is a bug in the parser, but I just
thought I'd check.


Jasmin Wason

[1] http://www.w3.org/TR/2000/CR-xmlschema-2-20001024/#dt-whiteSpace
Received on Wednesday, 15 November 2000 12:13:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:49 UTC