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


  • From: Paul Prescod <paul@p...>
  • To: xml-dev@i...
  • Date: Thu, 18 Mar 1999 13:26:42 -0600

what is mean by validation
Chris Lilley wrote:
> Unfortunately I came across EBNF long before I came accross DTD syntax,
> so about half an hour after meeting DTDs I was, like, what do you mean
> it can't express that this attribute is a url? Why can't it express that
> this attribute is an ISO standard date?

I can guarantee you today that the XML schema effort will not allow you to
express everything that EBNF will so if that's your standard it will fail.
But even if we use EBNF as our standard: do you know of any programming
languages expressed entirely in EBNF? Or even entirely in *any formalism*?

> Yes, validation is important - and I mean real validation, with no
> critical-path human-readable comments in the DTD and multiple utilities
> to check different aspects of validity (like separate scripts to ensure
> that an attribute is a valid date or customer number).

It will never be the case that it will be possible to write schemas that
are so tight that they remove the need for comments that describe
additional constraints to other human beings. There will always be a need
not only for multiple schema languages but also for the ultimately
flexible schema language: prose text.

Luckily, eliminating all other schema languages is not a goal of the W3C
schema language effort. 

> So what is critically needed is a real, namespace-aware, schema 
> language that can be used to do real validation.

I hear a lot of users saying that. They don't seem to realize that there
is no such thing as "real validation" there is only "the validation I need
to do today." Ten years from now, we'll be griping that XMLSchemas don't
do "real validation" for some other arbitrarily advanced definition of

 Paul Prescod  - ISOGEN Consulting Engineer speaking for only himself

"A year ago, when Ernest Pecounis said he wanted to bring
Linux into the state agency he works for, there was a swell of
laughter from his colleagues. Guess who's laughing now."
 - http://www.zdnet.com/pcweek/stories/news/0,4153,393443,00.html

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/ and on CD-ROM/ISBN 981-02-3594-1
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...)


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.
First Name
Last Name
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.