Page 1 of 1
About Question enthuware.jwpv6.2.698 :
Posted: Thu Jan 19, 2012 4:15 am
by goetz
Code: Select all
<!ELEMENT web-resource-collection (web-resource-name, description?, url-pattern*, http-method*)>
Checking the spec, I believe the above should be:
Code: Select all
<!ELEMENT web-resource-collection (web-resource-name, description*, url-pattern+, http-method*)>
Re: About Question enthuware.jwpv6.2.698 :
Posted: Thu Jan 19, 2012 8:06 am
by admin
I am unable to find the dtd for 3.0. In 2.3, I see that it is specified as given in the explanation.
Could you please send me the link where you saw it?
thank you,
Paul.
Re: About Question enthuware.jwpv6.2.698 :
Posted: Thu Jan 19, 2012 8:51 am
by goetz
I could be wrong because I didn't check the dtd, instead I looked at the 2.5 xsd:
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd
and checked the spec under the web-resource-collectionType element.
Re: About Question enthuware.jwpv6.2.698 :
Posted: Wed Jan 09, 2013 5:59 pm
by gurpreet_asrgndu
so which is the right explanation regarding the multiplicity of elements
Re: About Question enthuware.jwpv6.2.698 :
Posted: Thu Jan 10, 2013 7:01 am
by admin
* is correct for url pattern as well as for description.
HTH,
Paul.