This page is no longer maintained — Please continue to the home page at www.scala-lang.org

ANN: scalaxb 0.1.0 is released

No replies
eed3si9n
Joined: 2010-01-24,
User offline. Last seen 42 weeks 6 days ago.
Hi all,
I'd like to sheepishly announce some updates to scalaxb.
- Implements parsing of content models using parser combinators. - Implements support for xsi:nillable (GH-3).
The following code is an example of a generated parser:
    object Address extends rt.ElemNameParser[Address] {      val targetNamespace = "http://www.example.com/IPO"
      def parser(node: scala.xml.Node): Parser[Address] =        (rt.ElemName(targetNamespace, "name")) ~           (rt.ElemName(targetNamespace, "street")) ~            (rt.ElemName(targetNamespace, "city")) ^^            { case p1 ~           p2 ~           p3 => Address(p1.text,          p2.text,          p3.text) }     }
Further information is available at http://scalaxb.org.GitHub repo is at http://github.com/eed3si9n/scalaxb.
Thanks,e.e

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland