3 Replies Latest reply: May 14, 2011 7:31 AM by Ralf Battenfeld RSS

    ApplicationDescriptor - Missing javaee namespace?

    Ralf Battenfeld Novice



      I was pointet by another discussion to the shrinkwrap descriptor project. This is something I can definitely reuse


      I tried the ApplicationDescriptor for definining the application.xml. The file looks like this:


      <?xml version="1.0" encoding="UTF-8" standalone="no"?>

      <application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="6">
















      But this declaration doesn't work for me. JBoss 6 finallogs the following:


      Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to resolve schema binding for QName {http://java.sun.com/xml/ns/javaee}application with schemaLocation=null

          at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:180) [jbossxb.jar:2.0.3.GA]


      When I include the namespace for javaee, then the deployment works:

      <application xmlns:javaee="http://java.sun.com/xml/ns/javaee" 


      I think, it would be good to make all declarations changeable.


      What are the plans for the rest of the deployment descriptors? I can offer to implemented some of the ejb related descriptors.