- edited description
-
assigned issue to
- changed version to M33
XMLStream Filter should support a NOTE rule
Issue #553
new
The ITS-based XML filter allows for Property.NOTE
to be set via ITS rule using its:locNoteRule. For example, from the RESX filter:
<its:locNoteRule locNotePointer="../comment" locNoteType="description" selector="//data[not(@type) and not(starts-with(@name, '>') or starts-with(@name, '$'))]/value"/>
This is a useful feature for providing translation context via XLIFF <note>
. However, there's no corresponding way to do this in the XMLStream filter (or any other child of AbstractMarkupFilter
).
It would be useful to have a rule type to handle this. The behavior could be modeled after the ITS filter, which treats the locNote as a context item and assigns it to any TU created where the note is in effect.
Comments (2)
-
-
reporter Yeah, AMF has needed some cleanup (and several enhancements) for a few years now. It keeps lurking but never getting quite to the top of my priority list.
- Log in to comment
Would like to refactor the AbstractMarkup family - but this would be a good feature to have.