Skip to content

FIX: Skip manifest entries absent from ZIP in getXmlEntries()#286

Merged
carlwilson merged 1 commit intoalpha/1.20from
fix/manifest-driven-profile
Mar 12, 2026
Merged

FIX: Skip manifest entries absent from ZIP in getXmlEntries()#286
carlwilson merged 1 commit intoalpha/1.20from
fix/manifest-driven-profile

Conversation

@carlwilson
Copy link
Member

  - Profile rules (SchematronRule, MacroRule) iterate over getXmlEntries()
  and attempt to stream each entry. If a file is listed in the manifest
  but missing from the ZIP — a condition already correctly reported as
  MAN-4 — the underlying ZipFileProcessor threw an unchecked
  NoSuchElementException, surfacing as a fatal SYS-4 crash.

  - Fix filters getXmlEntries() to only return entries that exist in both
  the manifest and the ZIP archive, so profile rules never attempt to
  read phantom entries.

  - Resolves #282.
@carlwilson carlwilson self-assigned this Mar 4, 2026
@carlwilson carlwilson added the bug Something isn't working label Mar 4, 2026
@carlwilson carlwilson changed the base branch from main to alpha/1.20 March 12, 2026 10:23
@carlwilson carlwilson merged commit 31c1b3b into alpha/1.20 Mar 12, 2026
5 checks passed
@carlwilson carlwilson deleted the fix/manifest-driven-profile branch March 12, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

1 participant