jboss-service.xml - stange parsing behavior



I have in my jboss-service.xml configured several mbeans. Every mbean has 4 attributes, that are injected to it.


The strange this is, that one of mbeans gets kind of "left truncated" value. When i am injecting in XML "ABCDEFG", i receive "DEFG" and so one. The length of missing text depends on position in XML. Even the added comment or removed whitespace from XML changes injected text length. When i simply switch positions of two attributes, text is truncated in different position too.


Other beans are correctly injected. XML itself is valid (due to xmllint), I am using Jboss AS 7.1.1.Final.


Do you have any idea, what could cause this behavior? Thank you.


No comments:

Post a Comment