On 6/10/2011 6:16 PM, John Cowan wrote:
20110610221656.GA5495@mercury.ccil.org" type="cite">That makes sense. It is a good to have well-known standard. We've just found it more convenient to package known DTDs with our Java classes and reference them using a resolver that can retrieve resources from the classpath; I don't think that capability is built into parsers, typically though.A catalog is just a map of URIs (and public ids, if you want) to other URIs. It's a standard format designed by OASIS, paralleling an earlier SGML catalog standard. It's supported by a number of parsers and validators. What more arguments do you want? There are a number of ways this *could* be done; doing it *this* way means it just works. -Mike |