Open Ducasse opened 6 years ago
Now it looks like all the visitListItems: implementation invoke PRVisitor>>visitListItems: which is
visitListItem: anObject self visitDocumentGroup: anObject
visitDocumentGroup: anObject self visitAll: anObject children
Now I checked all the subclass of documentGroup and I do not understand why PRFormat is a group?
PRVisitor>>visitListItem: anObject self visitDocumentGroup: anObject
It is plain bogus because document group expect that the object has children!
So it means that a list item such a bib entry cannot default its visitBibEntry: visitor to visitListItem: but at the same time visitDocumentItem: is not implement on HTML writers so the defaulting behavior cannot be expressed!.