Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
extending simpleType and adding attribute named value #221
<xs:complexType name="FieldOption"> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute name="disabled" type="xs:string" default="string" use="optional"/> <xs:attribute name="value" type="xs:string" use="optional"/> </xs:extension> </xs:simpleContent> </xs:complexType>
case class FieldOption(value: String, disabled: String, value: Option[String] = None)
This may need to be broken into several issues. The code generated from the schema is not compiling.
Here's the schema:
Here's the generated flow.scala (flow is my chosen package name):
Here's the generated xmlprotocol.scala:
This gist has all the errors: https://gist.github.com/lyle-janrain/2739a17716de23a96787
Seems like there may be multiple unrelated issues. The thing about FieldOption is one, the stuff about p1 is another, and the foo thing, I'm not sure.