Skip to content

Require XML.jl 0.4 only (follow-up to #71)#73

Draft
mathieu17g wants to merge 1 commit into
JuliaAstro:masterfrom
mathieu17g:xml-v04-only-followup
Draft

Require XML.jl 0.4 only (follow-up to #71)#73
mathieu17g wants to merge 1 commit into
JuliaAstro:masterfrom
mathieu17g:xml-v04-only-followup

Conversation

@mathieu17g

Copy link
Copy Markdown
Contributor

As requested in #71, this parks the XML = "0.4"-only variant somewhere more durable than my fork: the two private child-access helpers become 0.4's exported elements/eachelement (the recursive walker stays), and compat narrows to "0.4".

Rebased onto master after the #71 squash, so the diff is exactly the 0.4-only delta; the frozen reference branches from the #71 discussion stay untouched at mathieu17g/PhotometricFilters.jl@xml-v04-compat...xml-v04-only.

The full test suite passes on this branch (1294/1294, doctests included).

Opened as a draft — it's yours to merge whenever you decide to drop 0.3; dropping support is usually minor-release material since it narrows the resolver for downstream environments.

Variant of the 0.4 migration without the 0.3 compatibility layer: the two
private child-access helpers are replaced by XML.jl 0.4's exported
`elements`/`eachelement` (added in 0.4 for exactly this whitespace-explicit
access pattern). The recursive element walker stays: no XML.jl reader
iterates a whole tree in document order. Compat narrowed to "0.4".

Assisted-by: Claude (Anthropic)
@codecov

codecov Bot commented Jul 15, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 76.92308% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.81%. Comparing base (c6e3765) to head (489cbd0).

Files with missing lines Patch % Lines
src/svo.jl 76.92% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #73      +/-   ##
==========================================
- Coverage   81.90%   81.81%   -0.09%     
==========================================
  Files           6        6              
  Lines         431      429       -2     
==========================================
- Hits          353      351       -2     
  Misses         78       78              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant