OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: XML Torture Test: Parsers Fail

[ Lists Home | Date Index | Thread Index ]
  • From: David Brownell <db@eng.sun.com>
  • To: Chris Lovett <clovett@microsoft.com>
  • Date: Tue, 06 Apr 1999 15:51:29 -0700

Chris, these aren't errors ... unless there are references
to those entities (&baseball; and &season;) in the document,
which is not currently done.

If IE5 is treating those as errors, it shouldn't.

- Dave


Chris Lovett wrote:
> 
> 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@eng.sun.com]
> Sent: Monday, April 05, 1999 11:27 AM
> To: Elliotte Rusty Harold
> Cc: xml-dev@ic.ac.uk
> 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@ic.ac.uk
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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS