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

Trying to parse the EBUCore XSD schema to Avro #2

Open
beligum opened this issue Jan 19, 2016 · 2 comments
Open

Trying to parse the EBUCore XSD schema to Avro #2

beligum opened this issue Jan 19, 2016 · 2 comments

Comments

@beligum
Copy link

beligum commented Jan 19, 2016

Hi Mike,

As requested, I'm posting two XSD schema files to this issue: one is the official EBUCore spec schema file (ebucore.xsd, renamed to .txt to have Github accept it) and the other is the adjusted version I created to make it work with your code (ebucore_adjusted.xsd). Take a look at both (probably best to do a diff, cause I don't really remember all the things I changed). For one, I had to explicitly add types to all elements that didn't have it explicitly coded in the schema.

As a second path, I'm also exploring a conversion method where I first try to convert the XSD to a JSON schema and then to an Avro schema using json-schema-avro. See this issue for more details.

ebucore.xsd.txt
simpledc20021212.xsd.txt
xml.xsd.txt

ebucore_adjusted.xsd.txt

@mikepigott
Copy link
Owner

Thank you!

@mikepigott
Copy link
Owner

@beligum - I'm sorry that I haven't looked at this since you posted it. Do you still need help, or were you able to find a different solution?

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

2 participants