}
public void testTypedIntElem()
throws XMLStreamException
{
SMInputFactory sf = getInputFactory();
String XML = "<root><a> -1</a><b> ?</b></root>";
SMInputCursor rootc = sf.rootElementCursor(new StringReader(XML)).advance();
assertEquals("root", rootc.getLocalName());
SMInputCursor crsr = rootc.childElementCursor().advance();
assertEquals("a", crsr.getLocalName());
assertEquals(-1, crsr.getElemIntValue());
assertNotNull(crsr.getNext());