Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
romainreuillon committed Jun 1, 2014
1 parent 3220663 commit 5458f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/main/scala/scalaxb/compiler/wsdl11/GenSource.scala
Expand Up @@ -377,7 +377,7 @@ trait GenSource {
val fromXmls = (parts map { p =>
val v =
if (b.literal && p.element.isDefined) "(body.headOption getOrElse {body})"
else if (b.literal) """scala.xml.Elem("", "Body", scala.xml.Null, defaultScope, body.toSeq: _*)"""
else if (b.literal) """scala.xml.Elem(null, "Body", scala.xml.Null, defaultScope, body.toSeq: _*)"""
else if (!soap12) """(scalaxb.Helper.resolveSoap11Refs(body.head) \ "%s").head""" format (p.name.get)
else """(body.head \ "%s").head""" format (p.name.get)

Expand Down

0 comments on commit 5458f29

Please sign in to comment.