Ticket #479 (closed defect: fixed)
Rendering fragment
| Reported by: | vzholudev | Owned by: | dmisev |
|---|---|---|---|
| Priority: | blocker | Milestone: | Release v0.1.4 |
| Component: | [SI] NTN | Version: | v0.1.4 |
| Keywords: | Cc: | clange, kohlhase, cmueller, dmisev | |
| Blocked By: | Blocking: | ||
| Due to close: | Include in GanttChart: | no | |
| Dependencies: | Due to assign: |
Description
During preparing a demo, I encountered a strange problem. What I do in order to render a document doc: 1)Add notation source: new D(doc) 2)Render this document
As far as I understood, it collects notations from doc and all imported documents recursively
Rendering works fine. When I try to render a definition fragment from the same document using same notations(i.e. a renderer), then this fragment is not rendered properly as no notations were captured.
However, if I add notations source as new F(doc), then the symbols in a fragment are rendered prperly (i.e. those which have notations in doc)
The question is: is D class supposed to server as a notation source for fragments? Could it be a problem of URIs, since I resolve docs from TNTBase by providing uris strating with tntbase:
Is information is not sufficient, I can provide my code and test data.
