Manuel Collado wrote: > >> >> Example: A must contain B or C+D. >> >> We have this invalid A: <A><B/><D/></A>. >> >> User1 wants to fix this by adding C first and then by removing B. >> >> User2 wants to remove B first and then to add C. >> >> User3 wants to remove D. > > > But XXE doesn't allow: > > User4 wants to convert B into C
May be this is not allowed because converting B to C is not simply possible. For example, B contains text and C cannot contain text. > Other transformations are also prohibitted. So the DTD/Schema > conformance is only partially relaxed inside invalid elements. Wouldn't > it be better (and simpler) to fully relax the conformance ? We clearly have not tested the usability of our ``repair mode''. Frankly, we currently have not much time to experiment different methods of handling invalid documents.

