Skip to content

Commit

Permalink
Merge pull request #168 from mprihoda/master
Browse files Browse the repository at this point in the history
Typos in word "qualified" prevented use of qualified elements
  • Loading branch information
eed3si9n committed Sep 6, 2012
2 parents 2cf68e7 + 58ffd1a commit 127c5f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/src/main/scala/scalaxb/compiler/xsd/Decl.scala
Expand Up @@ -337,7 +337,7 @@ object AttributeDecl {
case _ => OptionalUse
}
val qualified = (node \ "@form").headOption map {
_.text == "qualifeid" } getOrElse {config.attributeQualifiedDefault}
_.text == "qualified" } getOrElse {config.attributeQualifiedDefault}
val annotation = (node \ "annotation").headOption map { x =>
AnnotationDecl.fromXML(x, config) }

Expand Down Expand Up @@ -439,7 +439,7 @@ object ElemDecl {
} // if-else

val qualified = (node \ "@form").headOption map {
_.text == "qualifeid" } getOrElse {config.elementQualifiedDefault}
_.text == "qualified" } getOrElse {config.elementQualifiedDefault}
val defaultValue = (node \ "@default").headOption map { _.text }
val fixedValue = (node \ "@fixed").headOption map { _.text }
val minOccurs = CompositorDecl.buildOccurrence((node \ "@minOccurs").text)
Expand Down

0 comments on commit 127c5f4

Please sign in to comment.