You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rfl::xml: distinguish empty vs declaration-only XML and add ErrorKind tagging to xml::read / xml::Reader #112
rfl::xml::read(std::string_view) conflates empty/whitespace-only input ("", " \n") with XML-declaration-only ("<?xml version=\"1.0\"?>") or comment-only ("<!-- ... -->") documents because pugixml's doc.load_buffer(...) returns pugi::status_no_document_element identically for all of them. As a result, include/rfl/xml/read.hpp:55 ("XML document has no root element.") is unreachable from read(std::string_view) and consumers must pre-scan whitespace manually.
include/rfl/xml/read.hpp and include/rfl/xml/Reader.hpp currently emit zero rfl::ErrorKind tags on showcase/all-lanes (every XML parse/type/value error falls back to ErrorKind::other), lagging behind rfl::json and rfl::env.
In rfl::xml::read(std::string_view): distinguish empty/whitespace-only input ("XML document is empty.", ErrorKind::syntax_error) from non-empty declaration/comment-only input with status_no_document_element ("XML document has no root element.", ErrorKind::syntax_error) and malformed XML syntax (ErrorKind::syntax_error).
Tag rfl::xml::Reader errors to match rfl::json::Reader & rfl::env::Reader:
Resolved on showcase/all-lanes via Batch 1 merge 4861aafd (commits d4700190, d3673b24). Verified with 962/962 CTest passing under AppleClang 17 -Wall -Werror + REFLECTCPP_STRICT_WARNINGS=ON (non-SYSTEM-I for internal tests, -isystem for downstream consumers) and dual Judge approval (Gemini 4 Neon High: APPROVE WITH NITS, all addressed; Claude Opus 5.5 High re-check: APPROVE).
Activity
clockblocker commentedon Nov 27, 2026
Resolved on
showcase/all-lanesvia Batch 1 merge4861aafd(commitsd4700190,d3673b24). Verified with 962/962 CTest passing under AppleClang 17-Wall -Werror+REFLECTCPP_STRICT_WARNINGS=ON(non-SYSTEM-Ifor internal tests,-isystemfor downstream consumers) and dual Judge approval (Gemini 4 Neon High:APPROVE WITH NITS, all addressed; Claude Opus 5.5 High re-check:APPROVE).