eed3si9n/scalaxb — Issue #92: attribute and element named the same
Author: eed3si9n
Created: 2011-10-17 14:19:17+00:00
State: open

originally reported by ido.

## steps
1. compile [qstat.xsd](https://github.com/gridengine/gridengine/blob/f03b705cc65532dbf5bf62fea613400fa2692948/source/dist/util/resources/schemas/qstat/qstat.xsd).
2. compile the generated code.

## problem

```
[error] /Users/tamir/work/progs/small/sge/target/scala-2.9.1/
src_managed/main/at/csf/sge/qstat.scala:75: state is already defined
as value state
[error] lazy val state = job_list_tsequence2.state
[error] ^
[error] one error found
```

## expectation
the generated code compiles (for example, rename the second `state` to `state2`).

## note
this may cause issues down the line with derivation.