assertFalse(sr.hasNext());
}
private void _testElementsWithAttrs(int chunkSize, boolean checkValues, String SPC) throws Exception
{
AsyncXMLInputFactory f = new InputFactoryImpl();
AsyncXMLStreamReader sr = f.createAsyncXMLStreamReader();
// final String XML = SPC+"<root attr='1&2'><leaf xmlns='abc' a ='3'\rb='' /></root>";
final String XML = SPC+"<root attr='1>2, 2<1' />";
AsyncReaderWrapper reader = new AsyncReaderWrapper(sr, chunkSize, XML);
// should start with START_DOCUMENT, but for now skip