XML- Data Schema

James Tauber jtauber at jtauber.com
Fri Aug 28 11:18:27 BST 1998

-----Original Message-----
From: Usha_R2 at verifone.com <Usha_R2 at verifone.com>
>I want more validation to be built into my system. I want to even check
>the data type of the content in the XML file.
>for example :
><size> 8 <size>
>i.e when I parse it, the parser should give me an error if I have any
>thing other than an integer for size. I came to know that using XML-Data
>schemas we can specify data types. I have absolutely no idea as to how
>to write these schemas and where to put them in the document. Can
>anybody please help as to how to go about it and can I still use MSXML
>parser for validating my XML files.

Alternative schemata languages for XML are works in progress so you are
probably best off handling this sort of validation in your application for

That way you can use any parser you like (it can be a non-validating parser
if your constraints can be more easily handled by your application) and have
as simple or complex constraints as you like.

James Tauber / jtauber at jtauber.com      http://www.jtauber.com/
Lecturer and Associate Researcher
Electronic Commerce Network             ( http://www.xmlinfo.com/
Curtin Business School                  ( http://www.xmlsoftware.com/
Perth, Western Australia                ( http://www.schema.net/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

More information about the Xml-dev mailing list