[
https://issues.jboss.org/browse/ELY-784?page=com.atlassian.jira.plugin.sy...
]
David Lloyd commented on ELY-784:
---------------------------------
The fix for choice-inside-all is to use a substitution group, which requires the elements
to be declared in the root schema with an abstract base element for each group, with
references to those elements from the "all".
Schema problems in elytron-1_0.xsd
----------------------------------
Key: ELY-784
URL:
https://issues.jboss.org/browse/ELY-784
Project: WildFly Elytron
Issue Type: Bug
Reporter: David Lloyd
Assignee: David Lloyd
It looks like I made a mistake in the XSD - for whatever reason I was under the
impression that it was possible to embed a "choice" under an "all"; my
IDE now has decided to point out that this is not allowed (not sure why it didn't do
so earlier).
So now there needs to be a solution which allows this element setup, hopefully without
resorting to "sequence".
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)