OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: XP syntax error - including cals-tbl.dtd in simple xml dtd

[ Lists Home | Date Index | Thread Index ]
  • From: "Glenn R. Kronschnabl" <grk@arlut.utexas.edu>
  • To: xml-dev@ic.ac.uk, Murray Altheim <altheim@mehitabel.eng.Sun.COM>, simpson@polaris.net
  • Date: Wed, 23 Sep 1998 08:39:20 -0500

In message <199809221905.MAA21144@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.

Glenn R. Kronschnabl
Applied Research Laboratories        | grk@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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS