I noticed a simple problem with the jboss_4_0.dtd. port-component-name is undefined. I submitted the smallest patch ever, which is probably not actually worth looking at, but nonetheless it is here:
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=1065336&group_id=22866