checkParserStateNs(xpp, 2, xpp.START_TAG, null, 1, "", "char", null, false, 0);
checkParserStateNs(xpp, 2, XmlPullParser.START_TAG, null, 1, "", "char", null, false, 0);
    public void testMultiNs() throws Exception {        XmlPullParserFactory factory = newFactory();        XmlPullParser xpp = factory.newPullParser();        xpp.setInput(new StringReader("<foo><bar xmlns=''/><char xmlns=''></char></foo>"));        checkParserStateNs(xpp, 0, xpp.START_DOCUMENT, null, 0, null, null, null, false, -1);        xpp.next();        checkParserStateNs(xpp, 1, xpp.START_TAG, null, 0, "", "foo", null, false, 0);        xpp.next();        checkParserStateNs(xpp, 2, xpp.START_TAG, null, 1, "", "bar", null, true, 0);        xpp.next();        checkParserStateNs(xpp, 2, xpp.END_TAG, null, 1, "", "bar", null, false, -1);        xpp.next();        checkParserStateNs(xpp, 2, xpp.START_TAG, null, 1, "", "char", null, false, 0);        xpp.next();        checkParserStateNs(xpp, 2, xpp.END_TAG, null, 1, "", "char", null, false, -1);        xpp.next();        checkParserStateNs(xpp, 1, xpp.END_TAG, null, 0, "", "foo", null, false, -1);        xpp.next();        checkParserStateNs(xpp, 0, xpp.END_DOCUMENT, null, 0, null, null, null, false, -1);        xpp.setInput(new StringReader("<foo><bar xmlns=''></bar><char xmlns=''></char></foo>"));        checkParserStateNs(xpp, 0, xpp.START_DOCUMENT, null, 0, null, null, null, false, -1);        xpp.next();        checkParserStateNs(xpp, 1, xpp.START_TAG, null, 0, "", "foo", null, false, 0);        xpp.next();        checkParserStateNs(xpp, 2, xpp.START_TAG, null, 1, "", "bar", null, false, 0);        xpp.next();        checkParserStateNs(xpp, 2, xpp.END_TAG, null, 1, "", "bar", null, false, -1);        xpp.next();        checkParserStateNs(xpp, 2, xpp.START_TAG, null, 1, "", "char", null, false, 0);        xpp.next();        checkParserStateNs(xpp, 2, xpp.END_TAG, null, 1, "", "char", null, false, -1);        xpp.next();        checkParserStateNs(xpp, 1, xpp.END_TAG, null, 0, "", "foo", null, false, -1);        xpp.next();        checkParserStateNs(xpp, 0, xpp.END_DOCUMENT, null, 0, null, null, null, false, -1);    }