Uploaded image for project: 'Wookie'
  1. Wookie
  2. WOOKIE-192

web.xml violates schema contraints

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.9.1
    • 0.9.1
    • Server
    • None
    • ALL - but tested on Windows 7 x64 sp1. Eclipse Helios Build id: 20110218-0911

    Description

      The xml parser in Eclipse flags a problem with a definition in web.xml

      Description: cvc-complex-type.2.4.d: Invalid content was found starting with element 'param-name'. No child element is expected at this point.
      Resource: web.xml
      Path: /Apache Wookie/WebContent/WEB-INF
      Location: line 141
      Type: XML Problem

      In the definition...

      <servlet-mapping>
      <servlet-name>default</servlet-name>
      <url-pattern>/export/*</url-pattern>
      <param-name>dirAllowed</param-name>
      <param-value>false</param-value>
      </servlet-mapping>

      ...possibly the two params below are in the wrong place and belong as a child of the <servlet><init-param> tag? Might be hard to alter as the proper place they might go are in the the parent containers web.xml (i.e. default servlet is declared in the parent web.xml)

      <param-name>dirAllowed</param-name>
      <param-value>false</param-value>

      Attachments

        Activity

          People

            scottbw Scott Wilson
            psharples Paul Sharples
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: