Text moved to end in certain types of mixed classes
Brought to you by:
pabigot
A mixed element with a sequence of <xs:any> moves all of the embedded text to the end:
<v>Test <xhtml:b>something</xhtml:b> else<v>
becomes
<v><xhtml:b>something</xhtml:b>Test else</v>
Sample that demonstrates the bug.
This isn't so much a bug as a design decision, because it's not clear how to represent mixed content in a way that allows PyXB to both preserve it and perform validation that might change its order.
I've started a discussion on the mailing list to explain it and see how people would like to see it addressed. Please follow up there (I believe you're subscribed).
Considered fixed as of this one. Documentation update to follow via #171.
commit 0317acf4b2f17c0066e93e1048301483f12d226a
Author: Peter A. Bigot <pab@‌>
Date: Sat Dec 15 12:19:32 2012 -0600