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

Re: whitespace and numbers

From: Ashok Malhotra/Watson/IBM <petsa@us.ibm.com>
Date: Thu, 16 Nov 2000 00:22:48 -0500
To: Jasmin Wason <jlw98r@ecs.soton.ac.uk>
Cc: xmlschema-dev@w3.org
Message-ID: <OF18802615.E12E76A3-ON85256999.001D9E5B@pok.ibm.com>

You are correct!  The whiteSpace feature was added recently to XML Schema.
Perhaps the processsor you are using does not implement it yet.

All the best, Ashok


Jasmin Wason <jlw98r@ecs.soton.ac.uk>@w3.org on 11/15/2000 12:12:53 PM

Sent by:  xmlschema-dev-request@w3.org


To:   xmlschema-dev@w3.org
cc:
Subject:  whitespace and numbers




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.

Thanks,

Jasmin Wason

[1] http://www.w3.org/TR/2000/CR-xmlschema-2-20001024/#dt-whiteSpace
Received on Thursday, 16 November 2000 00:22:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:18 GMT