[
https://issues.jboss.org/browse/JGRP-2022?page=com.atlassian.jira.plugin....
]
Bela Ban commented on JGRP-2022:
--------------------------------
Comment from [~rvansa]:
So the problem is in <xs:schema ... attributeFormDefault="qualified"/> -
just use "unqualified" and it will work (+ declaring the default namespace).
However, I can see that the namespaces are a bit messy:
* while you 'version' the main schema file (jgroups-3.6.xsd), you don't
version the namespace (it's urn:org:jgroups all the time). urn:jgroups:relay:1.0 is
versioned correctly
** schema location should be also versioned properly, so that you publish that on
http://www.jgroups.org/schema/jgroups-3.6.xsd
* you're not consistent in the namespaces formations: urn:jgroups:relay:1.0 vs.
urn:org:jgroups vs. just fork. All these should be urn:jgroups:something:version or
urn:org.jgroups:something:version (note the dot in org.jgroups, no colon)
Since you allow custom protocols, you should add <xs:any
namespace="##other"/> to main jgroups schema. Ideally, you should adapt
XMLSchemaGenerator to be reusable for custom protocols (generate their own schema).
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)