System.out.println(getClass()+" s="+s);
    public void testSimple() throws IOException, XmlPullParserException {        XmlPullWrapperFactory wrapperFactory = XmlPullWrapperFactory.newInstance(            System.getProperty(XmlPullParserFactory.PROPERTY_NAME),            XmlPullParserFactory.class);        wrapperFactory.setNamespaceAware(true);        XmlSerializerWrapper xs = wrapperFactory.newSerializerWrapper();        StringWriter sw = new StringWriter();        xs.setOutput(sw);        xs.startDocument("UTF-8", Boolean.TRUE);        xs.startTag("test");        xs.attribute("fooAttr", "fooValue");        final String NS = "http://tempuri.org/xmlpull-test";        xs.setCurrentNamespaceForElements(NS);        final String MSG = "World & Universe!";        xs.element("hello", MSG);        xs.setCurrentNamespaceForElements(null);        xs.endTag("test");        xs.endDocument();        String s = sw.toString();        System.out.println(getClass()+" s="+s);        XmlPullParserWrapper pw = wrapperFactory.newPullParserWrapper();        pw.setInput(new StringReader(s));        pw.nextStartTag("test");        assertEquals(pw.getAttributeValue("fooAttr"), "fooValue");        pw.nextTag();        assertTrue(pw.matches(XmlPullParser.START_TAG, NS, "hello"));        assertEquals(pw.nextText(NS, "hello"), MSG);        assertTrue(pw.matches(XmlPullParser.END_TAG, null, "hello"));        pw.nextEndTag("test");    }