On 30/08/15 18:50, Martin Holmes wrote:
Are you suggesting that we post-process p5.xml to introduce <sequence> elements round every <classRef> and then use that version to drive dtd generation? and then throw it away? I believe that sounds like what Baldrick would call a very Cunning Plan, but the devil is in the details...
That's exactly what I mean. If we know what needs to be inserted where (which I'm not sure we do, exactly, yet, but it could be completely figured out presumably), then we can just make a bastardized p5.xml, use it, and throw it away without anyone ever knowing.
Cunning as a sackful of ferrets, indeed. Of course, if you have an ODD which mentions <classRefs> and it doesn't know about the necessary bastardization procedure, it won't generate valid DTDs any more, but presumably we don't care about that?