Re: Parser for DTDs

Tim Bray (tbray@textuality.com)
Tue, 21 Apr 1998 13:59:35 -0700


At 02:06 PM 21/04/98 +0000, Matt Mower wrote:
>I am looking for a java parser that when fed a DTD returns a model
>representing all the valid documents that can be expressed using that
>DTD

IBM's XML for Java is designed to support something like what
you describe.

>I believe Larval may have this kind of capability (i'm not sure yet),
>are there others?

Larval doesn't have it built-in, but it parses content models
into a fairly straightforward set of data structures, and you could
certainly generate this kind of thing by writing code that runs
around them. But it would be work. -T.