tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56665] XML schema validation exception for effective web.xml generated for servlet-mapping with empty url-pattern
Date Tue, 24 Jun 2014 13:27:45 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56665

Konstantin Kolinko <knst.kolinko@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Konstantin Kolinko <knst.kolinko@gmail.com> ---
...
org.xml.sax.SAXParseException: cvc-complex-type.2.4.b: The content of element
'servlet-mapping' is not complete. One of
'{"http://java.sun.com/xml/ns/javaee":url-pattern}' is expected.


Running with <Context logEffectiveWebXml="true"/> to log the generated merged
web.xml I can see that an url-pattern element was lost from the generated
mapping:

  <servlet-mapping>
    <servlet-name>RequestInfoExample</servlet-name>
  </servlet-mapping>

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message