Skip to content
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

scalaxb generates code that uses the _match_ keyword as variable name. #8

Closed
gruenewa opened this issue Sep 7, 2010 · 1 comment
Closed
Labels

Comments

@gruenewa
Copy link

gruenewa commented Sep 7, 2010

<schema targetNamespace="http://www.example.com/IPO"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:ipo="http://www.example.com/IPO">
  <complexType name="Address">
    <sequence>
  <element name="name"   type="string"/>
  <element name="street" type="string"/>
  <element name="city"   type="string"/>
  <element name="match"   type="string"/>
    </sequence>
  </complexType>
</schema>

produces:

case class Address(name: String,
  street: String,
  city: String,
 match: String)

Same issue for implicit keyword. Nice overview of keywords is here: http://programming-scala.labs.oreilly.com/ch02.html#reserved-words-table

@eed3si9n
Copy link
Owner

eed3si9n commented Sep 8, 2010

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants