From jan@swi.psy.uva.nl  Wed May 31 10:30:20 2000
Received: from gollem.swi.psy.uva.nl (root@gollem [145.18.152.30])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id KAA19020;
	Wed, 31 May 2000 10:30:18 +0200 (MET DST)
Received: from localhost (localhost [[UNIX: localhost]])
	by gollem.swi.psy.uva.nl (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id KAA18014;
	Wed, 31 May 2000 10:30:50 +0200
From: Jan Wielemaker <jan@swi.psy.uva.nl>
Organization: SWI, University of Amsterdam
To: Andrey <andr@w-trade.com>
Subject: Re: SGML/XML
Date: Wed, 31 May 2000 10:24:18 +0200
X-Mailer: KMail [version 1.0.28]
Content-Type: text/plain
References: <392EE2E1.3D25C2B5@w-trade.com> <00052910412100.05720@gollem> <39344DC1.661D31CC@w-trade.com>
In-Reply-To: <39344DC1.661D31CC@w-trade.com>
Cc: prolog@gollem.swi.psy.uva.nl
MIME-Version: 1.0
Message-Id: <00053110305001.17641@gollem>
Content-Transfer-Encoding: 8bit

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

