[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Proposed changes to matches module
The current implementation of the matches module (i.e. where the source references the match using mrks) does not seem adequate. The only solution at the moment to handle multiple matches for a single source is to have nested mrk elements in the source with each one referencing a unique match.
I would suggest having the match reference the source instead. This can be achieved by adding two attributes to the match element; segRef and mRef. segRef is a URI pointing to the segment id that contains the source for the match. mRef is a URI pointing to some inline marker (mrk for a single segment and matching sm em tags for cross segment matching). It is required to have one and only one of segRef or mRef on the match element.
This solution means the source can remain intact in all cases where the segment is the source of the match. It also avoids having to use nested mrks in the source when multiple matches are available for a single source.