Community
Participate
Working Groups
Build Identifier: 2.4.2 If you have OPTION_SAVE_TYPE_INFORMATION set in order to always force elements to have an xsi:type specified, it will not force them on top level elements. The following fix: https://bugs.eclipse.org/bugs/show_bug.cgi?id=296144 Will add xsi:type to a top level element if it is required to validate the XML, however this does not include the case where it is being forced to all elements by using OPTION_SAVE_TYPE_INFORMATION. There is a forum discussion on this: http://www.eclipse.org/forums/index.php/t/236774/ That details this further and pinpoints a possiblearea to resolve this in. Reproducible: Always
I tried this with the library schema example and it worked fine, i.e., an xsi:type appears. I'll need an example or test case if you want me to look further.