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

Re: appinfo considered harmful. Re: What is the advantage ofRELAXincompa

  • From: Joe English <jenglish@f...>
  • To: xml-dev@l...
  • Date: Wed, 31 Jan 2001 17:53:16 -0800

validating appinfo documentation

Jonathan Borden wrote:

> David E. Cleary wrote:
> >
> > But that is just one of the many uses for appInfo. It can be used for many
> > other things than just extra validation checking.
> > [...]
> > Again, nothing in appInfo stops you from schema validating an instance or
> > using its PSVI.
> Perhaps you are saying that the sole purpose of an XML Schema is to validate
> an instance or create a PSVI? In this case why corrupt a perfectly good
> schema with something completely outside its purpose?
> On the other hand, perhaps you are saying that the purpose of a schema is
> more than validation and/or creation of a PSVI?

IMO, the *primary* purpose of a schema is that it can be given
to a programmer so that she can write programs that will successfully
process and/or produce documents conforming to that schema.

A secondary purpose is that it can be given to an author so that he
can validate his documents against it, to make sure that they will
work when fed to a program designed to process documents conforming
to the schema.

Tertiary purposes include producing a PSVI (which can make the
programmer's job easier), and validation before committing to a
repository and at other stages in the document's lifecycle (which
can streamline workflow).  But the primary purpose of a schema
is still as documentation for programmers and authors.

'appInfo' is useful because it can point to additional sources
of documentation.  Whether or not it is used to augment the PSVI
or perform extra validation seems to me a tertiary issue.

--Joe English



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.