Element element = new Element("root", "b", "urn:Bean");
new Document(element);
SimpleBean bean = new SimpleBean();
bean.setBigByte(new Byte((byte)0xfe));
bean.setLittleByte((byte)0xfd);
type.writeObject(bean, new JDOMWriter(element), new Context());
Byte bb = new Byte((byte)0xfe);
String bbs = bb.toString();
addNamespace("n1", "http://services.aegis.cxf.apache.org");
assertValid("/b:root/n1:bigByte[text()='" + bbs + "']", element);