Re: Cougar DTD

Hello.

I think I have found 2 next (little) bugs in Cougar DTD (29/IV/97).

1.) Definition for block looks like this:

<!ENTITY % block
     "P | %list | %preformatted | DL | DIV | CENTER | NOSCRIPT | NOFRAMES
      BLOCKQUOTE | FORM | ISINDEX | HR | TABLE | FIELDSET | ADDRESS">

I think there is missing pipe "|" between NOFRAMES and BLOCKQUOT.

2.) Definition for special looks like this:

<!ENTITY % special
   "A | IMG | APPLET | OBJECT | FONT | BASEFONT | BR | SCRIPT |
   | MAP | Q | SPAN | BDO | IFRAME">
  ^^^

This time there is too much pipes between SCRIPT and MAP.

Am I right?

BTW: I'm looking for good DTD parsers for Linux (perl most welcome). Any
 suggestions? I have some parsers, but they are weak - they didn't found
 this and previous (NOSCRIPT) bugs.

BTW2: According to DTD nesting NOFRAMES/NOSCRIPT (from %block) is allowed.
 Is this purposeful?

 
TIA,
Tomasz "Poncki" Piłat
---
 ______                    __     __
|   __ \.-----.-----.----.|  |--.|__|       Tomasz "Poncki" Piłat
|    __/|  _  |     |  __||    < |  |           poncki@irc.pl
|___|   |_____|__|__|____||__|__||__|        IRCNET IRC-OPerator
http://ajax.umcs.lublin.pl/~poncjusz/     http://lublin.irc.pl/~ircd/

Received on Saturday, 10 May 1997 08:05:02 UTC