[jboss-as7-dev] Error in xml question

Max Rydahl Andersen max.andersen at redhat.com
Tue May 10 05:54:05 EDT 2011


Note, I fixed it by just  using the any-address.

But fixing the xml was not the question here. 
My question was about the xml containing an error  ( at least XSD validation is broken, right?)
is it expected that no error about this is shown and its just failing 
with a "cannot resolve network interface default" error ?

/max

On May 10, 2011, at 11:27, Emanuel Muckenhuber wrote:

> On 05/10/2011 08:45 AM, Max Rydahl Andersen wrote:
>> in an attempt to fix that quickly I tried to add an extra inet-address:
>> 
>>  <interface name="default">
>>             <inet-address value="192.168.3.1"/>
>>             <inet-address value="192.168.2.10"/>
>>   </interface>
> 
> This is valid from an xml standpoint - however it tries to match all 
> criteria, however you can try something like this:
> 
> <interface name="default">
>   <any>
>     <inet-address value="192.168.3.1"/>
>     <inet-address value="192.168.2.10"/>
>   </any>
> </interface>
> 
> 
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev

/max
http://about.me/maxandersen






More information about the jboss-as7-dev mailing list