Upstream contribution · antchfx/xmlquery
xmlquery · Keeping XML namespace declarations off the XPath attribute axis
Problem
xmlquery exposed xmlns and xmlns:p declarations through @*, altering attribute counts and positional predicates on namespaced XML.
Engineering response
The XPath navigator skips namespace declarations when traversing attributes and keeps the source attribute representation available for XML serialization.
Evidence and scope
The contribution records passing Go and race checks with controls for ordinary attributes, xml:lang and serialized namespace declarations.