Craig McClanahan wrote:
Validation against the DTD requires two things:

* Using the DOCTYPE declaration (as shown above) in the outer configuration file

* Setting the servlet init parameter "validating" to "true" in /WEB-INF/web.xml
  for the Struts ActionServlet

It doesn't matter whether you use XML entities or not.

One note of caution: validation also requires complying with the document order specified by the DTD, which can constrain the way you break the file out into external entities (they have to reassemble in valid document order).

I'm not familiar enough with the DTD to know if this'll be a factor for a struts-config.xml, or if Struts / Digester is sensitive to document order (if you turn off validation).

L.


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

Reply via email to