Comment #1 on issue 220 by TextFormat:Parser cannot parse strings with colon?

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";
  string wire;
  TextFormat::PrintToString(m1, &wire);
  EXPECT_TRUE(TextFormat::ParseFromString(wire, &m2));

You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to