On Jul 29, 2005, at 9:16 AM, Jacob Kjome wrote:
Of course, we could release a modified version of the DTD in Log4j-1.2.12 with
the "name" attribute not declared as of type "id".  Thoughts?

Using a type ID for name was not a good choice, but I don't think we can change it. If anybody was using the log4j.dtd in a different context, they possibly could have depended on the ID-ness of name since there are certain DOM methods (Document.getElementById for example) that would behave differently if the type was changed.

I think the safer approach is to modify the error handler so a validation error is treated as a warning. So in this case, you might see an warning from the XML parser that the name is not valid according to the DTD, but things would still work. Turning off validation entirely (effectively what the JoranConfigurator did) would be another option.

If we get any feedback on the WebSphere XML issue, I'd be willing to try to knock both of them down quickly.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to