Uploaded image for project: 'JBoss Metadata'
  1. JBoss Metadata
  2. JBMETA-384

jboss-web_8_0.xsd Eclipse validation errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • web
    • None

    Description

      Eclipse validation reports error in xsd file:

      1. https://github.com/jboss/metadata/blob/master/web/src/main/resources/schema/jboss-web_8_0.xsd#L75

      src-resolve.4.2: Error resolving component 'javaee:string'. It was detected that 'javaee:string' is in 
       namespace 'http://xmlns.jcp.org/xml/ns/javaee', but components from this namespace are not 
       referenceable from schema document 'file:///home/eskimo/workspace/javaee-mars/a1/WebContent/WEB-
       INF/jboss-web_8_0.xsd'. If this is the incorrect namespace, perhaps the prefix of 'javaee:string' needs to 
       be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:///
       home/eskimo/workspace/javaee-mars/a1/WebContent/WEB-INF/jboss-web_8_0.xsd'.

      2. https://github.com/jboss/metadata/blob/master/web/src/main/resources/schema/jboss-web_8_0.xsd#L299

      src-ct.2.1: Complex Type Definition Representation Error for type 'symbolic-linked-allowedType'. When
       <simpleContent> is used, the base type must be a complexType whose content type is simple, or, only if
       restriction is specified, a complex type with mixed content and emptiable particle, or, only if extension is
       specified, a simple type. 'boolean' satisfies none of these conditions.

      3. It seems missing

      <xsd:include schemaLocation="jboss-common_6_0.xml" />

      for schema that defines two types and a group listed below:

      jboss:security-domainType
      jboss:security-roleType
      jboss:jndiEnvironmentRefsGroup

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-jclere Jean-Frederic Clere
              nivologd@gmail.com Denis Golovin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: