Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Avro file when XML has attributes #11

Open
shek007 opened this issue Mar 19, 2015 · 0 comments
Open

Wrong Avro file when XML has attributes #11

shek007 opened this issue Mar 19, 2015 · 0 comments

Comments

@shek007
Copy link

shek007 commented Mar 19, 2015

I was trying to generate Avro file with your jars, but I get wrong output when XML has attributes & value. Following is the XML content,
<?xml version="1.0" encoding="UTF-8"?> <MyReport Major="1" Minor="0" Revision="1"> <IDs> <ID Type="No">Test</ID> <ID Type="Name">Test company</ID> </IDs> </MyReport>

I used http://www.freeformatter.com/xsd-generator.html to generate xsd and then I used your jar to generate avsc & avro. But in avro file I don't see Test, Test company. My avro file looks as follows,
��1��0��1�� NoName

It had some random special symbols in middle. Basically, I don't see all data! Can you please look into it and fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant