PreTeXtBook / pretext-cli

Command line interface for quickly creating, authoring, and building PreTeXt documents.
https://pretextbook.org
GNU General Public License v3.0
17 stars 17 forks source link

warn when using `xi:include` without `xmlns:xi="http://www.w3.org/2001/XInclude"` #809

Open StevenClontz opened 1 month ago

StevenClontz commented 1 month ago

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.

StevenClontz commented 1 month ago

https://github.com/TeamBasedInquiryLearning/library/actions/runs/10168844289/job/28126187184

oscarlevin commented 1 month ago

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: @.***>