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

RE: XML Torture Test: Parsers Fail

  • From: Chris Lovett <clovett@m...>
  • To: 'David Brownell' <db@e...>, Elliotte Rusty Harold <elharo@m...>
  • Date: Mon, 5 Apr 1999 19:07:37 -0700

using original entity definition for
The problem appears to be in braves.dtd.  You have the following:

	<!ENTITY baseball SYSTEM "braves/baseball.dtd">
	<!ENTITY season SYSTEM "braves/season.dtd">

and these DTD's exist - so you have general parsed entities pointing to DTD
information which is not right.

Once these two lines are removed from braves.dtd everything loads fine in
IE5.


-----Original Message-----
From: David Brownell [mailto:db@e...]
Sent: Monday, April 05, 1999 11:27 AM
To: Elliotte Rusty Harold
Cc: xml-dev@i...
Subject: Re: XML Torture Test: Parsers Fail


For some reason I've seen three followups to this note, but
not the original note ...

Elliotte Rusty Harold wrote:
> 
> >>Without intending to do so, I have devised an XML document that exposes
> >>many problems in almost all XML validating parsers and non-validating
> >>parsers that resolve external entity references.  You will find this
> >>torture test at
> 
> http://metalab.unc.edu/xml/examples/players/index.xml

I ran Sun's parsers and they warned of a variety of redefined
entities ... for example, "&AaronSmall;" defined in two
files, both "athletics.dtd" and "diamondbacks.dtd".  (See
the list below.)

I did notice that this relies on correct interpretation of
relative URIs, which I know have been handled incorrectly
by at least two other "validating" parsers (perhaps not in
their current releases though).

- Dave


** Warning, line 1, uri
http://metalab.unc.edu/xml/examples/players/diamondbacks.dtd
   Using original entity definition for "&AaronSmall;".
** Warning, line 21, uri
http://metalab.unc.edu/xml/examples/players/indians.dtd
   Using original entity definition for "&JimPoole;".
** Warning, line 16, uri
http://metalab.unc.edu/xml/examples/players/mariners.dtd
   Using original entity definition for "&GlenallenHill;".
** Warning, line 1, uri
http://metalab.unc.edu/xml/examples/players/marlins.dtd
   Using original entity definition for "&AlexGonzalez;".
** Warning, line 20, uri
http://metalab.unc.edu/xml/examples/players/padres.dtd
   Using original entity definition for "&KevinBrown;".
** Warning, line 11, uri
http://metalab.unc.edu/xml/examples/players/pirates.dtd
   Using original entity definition for "&FreddyGarcia;".
** Warning, line 9, uri http://metalab.unc.edu/xml/examples/players/reds.dtd
   Using original entity definition for "&DennisReyes;".
** Warning, line 2, uri
http://metalab.unc.edu/xml/examples/players/rockies.dtd
   Using original entity definition for "&BobbyJones;".
** Warning, line 33, uri
http://metalab.unc.edu/xml/examples/players/tigers.dtd
   Using original entity definition for "&ScottSanders;".
** Warning, line 22, uri
http://metalab.unc.edu/xml/examples/players/whitesox.dtd
   Using original entity definition for "&MarkJohnson;".

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

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.