Comment #1 on issue 220 by jas...@google.com: TextFormat:Parser cannot parse strings with colon?
http://code.google.com/p/protobuf/issues/detail?id=220

Can you include the actual code? This works as expected for me:

TEST(MessageFormat, ParseColon) {
  protobuf_unittest::OneString m1, m2;
  const string data = "some:text";
  m1.set_data(data);
  string wire;
  TextFormat::PrintToString(m1, &wire);
  EXPECT_TRUE(TextFormat::ParseFromString(wire, &m2));
  EXPECT_EQ(data, m2.data());
}

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to