Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
scalaxb is an XML data binding tool for Scala.
Scala Java Other

Merge pull request #310 from jet-black/master

Ability to ignore unknown elements in response
latest commit 539ea273a9
@eed3si9n authored
Failed to load latest commit information.
cli Add actual tests for ignore unknown flag
integration/src/test Add actual tests for ignore unknown flag
mvn-scalaxb Add ignore unknown elements property
notes Create notes for new version
project Fix scalaz dependency
sbt-scalaxb/src Add ignore unknown elements property
src/main/conscript/scalaxb
web aggregated build.sbt into build.scala
.gitignore Add .cache to .gitignore (generated by Scala IDE plugin for Eclipse).
INSTALL.md launchconfig updates
LICENSE applying the MIT license.
README.md conscript
build.sbt build.sbt was wrongly modified

README.md

scalaxb

scalaxb is an XML data-binding tool for Scala that supports W3C XML Schema (xsd) and Web Services Description Language (wsdl) as the input file.

From schema documents scalaxb will generate Scala source files containing case classes to represent the data and typeclass instances to turn XML documents into an object, and the object back to XML.

Status

The latest is 1.3.0. Some things may not work. I'd really appreciate if you could run it against your favorite xsd file and let me know the result.

Modules

There are currently four ways of running scalaxb:

  • command line app scalaxb
  • sbt plugin sbt-scalaxb
  • maven plugin mvn-scalaxb
  • web API scalaxb-heroku hosted on heroku

sbt-scalaxb

To call scalaxb from sbt 0.13.x, put this in your project/scalaxb.sbt:

resolvers += Resolver.sonatypeRepo("public")

addSbtPlugin("org.scalaxb" % "sbt-scalaxb" % "X.X")

and this in scalaxb.sbt:

scalaxbSettings

packageName in scalaxb in Compile := "xxx"

sourceGenerators in Compile <+= scalaxb in Compile

dispatchVersion in scalaxb in Compile := "0.11.1"

command line app scalaxb

See INSTALL.md.

mvn-scalaxb

See mvn-scalaxb.

Documents

Further info is available at scalaxb.org.

Bug Reporting

If you're having problem with scalaxb, please take a moment and read issue reporting guideline.

Licensing

It's the MIT License. See the file called LICENSE.

Contacts

Something went wrong with that request. Please try again.