[wildfly-dev] AppClientXml - Post Code Split
Darran Lofthouse
darran.lofthouse at jboss.com
Tue Aug 5 12:07:05 EDT 2014
After forward porting some schema changes from EAP to WildFly it has
become apparent that it is a little cumbersome to work with AppClientXml
as it's implementation is dependent on the schema definitions in
wildfly-core and yet it lives in wildfly.
The first point I realise is that the root element parsed by
AppClientXml is 'server' however it only accepts a subset of the
elements defined as supported by the 'server' element. Could it make
sense for version 3 of the schema and onward to have a new root element
'client'?
Secondly this could open up the option to have the client element
defined in a schema in wildfly and just reference the types that are in
wildfly-core. wildfly would then contain the parsing code for client
and the parsing code for the referenced types would be in wildfly-core
and accessed through an agreed API that we maintain for compatibility.
Regards,
Darran Lofthouse.
More information about the wildfly-dev
mailing list