Uploaded image for project: 'Geronimo-Devtools'
  1. Geronimo-Devtools
  2. GERONIMODEVTOOLS-729

application.xml has wrong xml name space

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 3.0
    • 3.0-M2
    • eclipse-plugin
    • None
    • eclipse helios sr1
      latest GEP 3.0-snapshot build

    Description

      1. start eclipse and install the latest gep 3.0 snapshot build
      2. create an ear project
      3. open the generated application.xml

      you will see a xml name space like this:
      <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns="http://java.sun.com/xml/ns/javaee" xmlns:application="http://java.sun.com/xml/ns/javaee/application_5.xsd"
      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_6.xsd"
      id="Application_ID" version="6">

      Note that xmlns:application="http://java.sun.com/xml/ns/javaee/application_5.xsd" is different from xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_6.xsd", they should be aligned to application_6.xsd.

      Attachments

        1. application.xml
          0.5 kB
          Ming Xia

        Activity

          People

            hanhongfang Hong Fang Han
            xiaming Ming Xia
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: