In my case, it looks like it was because the sorting dictionary in
SortChildren() in XmlHibernateMappingWriter.cs was missing a
"component" pair. Adding
{ "component", new SortValue { Position = PartPosition.Anywhere, Level
= 2 } },
seems to have fixed my issue with that class, but it's hard to say if
this is a complete fix. It does appear that all elements are grouped
together in all of my mapping files with that change.
I'd submit a patch (and will if it's helpful to you for tracking
purposes) but it seems like a pretty trivial change and if one tag was
missing from the sorting dictionary, it may be worth double checking
that all possible types are there.
On May 1, 11:09 am, James Gregory <
jagregory....@gmail.com> wrote:
> Stuart: It might be too late now, but we'd greatly appreciate seeing the
> mappings causing the problems for you. They'd help us debug the ordering
> code.
>