ITS XML Filter - implement withinTextRule/@withinText="nested"

Create issue
Issue #1041 new
Kuro Kurosaka (BH Lab) created an issue

The current implementation of ITS-based XML Filter doesn’t implement the value ”nested” for withinTextRule/@withinText, as seen in lines below, which is taken from ITSFilter.java:

            switch ( trav.getWithinText() ) {
            case ITraversal.WITHINTEXT_NESTED: //TODO: deal with nested elements
                // For now treat them as inline
            case ITraversal.WITHINTEXT_YES:

This makes it impossible to implement docbook’s footnote inline element properly, for example. (Please see this sample docbook ITS rules.)

This relates to issue #1036.

Comments (1)

  1. Log in to comment