Hi cuzdatha and welcome to the forums!
This is an interesting scenario. I have always wondered how Java and InfoPath could interact together. I have done a lot of Java programming in my academic studies, but it does not seem to popular in the business world.
The problem you are seeing with the attributes is because per the XML specification, attributes cannot be repeating. The only way you could have multiple attributes, is if you gave them all a seperate name, like attr1, attr2, etc. However, this will be hard to describe in the schema and will not be a very pretty data structure. You should create a repeating structure underneath the node that you are wanting to put the attributes on and store your repeating data there.
I hope this helps, please let us know how it turns out!
Matt Faus / Microsoft InfoPath MVPQdabra® Software / Streamline data gathering to turn process into knowledge