<div dir="ltr">It's really the description of the single tag that would be of benefit IMO. I suppose though really that could be documented elsewhere. I don't really have a strong opinion one way or the other on it.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 9, 2017 at 3:07 AM, Darran Lofthouse <span dir="ltr"><<a href="mailto:darran.lofthouse@jboss.com" target="_blank">darran.lofthouse@jboss.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The point is the schema will not be helpful - the configuration element can contain any element from any other namespace so from reading the schema all you will know is the element is called 'configuration', you will know it's namespace and you know it can contain anything.<br>
<br>
If we do add this we will probably want it in by mid next week at the latest - if we are mandating the namespace is specified we will want some time to find any existing config files that don't contain it.<br>
<br>
Regards,<br>
Darran Lofthouse.<span class=""><br>
<br>
<br>
<br>
On 08/06/17 17:21, James Perkins wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
I think from a users perspective it wouldn't hurt to have one. It's like<br>
documentation if you know how it works it's not useful. However if<br>
you're just trying to learn how it works it can be helpful. :)<br>
<br>
On Wed, Jun 7, 2017 at 11:11 AM, David M. Lloyd <<a href="mailto:david.lloyd@redhat.com" target="_blank">david.lloyd@redhat.com</a><br></span><div><div class="h5">
<mailto:<a href="mailto:david.lloyd@redhat.com" target="_blank">david.lloyd@redhat.com</a><wbr>>> wrote:<br>
<br>
Something that has come up in a JIRA issue [1] is the question of<br>
whether the WildFly Client Configuration file should use a schema for<br>
its root element.<br>
<br>
The root of the "wildfly-client.xml" file is presently a single,<br>
namespace-less element named "configuration". The content of this<br>
element is a sequence of library-specific configuration, like this:<br>
<br>
<configuration><br>
<discovery xmlns="urn:wildfly-discovery:1<wbr>.0"><br>
<!-- content here --><br>
</discovery><br>
<jboss-ejb-client xmlns="urn:jboss:wildfly-clien<wbr>t-ejb:3.0"><br>
<!-- content here --><br>
</jboss-ejb-client><br>
<!-- etc. --><br>
<configuration><br>
<br>
The question is, should there be a schema for that root element? The<br>
entire schema would be something like:<br>
<br>
<xs:element name="configuration" type="configuration-type"/><br>
<br>
<xs:complexType name="configuration-type"><br>
<xs:any maxOccurs="unbounded" namespace="##other"/><br>
</xs:complexType><br>
<br>
Then you'd have to put the configuration namespace in as well:<br>
<br>
<configuration xmlns="urn:wildfly-client:1.0"<wbr>><br>
<discovery xmlns="urn:wildfly-discovery:1<wbr>.0"><br>
<!-- content here --><br>
</discovery><br>
<jboss-ejb-client xmlns="urn:jboss:wildfly-clien<wbr>t-ejb:3.0"><br>
<!-- content here --><br>
</jboss-ejb-client><br>
<!-- etc. --><br>
</configuration><br>
<br>
WDYT? Is it worth having a whole schema/namespace for a single element?<br>
<br>
[1] <a href="https://issues.jboss.org/browse/ELY-1098" rel="noreferrer" target="_blank">https://issues.jboss.org/brows<wbr>e/ELY-1098</a><br>
<<a href="https://issues.jboss.org/browse/ELY-1098" rel="noreferrer" target="_blank">https://issues.jboss.org/brow<wbr>se/ELY-1098</a>><br>
--<br>
- DML<br>
______________________________<wbr>_________________<br>
wildfly-dev mailing list<br></div></div>
<a href="mailto:wildfly-dev@lists.jboss.org" target="_blank">wildfly-dev@lists.jboss.org</a> <mailto:<a href="mailto:wildfly-dev@lists.jboss.org" target="_blank">wildfly-dev@lists.jbos<wbr>s.org</a>><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/wildfly-dev</a><span class=""><br>
<<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailm<wbr>an/listinfo/wildfly-dev</a>><br>
<br>
<br>
<br>
<br>
--<br>
James R. Perkins<br>
JBoss by Red Hat<br>
<br>
<br>
______________________________<wbr>_________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org" target="_blank">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/wildfly-dev</a><br>
<br>
</span></blockquote>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>James R. Perkins</div><div>JBoss by Red Hat</div></div></div></div></div>
</div>