Re: Baffling math problems [Was: HTML 3.0 DTD ]

James Clark (jjc@jclark.com)
Sat, 3 Dec 1994 01:49:55 +0000


> Date: Sat, 3 Dec 1994 01:02:37 +0100
> From: "Daniel W. Connolly" <connolly@hal.com>
>
> Here's the one that baffles me:
>
> http://info.cern.ch/hypertext/WWW/Arena/tour/math2.html
>
>
> sgmls: SGML error at -, line 19 at ">":
> BOX end-tag implied by OVER start-tag; not minimizable
> sgmls: SGML error at -, line 19 at ">":
> MATH end-tag implied by OVER start-tag; not minimizable
> sgmls: SGML error at -, line 19 at ">":
> TABLE end-tag implied by OVER start-tag; not minimizable
> sgmls: SGML error at -, line 19 at ">":
> Out-of-context OVER start-tag ended HTML document element (and parse)
>
> The offending line is:
>
> <td><math>{(<left>e^ax^<over>1+{1<over>x}<right>)}</math>
>
> I can't figure out why <over> is out of context there. It looks fine
> to me!

{ isn't recognized as a shortref in a box element.

*** html3.dtd.~1~ Sat Dec 3 01:19:59 1994
--- html3.dtd Sat Dec 3 01:38:40 1994
***************
*** 951,957 ****

<!SHORTREF MAP4 "}" REF6
"^" REF1
! "_" REF3 >

<!--
The inclusion of %formula and exclusion of %text is used here
--- 951,958 ----

<!SHORTREF MAP4 "}" REF6
"^" REF1
! "_" REF3
! "{" REF5 >

<!--
The inclusion of %formula and exclusion of %text is used here

In the version I picked up (Fri 2-Dec-94 12:12:19) HR has a duplicate
URN attribute.

James