I just noticed that JiBX is allowing arbitrary attributes in the input that
I'm using. This is surprising because I've been using JiBX for years and
never noticed this...
For example, with this binding:
<binding name="binding">
<mapping name="test" class="Test">
<value name="name" field="name"/>
<collection name="strings" field="strings"
create-type="java.util.ArrayList">
<value name="string" type="java.lang.String"/>
</collection>
</mapping>
</binding>
JiBX is allowing this input:
<test>
<name *blah="blah"*>fred</name>
<strings>
<string>string1</string>
<string *foobar="asdf"*>string2</string>
<string>string3</string>
</strings>
</test>
I must be missing something... how do I prevent JiBX from allowing arbitrary
attributes like *blah* and *foobar* above?
This happens with JiBX 1.2.2 and 1.2.3.
Thanks,
-Archie
--
Archie L. Cobbs
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users