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

Re: Parser compliance

  • From: "Simon St.Laurent" <simonstl@s...>
  • To: xml-dev@i...
  • Date: Thu, 18 Nov 1999 08:26:59 -0500

Re: Parser compliance
At 10:59 PM 11/17/99 -0800, Eric Bohlman wrote:
>On Wed, 17 Nov 1999, Richard Lanyon wrote:
>> Not from me, that's for sure. But if people want validation from their XML
>> processors (and people do, it would seem, possibly because so many XML
>> books spend so much time talking about validity and DTDs), then we'd
>> better give it to them or someone else will...
>
>It seems to me that the reason why books and articles talk about
>validation so much is the journalists and authors have gotten the idea
>that it's important; if you believe the articles, the primary purpose of a
>parser is to determine whether or not a document is valid (that idea may
>be the result of a surface exposure to parsing theory, since an abstract
>parser is in fact a language recognizer).

I think that a large part of the reason book and article writers have
focused on DTDs is their large (and relatively difficult) place in the XML
1.0 specification and the need to explain to people some kind of
technical-sounding 'how' of creating new vocabularies.

In my latest book (not yet published), I spent a lot of time talking about
things like notations, parameter entities, unparsed entities, and all the
'black art' stuff involved in DTDs and validation.  I covered the material
in that kind of depth not because it's in massive demand (as far as I can
tell) but because it's typically under-covered in other XML books,
including several of my own.

On the other hand, I spent a lot of time explaining the need to create
human-readable documentation for XML, whether or not it uses validation,
and about the kinds of things XML developers need to make clear to all
programmers implementing their work - like whether or not external
entities, external DTDs, and namespaces will be used.  I also closed with a
description of a markup universe where DTDs and schemas are ignored
completely, and information is passed on a role-to-role basis without any
master plan or concern for validation.  Both approaches are equally
plausible (to me) as ways around the pros and cons of DTDs and the
varieties of parsers available.

Simon St.Laurent
XML: A Primer, 2nd Ed.
Building XML Applications
Inside XML DTDs: Scientific and Technical
Sharing Bandwidth / Cookies
http://www.simonstl.com

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 unsubscribe, mailto:majordomo@i... the following message;
unsubscribe 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.