[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

  • From: "Glenn R. Kronschnabl" <grk@a...>
  • To: xml-dev@i..., Murray Altheim <altheim@m...>, simpson@p...
  • Date: Wed, 23 Sep 1998 08:39:20 -0500

cals dtd xml
In message <199809221905.MAA21144@m...> 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@a... (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@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.