Print

Print


I was puzzled when I noticed my DTDs not validating anymore even after
tiny modifications, and it looks like that may have to do with the new
version of Roma, perhaps. I include two validating problems below, where
it looks like the brackets that used to wrap the dummy content leave
behind the occurrence indicators when they disappear. I'm not sure if I
messed with the content model too much (I definitely tried not to) and
it shows only now, or maybe some fix in Roma is in order.

Thanks,

  Piotr

before:

<!ELEMENT back ((_DUMMY_model.frontPart | %model.global; |
%model.divWrapper;)*,(((%model.divLike;),(%model.global; |
_DUMMY_model.frontPart)*)+ | (_DUMMY_model.div1Like,(%model.global; |
_DUMMY_model.frontPart)*)+)?,_DUMMY_model.divWrapper.bottom*)>

after (note the '*+' at the end):

<!ELEMENT back ((%model.global; |
%model.divWrapper;)*,(((%model.divLike;),(%model.global;)*)+ |
(%model.global;)*+)?)>


and again, before:

<!ELEMENT body ((%model.global;)*,((%model.divWrapper;),(%model.global;
| %model.divWrapper;)*)?,(_DUMMY_model.divGenLike,(%model.global; |
_DUMMY_model.divGenLike)*)?,(((%model.divLike;),(%model.global; |
_DUMMY_model.divGenLike)*)+ | (_DUMMY_model.div1Like,(%model.global; |
_DUMMY_model.divGenLike)*)+ |
(((%macro.component;),(%model.global;)*)+,(((%model.divLike;),(%model.global;
| _DUMMY_model.divGenLike)*)+ | (_DUMMY_model.div1Like,(%model.global; |
_DUMMY_model.divGenLike)*)+)?)),(_DUMMY_model.divWrapper.bottom,(%model.global;)*)*)>

and after (in a few places, '*?', '*+', '**'):

<!ELEMENT body ((%model.global;)*,((%model.divWrapper;),(%model.global;
|
%model.divWrapper;)*)?,(%model.global;)*?,(((%model.divLike;),(%model.global;)*)+
| (%model.global;)*+ |
(((%macro.component;),(%model.global;)*)+,(((%model.divLike;),(%model.global;)*)+
| (%model.global;)*+)?)),(%model.global;)**)>