W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2001

RE: bug in amaya ?

From: Dave J Woolley <david.woolley@bts.co.uk>
Date: Fri, 6 Jul 2001 11:22:35 +0100
Message-ID: <81E4A2BC03CED111845100104B62AFB50102A80C@stagecoach.bts.co.uk>
To: "'www-amaya@w3.org'" <www-amaya@w3.org>
> From:	Frédéric Besnard [SMTP:fbesnard@ac-nice.fr]
> 
> I'm testing amaya 5.0 with windows 98.
> consider the file:
> 
> <html><body ><dir>  one  <p><a href="#A">two</a></p></dir></body></html>
	[DJW:]  
	Whilst Amaya shouldn't crash in the way that you describe, 
	this HTML is badly broken.  DIR is deprecated, but even when
	used, its content model:

 <!ELEMENT (DIR|MENU) - - (LI)+ -(%block;) -- directory list, menu list -->
[DJW:]  
does not allow text immediately after the start tag - only 
LI elements are allowed - and doesn't allow P anywhere within the
content - all block level elements are forbidden.  I'll assume the lack
of the mandatory TITLE element was the result of simplifying for this
article.

Note the start tag on LI elements in required.

-- 
--------------------------- DISCLAIMER ---------------------------------
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of BTS.


>  
Received on Friday, 6 July 2001 06:23:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:24 UTC