The standard way of accessing a local dtd in SGML/XML is the following:

<!DOCTYPE jboss SYSTEM 'jboss.dtd'>

if jboss.dtd is in the same directory as the xml file. Otherwise use relative or
absolute paths. I don't know if this works with the crimson parser though.

--Victor

Aaron Mulder wrote:

>         My fault, I had the case wrong (JBoss <> JBOSS).  BTW, it appears
> that you must provide a URL - if I use something like:
>
> <!DOCTYPE jboss PUBLIC '-//JBoss//DTD JBOSS 2.4//EN' 'jboss.dtd'>
>
>         The parser refuses to accept it.  In any case, is there some way
> to avoid loaded the DTD at all when the validate flag is off?
>
> Aaron


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to