Skip to content

nxstxm: doc elements can have dim elements but this was not the intention#1373

Merged
woutdenolf merged 1 commit intomainfrom
nxstxm_nxdl_fix
Sep 27, 2024
Merged

nxstxm: doc elements can have dim elements but this was not the intention#1373
woutdenolf merged 1 commit intomainfrom
nxstxm_nxdl_fix

Conversation

@woutdenolf
Copy link
Copy Markdown
Contributor

No description provided.

@woutdenolf woutdenolf changed the title doc elements can have dim elements but this was not the intention nxstxm: doc elements can have dim elements but this was not the intention Mar 9, 2024
@woutdenolf woutdenolf requested a review from prjemian March 9, 2024 14:04
@benajamin
Copy link
Copy Markdown
Contributor

Are you saying that this is just a typo/bug that this pull fixes?

@woutdenolf
Copy link
Copy Markdown
Contributor Author

woutdenolf commented Sep 27, 2024

Yes, currently it is this:

<doc>
    <dim ... />
</doc>

This is invalid syntax.

When reading the doc, it seems clear that the idea was to actually document the NXDL <dim ... /> syntax rather than have an actual XML element inside the doc element. We can achieve this by replacing < with &lt; and > with &gt;

@woutdenolf woutdenolf requested a review from a team September 27, 2024 11:34
@woutdenolf woutdenolf merged commit 2ee1888 into main Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants