base trait with xs:anyAttribute outputs two xsi:type attributes on toXML #95

Closed
eed3si9n opened this Issue Oct 21, 2011 · 0 comments

Comments

Projects
None yet
1 participant
@eed3si9n
Owner

eed3si9n commented Oct 21, 2011

reported by @deanhiller on mailing list

steps

  1. define a schema with a complex type with xs:anyAttribute, and a derivative that extends it.
  2. compile the schema.
  3. store a non-default case class into the base trait.
  4. unmarshall it using scalaxb.toXML[A] where A is the trait.

problems

The generated XML document contains two xsi:type attributes.

expectation

one is enough.

note

see https://github.com/eed3si9n/scalaxb-epcis-sample for repro example.

@eed3si9n eed3si9n closed this in 1038a33 Oct 21, 2011

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