Commit 804a8e4
fix: normalize downloaded schema encoding and run pre-commit in refresh_schema
XInclude.xsd is served by purl.imsglobal.org as UTF-16 with no XML
declaration, unlike every other vendored source (plain UTF-8). Re-running
the script always produced a binary diff on that one file. Transcode any
UTF-16 download to UTF-8 (preserving formatting rather than reflowing via
lxml) and run the repo's trailing-whitespace/end-of-file-fixer hooks on the
vendored tree after download, matching what was applied to the committed
copies.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent c07cfc6 commit 804a8e4
1 file changed
Lines changed: 32 additions & 1 deletion
Lines changed: 32 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
50 | 68 | | |
51 | 69 | | |
52 | 70 | | |
53 | 71 | | |
54 | 72 | | |
55 | | - | |
| 73 | + | |
56 | 74 | | |
57 | 75 | | |
58 | 76 | | |
| |||
67 | 85 | | |
68 | 86 | | |
69 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
70 | 100 | | |
71 | 101 | | |
72 | 102 | | |
| |||
83 | 113 | | |
84 | 114 | | |
85 | 115 | | |
| 116 | + | |
86 | 117 | | |
87 | 118 | | |
88 | 119 | | |
| |||
0 commit comments