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

Re: Options in XML 1.0

  • From: "Thomas B. Passin" <tpassin@h...>
  • To: xml-dev@l...
  • Date: Fri, 10 Nov 2000 10:55:39 -0500

Re: Options in XML 1.0
Simon St.Laurent remarked -

...
> At this point, I have a hard time accepting the line drawn
between
> validating and non-validating parsers, or the
justification for making all
> non-validating parsers understand and process whatever
DTDs they happen to
> encounter.  It seems it would have been wiser to make
non-validating
> parsers behave consistently, either by always reading all
of the DTD
> content or by ignoring it entirely.  I spent a long time
preferring the
> first option, but at this point I'm leaning toward the
second.
>
> As fond as I have been of DTDs (believe it or not), I
think it's well past
> time to extract them from the initial parsing process, and
make them a
> post-processing tool, something like schemas.  The
document contains
> whatever it contains, and DTD or schema processing is
considered an
> addition to the document, not content at the same level as
the actual
> document content.
>
 Isn't it true that, in SGML, the DTD with its regular
grammar is (can be used) to create a parser specialized for
the particular DTD - perhaps even on the fly when the
document is read?  Yet xml seems to have been designed to
avoid the need for a customized parser.  We use the same
parser for all xml documents, the parser (presumably?)
doesn't redesign its finite-state machine to fit the DTD.

If this is true, it strongly supports Simon's suggestion.
Comments, anyone?  Especially parser-writers?

Cheers,

Tom Passin


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.