[jboss-jira] [JBoss JIRA] (JGRP-2022) XSD schemas do not properly validate

Manuel Dominguez Sarmiento (JIRA) issues at jboss.org
Tue Mar 1 07:25:00 EST 2016


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

Manuel Dominguez Sarmiento commented on JGRP-2022:
--------------------------------------------------

Proper XSD validators will complain in any IDE with schema validation turned on (which is the case for Eclipse by default). Command-completion does not work at all in this case. An invalid schema is equivalent to Java code that will not compile. It is not just aesthetic.

Please note that older jgroups.xsd versions worked fine. The problem seems to have arised when relay.xsd and fork-stacks.xsd were added to the mix. I'm no XSD expert either, but the error messages point to some kind of incorrect namespace handling.


> XSD schemas do not properly validate
> ------------------------------------
>
>                 Key: JGRP-2022
>                 URL: https://issues.jboss.org/browse/JGRP-2022
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 3.6.8
>            Reporter: Manuel Dominguez Sarmiento
>            Assignee: Bela Ban
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: fork-stacks.xsd, jgroups.xsd, relay.xsd
>
>
> Affected resources:
> - jgroups.xsd
> - relay.xsd
> - fork-stacks.xsd
> Paste these files into an Eclipse project, or run them through Oxygen XML or any other XML / XSD validator, you will get errors relating to src-resolve.4.1



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


More information about the jboss-jira mailing list