Date: | Tue, 17 Feb 2004 12:17:25 +0100 |
From: | Robert Roggenbuck <rroggenb [...] mathematik.uni-osnabrueck.de> |
To: | bug-XML-ParseDTD [...] rt.cpan.org |
Subject: | recognizing the content-model ALL |
Hi,
I just installed XML::ParseDTD 0.1.3 and tried to parse a quiet simple DTD
(containing only ELEMENT- and ATTLIST-Definitions). While there so parsing error
arise the elements I declared with the content-model ALL are not part of the
list I recieve from get_document_tags().
Also it seems to me that a "\t" is not allowed between the attribute type and
the attribute description of an ATTLIST declaration. Example:
<!ATTLIST dir
xml:lang CDATA #REQUIRED
Show quoted text
>
If a "\t" is between CDATA and #REQUIRED the attribute xml:lang is not listed as
an attribute of dir. (An error does not arise also. I check every call with
errstr().)
Can You explain these problems and solve them? My DTD and my test parser is
appended.
Best Whishes
Robert Roggenbuck
--
===========================================
Robert Roggenbuck, M.A.
Fachbereich Mathematik / Informatik
Universitaet Osnabrueck
rroggenb@mathematik.uni-osnabrueck.de
===========================================