About Question enthuware.jwpv6.2.698 :

Moderator: admin

Post Reply
goetz
Posts: 11
Joined: Wed Jan 18, 2012 8:32 am
Contact:

About Question enthuware.jwpv6.2.698 :

Post 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*)>

admin
Site Admin
Posts: 10385
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.698 :

Post 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.

goetz
Posts: 11
Joined: Wed Jan 18, 2012 8:32 am
Contact:

Re: About Question enthuware.jwpv6.2.698 :

Post 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.

gurpreet_asrgndu
Posts: 55
Joined: Thu Jan 03, 2013 7:51 am
Contact:

Re: About Question enthuware.jwpv6.2.698 :

Post by gurpreet_asrgndu »

so which is the right explanation regarding the multiplicity of elements

admin
Site Admin
Posts: 10385
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.698 :

Post by admin »

* is correct for url pattern as well as for description.

HTH,
Paul.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests