[jbosstools-issues] [JBoss JIRA] (JBIDE-21688) jbxb_1_0.xsd is invalid

Rob Stryker (JIRA) issues at jboss.org
Mon Feb 15 12:39:00 EST 2016


    [ https://issues.jboss.org/browse/JBIDE-21688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163160#comment-13163160 ] 

Rob Stryker commented on JBIDE-21688:
-------------------------------------

To replicate:

1) Create a new dynamic web project. 
2) Copy jbxb_1_0.xsd from wildfly10 distribution into your project, in an arbitrary non-source folder such as WebContent/resources
3) Check validation errors

> jbxb_1_0.xsd is invalid
> -----------------------
>
>                 Key: JBIDE-21688
>                 URL: https://issues.jboss.org/browse/JBIDE-21688
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: upstream
>            Reporter: Rob Stryker
>             Fix For: 4.3.x
>
>
> jbxb_1_0.xsd has the following validation errors:
> Error 1, line 19:
> src-resolve.4.2: Error resolving component 'jbxb:package'. It was detected that 'jbxb:package' is in namespace 'http://www.jboss.org/xml/ns/jbxb', but components from this namespace are not 
>  referenceable from schema document 'file:///home/rob/apps/eclipse/workspaces/runtime-EclipseApplication/Dweberw/WebContent/WEB-INF/schema/jbxb_1_0.xsd'. If this is the incorrect namespace, perhaps 
>  the prefix of 'jbxb:package' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:///home/rob/apps/eclipse/workspaces/runtime-EclipseApplication/
>  Dweberw/WebContent/WEB-INF/schema/jbxb_1_0.xsd'.
> Error 2, line 94:
> src-element.3: Element 'class' has both a 'type' attribute and a 'anonymous type' child. Only one of these is allowed for an element.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list