@Override
            public void mergeFrom(Input input, RequiresName message) throws IOException
            {
                for (int number = input.readFieldNumber(this);; number = input.readFieldNumber(this))
                {
                    switch (number)
                    {
                        case 0:
                            return;
                        case 1:
                            message.name = input.readString();
                            break;
                        case 2:
                            message.description = input.readString();
                            break;
                        default:
                            input.handleUnknownField(number, this);
                    }
                }
            }
Testing for xml ser/deser against messages.

@author David Yu
@created May 24, 2010
protostuff-xml/src/test/java/io/protostuff/XmlCoreSerDeserTest.java