Bare text in mixed sequences of type xs:any gets dropped
Brought to you by:
pabigot
A mixed element containing a sequence of xs:any drops the text completely if there isn't any embedded element
<v>Test</v>
becomes
<v/>
The attached file contains the solution that we have used to work around this for the time being.
unittest that reproduces the issue. Also contains a description of our current 1.4 fix
This can probably be fixed, but may have to wait on the resolution to #153.
I've confirmed this will have to wait on the resolution to #153 and the decision of how to maintain mixed content during Python manipulations. It's easy to identify elements of content() that have not been emitted, but not easy to determine whether those elements are still supposed to be there.
Fix will require changes for #112 and is delayed to 1.2.0
commit 135f09a86cbe0f5df2712b41399a1ff9148313b3
Author: Peter A. Bigot <pab@‌>
Date: Sat Dec 15 06:02:27 2012 -0600