Open GoogleCodeExporter opened 8 years ago
Also attaching the RNC I used to test my fix
Original comment by dominic....@gmail.com
on 10 Nov 2010 at 11:39
Attachments:
Same bug here. Thanks so much for taking the time to write up the bug and
offer a fix for this unfortunate bug. Now I just have to re-learn Java to
actually get your fix working for me, but things could certainly be worse!
Original comment by ladene...@gmail.com
on 12 Jul 2011 at 3:22
Unfortunately, I'm not sure if this patch worked in all cases. IIRC, there is a
restriction in XMLSchema where in certain circumstance the <xs:all/> tag is
invalid. I think it was something like that, though it's now a bit hazy to me
know, and I can't remember if we're using this code and I changed our schemas
to avoid this corner case, or if I found some other way to work round the
problem.
RNC is truly great if you use jing to validate directly, but converting complex
schemas with trang creates numerous problems you have to work around if your
schemas are too complex. Real shame!
Original comment by dominic....@gmail.com
on 12 Jul 2011 at 11:54
Your patch does improve the situation. I'm now at least able to use
interleaving in some situations. You're right though that RNC just doesn't
seem to be the right choice if conversions are necessary.
Humorously, it turns out that OxygenXML has the same bug. Apparently they use
trang for their schema conversion as well, heh.
Original comment by ladene...@gmail.com
on 12 Jul 2011 at 4:12
Original issue reported on code.google.com by
dominic....@gmail.com
on 10 Nov 2010 at 11:37Attachments: