[daisy] [GSoc] daisydiff progress update 3

Marc Portier mpo at outerthought.org
Sat Aug 4 20:14:01 CDT 2007



Bruno Dumon wrote:
> On Sat, 2007-08-04 at 07:56 +0200, Marc Portier wrote:

>>> -We could use more complex bookmark id's for when there are several
>>> diffs on the same page.
>> don't understand the idea here: example?
> 
> This is for when there are multiple HTML-parts in a document, which will
> result in multiple HTML-diffs on the diff page. Should be pretty trivial
> to fix.
> 
> Either we could pass a number-prefix to the diff algorithm (e.g. so that
> we have #added-a12 where a is the prefix), or for ultimate flexibility
> we could define an interface for generating the fragment IDs.
> 
> Thus I'd let the diff-user (XmlDocDiffOutput) specify this prefix.
> 

couldn't we jus mixin the part-id in the prefix number?
(as each part can only occur once in each document-type)

    >  {operation}-{partid}-{sequence-nr}
    e.g. added-7-3


regards,
-marc=


More information about the daisy mailing list