I think you should also check what DTD and XSD outputs look like. As I said on the original ticket, we ought not to generate dtd or xsd which is actually illegal, even if it matches what the ODD says it should less well than the RNG output. In 28/11/16 16:55, Syd Bauman wrote:
Well, perhaps I should. But in the meantime, I just checked the output of my `roma` front-end with the output of $ teitorelaxng --odd --localsource=/path/to/p5.xml and the resulting output XML trees are for our purposes exactly the same.
(There may be some differences in the serialization, as I converted both to canonical XML before comparing; and some details are different, e.g., the former generates a prefix pattern for each RELAX NG construct, the latter does not, and obviously the timestamps were different).
So, Lou, we still don't know why you & I are getting different results.
You really should stop using [commdandline `roma`], IMHO. If you don't want to change names, then make some aliases that really point to the new scripts. ;-)
I'm not saying that is the problem... but is one of the first things I'd check!