Skip to content

Generate Avro schema and Avro binary from XSD schema and XML

License

Notifications You must be signed in to change notification settings

omkar-madineni/xml-avro

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xml-avro

This project provides Converter to convert generic xsd/xml to asvc/avro files. Avro schema and avro file are generated from xsd schema and xsd file.

Running Project

  1. git clone;
  2. mvn package;
  3. java -jar target/xml-avro*.jar avro <xmlFile> <avroFile>; // converts specified xml to avro file
  4. java -jar target/xml-avro*.jar xml <avroFile> <xmlFile>; // converts specified avro to xml file

Usage

XML Avro converter.
Usage: "{-d|--debug} {-b|--baseDir <baseDir>} <xsdFile> <xmlFile> {<avscFile>} {<avroFile>}"

Restrictions

Converter has following restriction:

  • xml docs with multiple namespaces are not supported;
  • complex type extension is not supported;

About

Generate Avro schema and Avro binary from XSD schema and XML

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%