Subject: Re: SGML/XML

From: Jan Wielemaker <[email-masked]>
Date: Wed, 31 May 2000 10:24:18 +0200

On Wed, 31 May 2000, you wrote:
>Hi Jan,
>
>These elements still return the error.
>
><!ELEMENT b - - #PCDATA >
>
><!ATTLIST b
>    list (k|f|g)  "k"
>>
><!ELEMENT AAAAAA     - -  ( ((A | B), C, D)?, F) >
>
>Parser returns
>SGML: Error: Syntax error: Expected type nmtoken, found ""k"
> "
>SGML: Error: Syntax error: Name group expected, found " ((A | B), C, D)?,
>F)"

Ok, fixed.  I just saw you using <!ATTLIST (a,b) ...) and assumed
that would be the (only) problem.  Please send complete examples,
so I can run them without having to complete them:

<!DOCTYPE test [
  <!-- Declarations -->
]>

<!-- document -->

You find updated parser.c here:

http://gollem.swi.psy.uva.nl/cgi-bin/pl-cvsweb/packages/sgml/parser.c

	Regards --- Jan