0 Replies Latest reply on Sep 26, 2012 9:55 PM by vamsi2012

    Error in jboss-ejb3-spec-2_0.xsd for JBOSS AS7.1

    vamsi2012

      I am porting JRun4 to JBoss AS 7.1 The following is the JBoss-ejb3.xml I am using :  

       

      Issue 1: http://www.jboss.com/xml/ns/javaee jboss-ejb3-2_0.xsd - 404 page not found, when tried to get the xsd. The following are the jboss-ejb3-2_0.xsd and jboss-ejb3-spec-2_0.xsd that I have in class path (got it from jboss docs folder): jboss-ejb3-2_0.xsd, jboss-ejb3-spec-2_0.xsd files are attached  

       

       

      Issue 2: Below is the error that is coming in jboss-ejb3-spec-2_0.xsd when trying to validate the xml with the XSD

       

      cos-nonambig: "http://java.sun.com/xml/ns/javaee":assembly-descriptor and "http://java.sun.com/xml/ns/javaee":assembly-descriptor (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles.

       

      jboss-ejb3-spec-2_0.xsd /SampleEJB/ejbModule/META-INF line 126 XML Schema Problem.