uctx.setDocument(new TestDocument("attr", "abc"));
try {
uctx.attributeInt("namespace", "attr", 5);
fail("Expected JiBXParseException to be thrown");
} catch (JiBXException e) {
assertEquals(e, new JiBXParseException(null, "abc", "namespace", "attr", null));
}
}