| [emf-dev] XML marchalling/unmarshalling |
I was experimenting with marshalling/unmarshalling XML using EMF1.1.1 and XSD1.1.1 and it works great, except when you have a name collision between elements and attributes - quite valid thing for XML. What is happening in this case - generation works fine, marshalling to XML works correctly, but produced XML won't unmarshall. Enclosed are my schemas - I split them in 4, but it does not matter
<<writer.xsd>> <<Book.xsd>> <<generic.xsd>> <<libraryV3.xsd>>
And XML sample, that will not unmarshall correctly
<<My.library>>
Attachment:
writer.xsd
Description: writer.xsd
Attachment:
Book.xsd
Description: Book.xsd
Attachment:
generic.xsd
Description: generic.xsd
Attachment:
libraryV3.xsd
Description: libraryV3.xsd
Attachment:
My.library
Description: My.library