XP syntax error - including cals-tbl.dtd in simple xml dtd
Glenn R. Kronschnabl
grk at arlut.utexas.edu
Wed Sep 23 15:41:14 BST 1998
In message <199809221905.MAA21144 at mehitabel.eng.sun.com> you write:
[stuff deleted]
>If you are interested in using an XML version of CALS, I believe that
>Norm Walsh's preliminary work [XMLDB] on an XML version of DocBook might
>provide a working (if nonstandard) CALS DTD.
I tried that and it almost worked. Turns out that the problem is that the
default entity definitions in the XML CALS table model has the two
following lines in it that results in an invalid XML file. Turns out that
#PCDATA has to be first in the list in the tbl.entry.mdl entity definition.
--- from calstblx.dtd ---
<!ENTITY % paracon '#PCDATA'>
<!ENTITY % tbl.entry.mdl "(para|warning|caution|note|legend|%paracon
;)*">
Once I reorder the tbl.entry.mdl line to put #PCDATA first, no errors.
Cheers,
Glenn
--------------------
Glenn R. Kronschnabl
Applied Research Laboratories | grk at arlut.utexas.edu (PGP/MIME ok)
The University of Texas at Austin | http://www.arlut.utexas.edu/~grk
PO Box 8029, Austin, TX 78713-8029 | (Ph) 512.835.3642 (FAX) 512.835.3808
10,000 Burnet Road, Austin, TX 78758 | ... but an Aggie at heart!
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list