ser.setPrefix("soap", "http:
ser.setPrefix("boo", "http:
    public void testNamespaceGeneration() throws Exception {        XmlSerializer ser = factory.newSerializer();        StringWriter sw = new StringWriter();        ser.setOutput(sw);        //assertEquals(null, ser.getOutputEncoding());        ser.startDocument("ISO-8859-1", Boolean.TRUE);        ser.setPrefix("soap", "http://tm");        ser.startTag("", "foo");        //TODO: check that startTag(null, ...) is not allowed        ser.endTag("", "foo");        ser.endDocument();        //xpp.setInput(new StringReader("<foo></foo>"));        String serialized = sw.toString();        xpp.setInput(new StringReader(serialized));    }