[jboss-jira] [JBoss JIRA] (JBMETA-384) jboss-web_8_0.xsd Eclipse validation errors

Denis Golovin (JIRA) issues at jboss.org
Wed Jan 21 19:15:50 EST 2015


     [ https://issues.jboss.org/browse/JBMETA-384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Denis Golovin updated JBMETA-384:
---------------------------------
    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
{code}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'.{code}

2. line 299: 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 
{code}<xsd:include schemaLocation="jboss-common_6_0.xml" />{code}
for schema that defines two types and a group listed below:
{code}jboss:security-domainType
jboss:security-roleType
jboss:jndiEnvironmentRefsGroup{code}



  was:
Eclipse validation reports error in xsd file:

{code}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'.{code}







> jboss-web_8_0.xsd Eclipse validation errors
> -------------------------------------------
>
>                 Key: JBMETA-384
>                 URL: https://issues.jboss.org/browse/JBMETA-384
>             Project: JBoss Metadata
>          Issue Type: Bug
>          Components: web
>            Reporter: Denis Golovin
>            Assignee: Jean-Frederic Clere
>
> 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
> {code}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'.{code}
> 2. line 299: 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 
> {code}<xsd:include schemaLocation="jboss-common_6_0.xml" />{code}
> for schema that defines two types and a group listed below:
> {code}jboss:security-domainType
> jboss:security-roleType
> jboss:jndiEnvironmentRefsGroup{code}



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list