Wondering if we should make the regExes in xml.js also static?