lcytzk / protobuf-java-format

Automatically exported from code.google.com/p/protobuf-java-format
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

XmlFormat.merge calls JsonFormat.merge #26

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Call XmlFormat.merge(Readable input, Message.Builder builder) with an XML 
string

What is the expected output? What do you see instead?
Expect XML to be parsed. Instead I get an error about a missing "{" from the 
JsonFormat class.

What version of the product are you using? On what operating system?
1.1

Please provide any additional information below.

It seems that the code in XmlFormat is calling the following instead of just 
calling its own merge method:
        JsonFormat.merge(input, ExtensionRegistry.getEmptyRegistry(), builder);

Original issue reported on code.google.com by duetj...@gmail.com on 20 Dec 2010 at 9:27

GoogleCodeExporter commented 8 years ago
Please verify with v1.1.1 (or trunk) or provide test case of example XML to 
reproduce this.

Original comment by eliran.bivas on 3 May 2011 at 1:28

GoogleCodeExporter commented 8 years ago

Original comment by eliran.bivas on 3 May 2011 at 1:36