Class DotNetAttributeLocator

java.lang.Object
io.jenkins.plugins.configsplice.engine.xml.DotNetAttributeLocator

public final class DotNetAttributeLocator extends Object
Locates the source range of the attribute value addressed by a DotNetPath (SRS sections 8.1 to 8.4).

Two passes, with a deliberate split of responsibilities:

  1. StAX, configured to refuse DTDs and external entities, proves the document is well formed and safe. Nothing is located here; this pass exists so that malformed or hostile input is rejected before any hand-written code looks at the text.
  2. XmlTagScanner walks the proven-good text and computes exact ranges.