New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

case object without name is generated #220

Closed
FranklinChen opened this Issue Jul 30, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@FranklinChen
<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <!-- From XML Schema book -->
  <xs:simpleType name="empty">
    <xs:restriction base="xs:string">
      <xs:enumeration value=""/>
    </xs:restriction>
  </xs:simpleType>
</xs:schema>

results in generation of

case object  extends Empty { override def toString = "" }
@eed3si9n

This comment has been minimized.

Show comment
Hide comment
@eed3si9n

eed3si9n Jul 30, 2013

Owner

Thanks for reporting this. I recently reopened #181 to deal specifically with blank enum values, but I guess I'll keep this one.

Owner

eed3si9n commented Jul 30, 2013

Thanks for reporting this. I recently reopened #181 to deal specifically with blank enum values, but I guess I'll keep this one.

@eed3si9n eed3si9n closed this in 9b472f5 Aug 5, 2013

eed3si9n added a commit that referenced this issue Sep 12, 2013

eed3si9n added a commit that referenced this issue Nov 8, 2014

eed3si9n added a commit that referenced this issue Jul 7, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment