On Jan 22, 2008 11:18 PM, Daniel Leidert <[EMAIL PROTECTED]> wrote:
> Am Dienstag, den 15.01.2008, 20:49 +0530 schrieb Onkar Shinde:
> > The problem is that the DTD can not be used for validation in programs
> > (at least java applications). The reason is that the program tries to
> > find entity sets in same directory as DTD since the DTD contains only
> > file names and not full path.
> >
> > Is there any solution for this other than having symlinks in
> > appropriate directories?
>
> Use libxml-commons-resolver1.1-java(-gcj) and add the .jar
> and /etc/xml/resolver/ to the classpath. This will make use of the
> catalogs.

(Forgot to do rely all previously, hence this response didn't land in BTS).

Do you really expect the users/developers to have that library
installed whenever they want to programatically validate xml files
using DTDs from this package.

Why not move the entity sets in the same directory as DTD.
If that is not possible then we can simply add symlinks.


Regards,
Onkar



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to