From 9de49cad0cbe22a2c0aebb48a529aa2bc9b1afdb Mon Sep 17 00:00:00 2001
From: Roger Sheen
Date: Sun, 1 Oct 2023 00:10:33 +0200
Subject: [PATCH] Group & describe map-first preprocessing issues
Signed-off-by: Roger Sheen
---
release-notes/index.dita | 69 +++++++++++++++++++++++-----------------
1 file changed, 40 insertions(+), 29 deletions(-)
diff --git a/release-notes/index.dita b/release-notes/index.dita
index d487438c..9d822a21 100644
--- a/release-notes/index.dita
+++ b/release-notes/index.dita
@@ -36,20 +36,46 @@
following bug fixes.
- - Can no longer use conref in keydef metadata [DOT 2.3]
- #2420
-
- - NullPointerException in AbstractReaderModule
- #3007
-
- - Preprocess2 does not report validation error
- #3281
-
- - PDF - Stage "preprocess2" does not report not resolved conrefs
- #3446
-
- - preprocess2 is not compatible with chunk=to-content
- #3514
+
- Various issues in map-first preprocessing have been resolved in this release.
+ #4237
+
+ - Earlier versions failed to expand content references that were specified in key definitions.
+ InĀ preprocess2, content references are now expanded before key references to ensure
+ that all topics are available when the map is processed.
+ #2420,
+ #4258,
+ #4261
+
+ - In earlier versions, key references to duplicate topics created via copy-to
+ attributes caused builds to fail. This issue was initially resolved for the original preprocessing
+ routine in DITA-OT 3.1.1. The original source information is now also correctly recorded for copy-to
+ targets in preprocess2, allowing builds to continue.
+ #3007,
+ #3015
+
+ - Earlier versions failed to catch certain validation errors in preprocess2.
+ Map-first preprocessing has been updated to validate files correctly.
+ #3281
+
+ - Earlier versions of map-first preprocessing failed to report unresolved content references
+ to topics that were not referenced in the map. In the past, this issue could be avoided by adding
+ content reference targets to the map with the processing-role attribute set to
+ resource-only, but this workaround is no longer necessary. Unresolved references
+ should now be reported even if the target topics are not referenced in the map.
+ #3446
+
+ - Earlier versions of map-first preprocessing set incorrect values for the
+ path2project, path2project-uri, and path2rootmap-uri
+ processing instructions. In preprocess2, they are now set with correct values that
+ match the original preprocess output.
+ #3514,
+ #4252
+
+ - The map-first preprocessing test code has been simplified to use the same expected output
+ for the original preprocessing routines and preprocess2.
+ #4268
+
+
- @keyref isn't resolved when contained in @conref
#3546
@@ -60,12 +86,6 @@
- Chunk to content on DITA Map fails when the DITA Map has spaces in file name
#4064
- - Fix preprocess2 bugs
- #4237
-
- - Fix PI generation in preprocess2
- #4252
-
- HTML5: Teletype output contains inline style attributes
#4254
@@ -75,24 +95,15 @@
- Fix getting file name from URI with space in file name #4064
#4257
- - Fix conref in keydef value in preprocess2
- #4258
-
- Improve preprocess unit tests
#4259
- - Process map conref during preprocess2 topic stage before keyref
- #4261
-
- Add preprocess integration test for subject scheme
#4264
- Move teletype styling to Sass partial
#4267
- - Clean preprocess2 tests
- #4268
-
- Footnote in title, footnote text appears in xref
#4269