You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/strictdoc_04_release_notes.sdoc
+44-1Lines changed: 44 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -52,13 +52,56 @@ TITLE: Unreleased
52
52
[TEXT]
53
53
MID: c536381cea6842f0b77c1aa5ac942ce0
54
54
STATEMENT: >>>
55
-
This release includes a small improvement to the behavior of the ``LEVEL / AUTO_LEVEL`` fields.
55
+
This release includes the following enhancements.
56
+
57
+
**1) A small improvement to the behavior of the LEVEL/AUTO_LEVEL fields.**
56
58
57
59
The following cases are now considered valid and will no longer trigger validation errors:
58
60
59
61
- **When AUTO_LEVELS is On**, a node without a level or with a custom level is acceptable. The custom level will be used as-is, while all other nodes will be numbered automatically.
60
62
61
63
- **When AUTO_LEVELS is Off**, a node without a level is also valid. In this case, the node will simply be omitted from the Table of Contents (TOC).
64
+
65
+
**2) Initial support for direct reading of ReqIF files alongside SDoc files.**
66
+
67
+
It is now possible to add a ReqIF file to a Git repository and have it read directly into the StrictDoc HTML view, without first converting it to SDoc. The conversion to internal SDoc models happens automatically at runtime. This feature enables workflows where a requirements baseline is maintained in a ReqIF file, and there is no need to convert it to SDoc before adding parent trace links from child SDoc documents stored in the same repository.
68
+
69
+
**3) ReqIF Schema compatibility for ReqIF export.**
70
+
71
+
StrictDoc now exports ReqIF files that fully comply with the ReqIF XSD schema. Previously, exported files could trigger minor validation errors — harmless but distracting when editing XML in an IDE. These issues have now been resolved. All relevant integration tests have been updated to include schema validation, ensuring ongoing compliance with the ReqIF XSD standard.
72
+
73
+
**4) Support HTTP Conneg on stable links.**
74
+
75
+
This change enables an API integration with StrictDoc. It lays the groundwork for implementing APIs such as OSLC Requirements Management, allowing integration with tools like IBM DOORS NG, the broader IBM Jazz platform, Siemens Polarion, and other OSLC-compliant systems.
76
+
77
+
With this change, StrictDoc can support content negotiation based on the Accept header in incoming requests. For example:
78
+
79
+
- When a client requests a requirement with ``Accept: text/html``, StrictDoc will serve the regular HTML export.
80
+
81
+
- When a tool like Polarion sends a request for the same URI but with headers such as ``Accept: text/turtle;q=0.9, application/ld+json;q=0.7, application/rdf+xml;q=0.5``, the server can detect this and return an appropriate OSLC-compliant response instead.
82
+
83
+
This approach enables serving different representations of the same requirement, e.g.,
84
+
``localhost:3000/?a=SDOC-HIGH-REQS-MANAGEMENT``, while maintaining a consistent ID across formats.
85
+
86
+
Thanks to @berezovskyi for contributing this change.
87
+
88
+
**5) The DOCUMENT_FROM_FILE compatibility with new [[SECTION]] syntax.**
89
+
90
+
During the migration to [[SECTION]], we overlooked verifying that the DOCUMENT_FROM_FILE directive works with the new section elements. Based on a user report, this has now been corrected — DOCUMENT_FROM_FILE is fully compatible with [[SECTION]].
91
+
92
+
Thanks to @nowittyusername for reporting this issue.
93
+
94
+
**6) The TITLE-STATEMENT-DESCRIPTION-CONTENT validation has been removed.**
95
+
96
+
StrictDoc no longer requires one of the fields TITLE-STATEMENT-DESCRIPTION-CONTENT to be present on every SDoc node. The rationale for removal is as follows.
97
+
98
+
There are cases where we want to allow none of the standard SDoc reserved fields to be present on a node, even though this means that no SDoc naming conventions are followed.
99
+
100
+
In particular, some ReqIF files contain fields that follow neither ReqIF nor SDoc naming conventions.
101
+
102
+
Previously, the fields TITLE, STATEMENT, DESCRIPTION, or CONTENT were used to determine whether a field should be treated as single-line or multiline. Under the new behavior, if none of these fields are present, all fields will be treated as multiline by default.
103
+
104
+
In the future, we may introduce a separate field for the GrammarElement field declarations, for example, to explicitly specify whether a field should be interpreted as Title, Meta, Content, etc.
0 commit comments