Reusable content becomes useful only when the selected fragments produce a complete document for the intended audience. A correct paragraph can be wrong in a particular assembly because its prerequisite was filtered out, a required alternative is absent, or two applicable fragments contradict each other.
Declare the publication profiles, fragment ownership, inclusion rules, order, and dependencies before generating output. Then inspect each actual assembly. A successful processor run establishes only what that processor checked; it does not prove the resulting instruction is coherent.
The versioned-documentation guide manages supported guide destinations and notices. This method works earlier, at source composition within a document, without deciding its canonical URL or support policy.
Keep the standard’s rules distinct from the teaching model
The OASIS DITA specification describes conditional processing as filtering or flagging information using processing-time criteria. Its filtering guidance documents how profiles and conditional attribute values are evaluated, including defaults and grouped conditions.
Do not substitute an intuitive Boolean interpretation for a processor's actual documented rules. The simplified predicates below are an original editorial model, not DITAVAL syntax or a demonstration of every DITA grouping rule. If a real system uses DITA, record and test its actual profile and processor configuration.
Other authoring systems can support conditional reuse differently. The transferable acceptance question is which content was selected and whether the resulting document retains its approved prerequisites and limits.
Specify a complete six-fragment pool
Consider an invented setup lesson with Hosted and Local publication profiles. These are fictional procedures, not claims about an actual deployment product. Every source fragment has a stable identifier and complete intended text.
| ID | Inclusion | Complete source text | Dependency |
|---|---|---|---|
| F1 | Both profiles | Use the authorized Demo environment. This lesson does not configure production. | None |
| F2 | Hosted only | Sign in to the approved Hosted Demo workspace. | F1 |
| F3 | Local only | Open the approved Local Demo workspace using the authorized local owner role. | F1 |
| F4 | Both profiles | Select the Demo connection shown in that workspace. | F2 or F3, according to profile |
| F5 | Both profiles | Verify that the selected connection is labeled Demo before continuing. | F4 |
| F6 | Both profiles | Stop after verification; this lesson does not publish or activate a production connection. | F5 |
The dependency column is part of the original acceptance model. A source format may not enforce it automatically. The authoring owner must decide how to preserve it through the actual system rather than assuming the inclusion tag carries all necessary context.
Populate both expected assemblies
| Profile | Exact expected fragment sequence | Excluded alternative | Critical check |
|---|---|---|---|
| Hosted | F1 → F2 → F4 → F5 → F6 | F3 | Hosted workspace entry exists before connection selection |
| Local | F1 → F3 → F4 → F5 → F6 | F2 | Local role/workspace instruction exists before selection |
The complete Hosted text begins with the authorized Demo boundary, tells the reader to sign in to Hosted Demo, selects the Demo connection, verifies its label, and stops before activation. Local differs at its supported entry instruction, while retaining the same demonstration boundary and verification.
Each profile selects five of the six source fragments. That does not mean one missing fragment is a defect: the unselected alternative is intentional. Coverage must be judged against the profile's required meaning, not against the entire unfiltered source pool.
Work an orphaned prerequisite failure
Suppose a profile edit excludes F2 from Hosted while leaving F4 selected. The observed sequence becomes F1, F4, F5, F6. Connection selection now lacks its Hosted workspace-entry prerequisite. The assembly fails even though all four remaining sentences are individually accurate under the fictional source rules.
The repair is to restore the approved prerequisite or revise the procedure through the responsible owner. Do not fill the gap with the Local instruction simply because it is available in the reuse library. That would select the wrong context rather than repair the supported Hosted path.
Also test a contradictory assembly that selects both F2 and F3. If the document presents them as sequential required steps instead of explicit alternatives, it can send a reader through two different contexts. Intentional alternatives need clear conditions in the final text.
Inspect actual output and nearby references
Compare the selected source IDs with the final rendered sequence, then read the output without the hidden source tags. A paragraph can be included correctly but appear under an inappropriate heading, lose its warning label, or refer to an excluded table.
Check links, step numbers, pronouns, and phrases such as above or this workspace after filtering. Their referents can change when neighboring content disappears. Replace accidental positional assumptions with clear wording where that improves the final instruction.
The snippet synchronization guide ties code excerpts to tested executable source. This review concerns prose composition and dependencies across whole assemblies. Sharing a source inclusion mechanism does not establish that either kind of output is complete.
Review changes against every affected profile
A shared-fragment update can affect several publications at once. Preserve the previous fragment revision, new meaning, dependent profiles, and required rechecks. A change to F1's environment boundary matters everywhere F1 appears; a change to F2 may affect Hosted only under the declared model.
Do not mark every profile approved because one rendered example looked correct. Conversely, avoid forcing unrelated profile changes when their source and dependencies are unaffected. The impact map should explain the scope rather than using a blanket date update as evidence.
Keep source ownership separate from release ownership. An expert can approve F4's product meaning while an editor verifies its placement and prerequisites in both outputs. One approved fragment is not an approval of every document that incorporates it.
Release a profile-bound composition decision
Save the fragment pool, actual profile configuration, dependency rules, selected sequences, observed outputs, negative cases, and reviewer disposition. Record any processor-specific behavior separately from the simplified editorial model used to explain it.
The verification worksheet ties product facts to their actual evidence. Conditional assembly does not authorize unverified edition claims or create a runtime access policy. It chooses which approved instructional content belongs in the declared static publication.
Approve when each supported profile forms a complete, coherent answer with its required starting state and limits intact. Hold an assembly whose missing context cannot be resolved. Reuse earns its maintenance benefit when it preserves complete reader decisions rather than merely reducing duplicated paragraphs.
