Keith Visco wrote:

Hi Chad,


Chad Small wrote:

>Thanks Rhett,
>
>That is indeed the problem. When I made the change to the dtd locally from
>a NMTOKEN to a CDATA my validation was fine. And it looks as though Castor
>does no type of validation of the mapping xml file at load time, correct?
>Otherwise, my mapping file would not work since it points to a DTD that
>would fail validation. Is the DTD in place more as a development aid to
>make sure you have correct syntax?


Yes, primarily it's used for as a simple reference rather than
validation, however if you've configured the XML parser to be validating
then the DTD will be used.


>Anyone know if there is anything that I can do to help get this into a
>defect/bug/enhancement list? Or actually fix the problem? The change that
>needs to be made is in the http://castor.exolab.org/mapping.dtd:


I believe Mickael and Arnaud are working on that issue.

Yes, this is bug 1045 :
date->char[yyyy-MM-dd hh:mm:ss] parameterized type not supported
http://bugzilla.exolab.org/show_bug.cgi?id=1045

We thought of replacing NMTOKENS with NMTOKEN, but it seems that
CDATA would be better.

Could you please add a comment with your patch to the bugzilla
entry ?

--
Mickael Guessant

----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev



Reply via email to