Next in thread → Next in month →

Re: [xml-dev] XML Schema’s decision to allow only European digits reduces the universality of XML

From
David Carlisle <>
To
Roger L Costello <>
Date
2020-12-17T16:14:32Z
ID
<>
Thread
Re: [xml-dev] XML Schema’s decision to allow only European digits reduces the universality of XML

Roger wrote

>But ………… he cannot use the Bengali digits in the instance document because XML Schemas only allows European digits

Not at all: you can have a schema that validates numbers using those digits, it's just not the same type as xs:integer but that isn't really a hardship.

This is not really any different to saying that the xs:dateTime syntax does not prevent you having  <date>17th December</date> in a document.

(Actually it's a lot easier to have a schema validate localised digits than it is to validate localised dates)

David




David
.

It is like saying that schema dateTime typing means you can not have <date>17th December</date>
Next in thread → Next in month →