Skip to content

Expand hello.xml with namespace information#21

Closed
JKRhb wants to merge 1 commit into
typst:mainfrom
JKRhb:update-hello-xml
Closed

Expand hello.xml with namespace information#21
JKRhb wants to merge 1 commit into
typst:mainfrom
JKRhb:update-hello-xml

Conversation

@JKRhb
Copy link
Copy Markdown

@JKRhb JKRhb commented Feb 20, 2026

As mentioned in typst/typst#7899 (comment), this PR proposes an adjustment of the hello.xml file so that XML tests in the library repository can assert that namespace URIs are handled correctly.

With the current implementation in Typst, the processing result of the updated file should be exactly the same as before. However, I am not sure whether this file is also being used elsewhere. So to be sure, it could make sense to create a hello2.xml file instead (if the dependant repositories do not point to a specific commit hash, otherwise the update should be fine).

Edit: I just looked up that the Cargo.toml file in the typst repository is pointing to a specific commit, so updating the file here should be fine.

@laurmaedje
Copy link
Copy Markdown
Member

The inline test in your other PR is actually fine (see typst/typst#7899 (comment)), so I'll close this.

@laurmaedje laurmaedje closed this Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants