Open GoogleCodeExporter opened 8 years ago
This also occurs in trunk. After some digging it seems that this problem stems
from this line in Particle.java in the particlesToModelGroup() method:
if (p.entity.parsed.size() == 0 && ((p.entity.groupFlags &
Entity.GROUP_CONTAINS_SEQ) != 0))
isSequence = true;
Specifically p.entity.parsed.size() is not equal to zero when parsing something
like:
<!ELEMENT table (%tbl.table-titles.mdl; %tbl.table-main.mdl;)>
However, the logic behind this is a mystery to me. I would think that since
these are purely referenced entities do not contain any modifiers like (,|)
this should always be treated as a sequence...
I will continue digging. Any help would be much appreciated. I need to fix this
asap.
Thanks.
Original comment by opportun...@easydita.com
on 4 Jun 2011 at 3:36
I've run into the same problem converting the DITA DTD to RELAX NG. The
erroneous output is
<define name="tbl.table.mdl">
<choice>
<ref name="tbl.table-titles.mdl"/>
<ref name="tbl.table-main.mdl"/>
</choice>
</define>
Original comment by mblaze...@stilo.com
on 23 Nov 2011 at 8:04
Original issue reported on code.google.com by
opportun...@easydita.com
on 3 Jun 2011 at 10:59