What steps will reproduce the problem?
1. Create a valid XML file representing a protobuf object. You could call
XmlFormat.print on a protobuf object, for instance.
2. Add a valid XML comment to the file
3. Call XmlFormat.merge with that file and you'll get an exception
What is the expected output? What do you see instead?
I'd expect it to create the protobuf object. Instead it causes an exception of
the form:
com.google.protobuf.XmlFormat$ParseException: 4:4: Expected identifier. -!
at com.google.protobuf.XmlFormat$Tokenizer.parseException(XmlFormat.java:662)
What version of the product are you using? On what operating system?
1.1 on Mac OS X.
Please provide any additional information below.
Original issue reported on code.google.com by duetj...@gmail.com on 10 Mar 2011 at 9:54
Original issue reported on code.google.com by
duetj...@gmail.com
on 10 Mar 2011 at 9:54