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

Re: Validating Entities (was Re: XML Torture Test: Parsers Fail)

  • From: Richard Goerwitz <richard@g...>
  • To: Tim Bray <tbray@t...>, xml-dev@i...
  • Date: Wed, 07 Apr 1999 19:50:15 -0400

Re: Validating Entities (was Re: XML Torture Test: Parsers  Fail)
Tim Bray wrote:

> I'm with David Megginson here - you really have to stand on one
> leg and not think of the word "rhinocerous" to see the XML spec as
> mandating the checking of unreferenced entities.

You're not going to see me arguing that you intended it to be read
the rhino way.  Nor are you going to see me claim that this was any-
body else's actual intent.

My contention is that if the spec actually says that entities may
only be checked by a validating parser if used, it does so in a way
that requires exegesis.  Someone coming at the spec fresh, with lit-
tle background in SGML, and without any foreknowledge of where you
are headed.

It may sound ludicrous, but I remember it taking me several readings
of the spec, a look at some rather complex XML documents, and some
preliminary implementation work, to realize that, for validating
parsers, unreferenced entities must be left unchecked.

If this is what's happened in IE, then yes, it's somewhat mysterious
how they could have gotten as far as they did without realizing there
were problems.  But although DM has given me reason to think the spec
is clearer than I have maintained, the fact is that I understand how
they might have initially gone astray.

> > (Incidentally, does it bother anyone else that you can have valid
> > documents that aren't well-formed?

It's probably not worth explaining what I meant to say here.

-- 

Richard Goerwitz
PGP key fingerprint:    C1 3E F4 23 7C 33 51 8D  3B 88 53 57 56 0D 38 A0
For more info (mail, phone, fax no.):  finger richard@g...

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...)


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.