[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XML- Data Schema

  • From: "James Tauber" <jtauber@j...>
  • To: <Usha_R2@v...>, <xml-dev@i...>
  • Date: Fri, 28 Aug 1998 17:17:56 +0800

sch ma de perth
-----Original Message-----
From: Usha_R2@v... <Usha_R2@v...>
[...]
>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
now.

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
--
James Tauber / jtauber@j...      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@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.