|
Hello
We are currently using the great Castor API in our
project and unfortunately it happens that, sometimes our application is
running on firewalled servers blocking most of the traffic.
The problem we encountered is that by defining the
dtd location in the begining of each mapping file as this
<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor
Object Mapping DTD Version 1.0//EN" "http://www.castor.org/mapping.dtd">
it happens that we can not reach the website
creating. Then it creates naturally an exception telling us that the validating
process can t be done.
We can not declare the DTD as
SYSTEM instead of PUBLIC because we have too many mapping files
located at different places ( plus mapping in .jar files).
I tried to remove the DTD definition and it works.
It appeared that the validation of the file does occur even without the dtd
declaration (internal validating????). I added some misspelled attributes and
elements in the mapping and the same exception has been thrown.
The purpose of this message is that I would like to
be absolutely sure before changing 50 mappings that removing the DTD definition
is safe.
Thanks
|
- [castor-user] Xml validation of the mapping file, do we ne... Paul Bertrand
- Re: [castor-user] Xml validation of the mapping file,... Stephen Bash
- Re: [castor-user] Xml validation of the mapping f... Werner Guttmann
- Re: [castor-user] Xml validation of the mapping file,... Ralf Joachim

