Hussein Shafie wrote:
> I'm sorry to have to answer no to your very clear and very
> well-documented feature request.

> The main reason to say no is not that the implementation
> described above is a lot of work but that, in fact, this
> implementation is a hack. Rarely used feature or not, the
> XML recommendation says that ANY means that the element can
> contain zero or more child elements of any declared
> type, as well as character data, whitespace or not.

Well, fair enough, I suppose, as it is true that it is a bit of a hack.
Perhaps you could advise me if there might be a hacky workaround that
would accomplish what I want.  If I declare the extwrapper element with

<!ATTLIST extwrapper xml:space (default|preserve) #FIXED 'preserve'>

and use another tool to perform the indentation, will XXE still fill and
wrap the element or its children?  I'm not sure if the xml:space
preserve would even propagate to the children (I suspect not).

@alex


Reply via email to