// JAXEN-46: http://jira.codehaus.org/browse/JAXEN-46
public void testHashInAttributeValue() {
Element root = new Element("test");
Document doc = new Document(root);
Attribute test = new Attribute("test", "SUBSCRIBER");
Attribute test1 = new Attribute("test1", "SUBSCRIBER#");
root.addAttribute(test);
root.addAttribute(test1);
Nodes result = doc.query("test[@test='SUBSCRIBER']");
assertEquals(1, result.size());
assertEquals(root, result.get(0));