Merged xmlpattern branch from hduprat/project-bar.