Under Community Review

Provide DITA parser that doesn't hide inline tags at the beginning or end of a segment.

Studio default DITA parser defines most inline tags, if not all, to be "May Exclude" which causes inline tags at the beginning or end of a segments to be hidden. Provide the DITA parser where all inline tags are defined as "Include with text"

Parents
  • The basic problem with these segmentation hints is that in most cases for placeholder/empty tags you need "Include with Text", whereas for tag pairs the setting "May Exclude" is mostly to be preferred.

    Very problematic are then cases where a tag occurs in both situations (placeholder and tag-pair), so you would need two XPath-based parser rules to distinguish between the two situations:

    <para><ph>Text</ph></para>

    <para><ph id="id" /> Text</para>

    Ideally Studio should have a supplementary segmentation hint:

    "May Exclude if tag pair, but include with text if stand-alone tag"

Comment
  • The basic problem with these segmentation hints is that in most cases for placeholder/empty tags you need "Include with Text", whereas for tag pairs the setting "May Exclude" is mostly to be preferred.

    Very problematic are then cases where a tag occurs in both situations (placeholder and tag-pair), so you would need two XPath-based parser rules to distinguish between the two situations:

    <para><ph>Text</ph></para>

    <para><ph id="id" /> Text</para>

    Ideally Studio should have a supplementary segmentation hint:

    "May Exclude if tag pair, but include with text if stand-alone tag"

Children
No Data