You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Lindsey McNerney <li...@yahoo.com> on 2002/12/06 17:08:24 UTC

Validating International Data Types

Is there a way to use Xerces or W3C schema for that
matter to validate international data types, for
instance using a comma to indicate a decimal within a
number instead of a period?

Thank you.

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


RE: Validating International Data Types

Posted by David Cleary <da...@progress.com>.
To support interoperability, the number of lexical representations a
datatype can support was limited. So, no, there is no way to validate a
number that is formated with a different lexical representation than what is
prescribed in the XML Schema specification. The solution is to leave
formatting in the presentation layer of the application while sticking to
the basics in your XML document.

David Cleary

> -----Original Message-----
> From: Lindsey McNerney [mailto:lindzer1@yahoo.com]
> Sent: Friday, December 06, 2002 11:08 AM
> To: xerces-c-dev@xml.apache.org
> Subject: Validating International Data Types
>
>
> Is there a way to use Xerces or W3C schema for that
> matter to validate international data types, for
> instance using a comma to indicate a decimal within a
> number instead of a period?
>
> Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org