Originally posted by Sekhar Kadiyala:
Thank you, Kathy.
Would it be fair, if i assume that the web-app element definition thats given in dtd contains the order?
<!ELEMENT web-app (icon?, display-name?, description?, distributable?,
context-param*, filter*, filter-mapping*, listener*, servlet*,
servlet-mapping*, session-config?, mime-mapping*, welcome-file-list?,
error-page*, taglib*, resource-env-ref*, resource-ref*, security-constraint*,
login-config?, security-role*, env-entry*, ejb-ref*, ejb-local-ref*)>
Can we assume this order?
The order defined in DTD should be taken into consideration. Becoz thats a basic XML rule. The order in which the elements appear in the ELEMENT TAG should be obeyed by the xml documents uses that DTD for validation.
Kathy can you give reason for the order applied in 1.3 and not in 1.4.
IF web.xml of scwcd 1.4 follows a specific dtd. It has to follow the xml rules correct ?
Thanks,
RAMA.