-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not overwrite Semantic XML content in Presentation XML #610
Comments
Note: we will preserve Semantic XML, but we may not keep it in the same place in Presentation XML. So /term/domain will move to /term/definition/p, because that is where it is rendered. The point is that the information be recoverable, not that it be structurally identical. |
This is going to be a high-level ticket, and the changes will be incremental and sub-tickets. Refining the approach given above and in #611:
For example: Semantic XML
Presentation XML
Renderers will need to know to ignore
Semantic XML:
Current Presentation XML:
Future Presentation XML:
I need sign-off from @ronaldtse before proceeding with this: the asset captions alone will force rewriting a large number of test cases. @Intelligent2013 @strogonoff Please provide feedback also. |
@opoudjis I like this solution.
|
We currently have parallel Semantic XML and Presentation XML trees in Presentation XML. We also know that those trees will not always align, so that we can recover the Semantic XML for a given Presentation XML, because the Presentation XML layer often involves stripping Semantic XML content completely, and that includes unwrapping Semantic XML tags (e.g.
<date value="ISO DATE">
is resolved into a string, with no indication there was ever a date wrapper there.We are going to abandon that approach. Instead, we are going to take the approach indicated in
<formattedref>
:Attention @Intelligent2013 @strogonoff
I will be doing this incrementally, one element at a time, and I will give you warning as I do; @Intelligent2013 I believe you will be the most impacted by the Presentation XML handling of terms.
The text was updated successfully, but these errors were encountered: