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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Tool to query dtd/schema for valid element children|attributes[SOLVED]



>>Is there a simple way to 
>>produce a flattened DTD from a modular one using commonly 
>>available tools?
>>
>
>You can use the dtdflatten script in the DTDParse package
>

I'd already tried 'dtdflatten' but it does not seem to like my Debian 
default setup.  Actually, all of the tools in SGML::DTDParse have the 
same reaction regarding the default catalog file:

----------------------------------------------------------------------------------------
$ dtdflatten /usr/share/xml/docbook/schema/dtd/4.2/docbookx.dtd
Reading /etc/sgml/catalog...
Don't know how to parse CATALOG keyword: CATALOG
$
----------------------------------------------------------------------------------------

In particular, it complains that the default catalog file contains 
'CATALOG' keywords.  This is unfortunate as _every_ line starts with the 
CATALOG keyword.

Regards,
David.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]