pretext-cli
pretext-cli copied to clipboard
warn when using `xi:include` without `xmlns:xi="http://www.w3.org/2001/XInclude"`
Just bit me today: an <xi:include/> is happily ignored without the namespace declaration in every file of the project. I think we should warn every project that doesn't declare the xi namespace that xi:includes won't work, and throw an error when an xi:include is used without the xi namespace.
https://github.com/TeamBasedInquiryLearning/library/actions/runs/10168844289/job/28126187184
This would be a good addition to the lints.
On Tue, Jul 30, 2024, 3:42 PM Steven Clontz @.***> wrote:
https://github.com/TeamBasedInquiryLearning/library/actions/runs/10168844289/job/28126187184
— Reply to this email directly, view it on GitHub https://github.com/PreTeXtBook/pretext-cli/issues/809#issuecomment-2259261039, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRUBFF5QWQA5GLHSLTMAITZPACEXAVCNFSM6AAAAABLXFXJWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJZGI3DCMBTHE . You are receiving this because you are subscribed to this thread.Message ID: @.***>