Closed mbakeranalecta closed 6 years ago
This would mean that
<phrase><citation extra="page 1"><reference-elements><reference-element method="nameref" value="Melville"/><reference-element method="idref" value="MobyDick"/></reference-elements>call me Ishmael</citation></phrase>
would become:
Is there anything wrong with that?
It seems like it would make life easier if a citation on a phrase were placed at the end of the phrase element rather than the beginning. However you intend to represent the citation on output, its natural position is at the end of the phrase, so why may the application layer do extra work to move it there.
Addressed at 50dd3bfb24be92ee547fa5f29770108379f95029
Three things I think we should change in the serialization of citations.
Instead of
<citation value="foo"/>
we should do<citation>foo</citation>
.Instead of
<citation idref="bar" extra="page 2"/>
we should do<citation idref="bar">page 2</citation>
Instead of wrapping a citation on a phrase around the phrase we should put it at the beginning of the phrase like we do with citations on blockquotes. (Proposals 1 and 2 seem to depend on this to avoid confusion.)