Fixing some random Netbeans problems with XML