Re: memaid 0.4.6-pre

Peter Bienstman <[email protected]> Wed, 12 Nov 2003 15:27:17 +0100
Newsgroups gmane.comp.tools.memaid.devel
Organization Ghent University
Message-ID <[email protected]>
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

=46ound the reason why the DTD didn't parse: just change cdata to CDATA in =
the=20
ATTLIST of the memaid element.

I've also changed memaid_data to memaid:

<!DOCTYPE memaid [
	<!ELEMENT memaid (item)>
	<!ELEMENT item (Q, A)>
	<!ELEMENT Q (#PCDATA)>
	<!ELEMENT A (#PCDATA)>
	<!ATTLIST memaid core_version CDATA ""
		time_of_start CDATA "">
	<!ATTLIST item=20
                id ID #REQUIRED
		tm_t_rpt CDATA #REQUIRED
		stm_t_rpt CDATA #REQUIRED
		l_l_ivl CDATA #REQUIRED
		rl_ivl CDATA #REQUIRED
		ivl CDATA #REQUIRED
		rp CDATA #REQUIRED
		gr CDATA #REQUIRED>
]>

(Note that I've just parsed the DTD, not validated the input to the DTD).

Cheers,

Peter
=2D --=20
=2D ------------------------------------------------
Peter Bienstman
Ghent University, Dep. of Information Technology
Sint-Pietersnieuwstraat 41, B-9000 Gent, Belgium
tel: +32 9 264 34 45, fax: +32 9 264 35 93
WWW: http://photonics.intec.ugent.be
email: [email protected]
=2D ------------------------------------------------
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/skNF4dgPAIjyquoRAojEAKDKwm3jevQ15UiVdhZpv2i6S2Ev0QCfUHll
//ILBq7utsZ5Z9y4OMk0TsQ=3D
=3DFm5n
=2D----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/