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

Re: Beginner question - What is a schema?

  • From: Eric Bohlman <ebohlman@n...>
  • To: Doug Forman <dforman@t...>
  • Date: Tue, 25 Jan 2000 05:44:00 -0800 (PST)

what is a schema
On Mon, 24 Jan 2000, Doug Forman wrote:
> Can anybody give me a good definition of what is a schema, and how it
> applies to xml?
>  
> My understanding is that it is a logical template for a heirarchical
> database; and any xml document is based on some schema.

Insert ', such as' right after 'template' and you'd be correct.  A schema
is simply an (abstract) specification for how things relate to each other
and what can go where.  It may be implicit, e.g. defined by how some code
processes a particular type of XML document, or it may be explicit, such
as a DTD or a document written in the instance syntax proposed in the
W3C's XML-Schema draft.

An explicit, machine-readable schema is necessary if you want an XML
processor to be able to tell you whether a document is valid according to
its rules, or to provide default values for certain kinds of omitted data.
In many applications, this isn't necessary, but it's almost always useful
to have some formalized schema, even if it exists only on paper, as
documentation.



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/ or CD-ROM/ISBN 981-02-3594-1
Unsubscribe by posting to majordom@i... the message
unsubscribe xml-dev  (or)
unsubscribe xml-dev your-subscribed-email@your-subscribed-address

Please note: New list subscriptions now closed in preparation for transfer to OASIS.



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.