DOCTYPE syntax uses an optional URI for the DTD, so that a validating
XML parser can download an unknown DTD and validate the document. Struts
registers local copy of it's configuration DTD to the XML parser
(struts, tiles & validator). This way they're is no need to have access
to the Internet
Nico.
Alain Van Vyve a écrit :
A lot of things have to be parsed : web.xml, struts-config.xml and so on
so for example, lines like that are already present in our XML files :
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
or
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>
I understand the concept of DTD but
does it mean that each time a XML file is parsed, a connection to SUN
or Jakarta is established in order to retrieve the DTD ?
Thank's
Alain
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]