{
  "schema": 1,
  "sqlstate": "10608",
  "condition_name": "invalid_argument_for_xquery",
  "sources": [
    {
      "id": "src.errcodes.18.6",
      "kind": "upstream_source",
      "source_role": "condition_definition",
      "tag": "REL_18_6",
      "commit": "724edf9bde9d356724ad384a2e196edc3c9f80f7",
      "path": "src/backend/utils/errcodes.txt",
      "sha256": "6e8de346643ba84aa3c9c6a73360acfc7b2dfb89162c06c08ce9bf5bcd5bbcba",
      "url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/utils/errcodes.txt#L148"
    },
    {
      "id": "src.xml.18.6",
      "kind": "upstream_source",
      "source_role": "resolved_report_context",
      "tag": "REL_18_6",
      "commit": "724edf9bde9d356724ad384a2e196edc3c9f80f7",
      "path": "src/backend/utils/adt/xml.c",
      "sha256": "f1c70b5ee5ee9a20a41d9b2c27bc7a8a50dbd9489ba462a4a678f7f55f14d",
      "url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/utils/adt/xml.c",
      "lines": "4388-4390,4825-4861"
    },
    {
      "id": "src.xml2.xpath.18.6",
      "kind": "upstream_source",
      "source_role": "resolved_report_context",
      "tag": "REL_18_6",
      "commit": "724edf9bde9d356724ad384a2e196edc3c9f80f7",
      "path": "contrib/xml2/xpath.c",
      "sha256": "2eb71a90f3cf2f3d0f4137327600f410dcade58ce1dbde93ea0cf90d81430792",
      "url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/contrib/xml2/xpath.c",
      "lines": "400,664"
    },
    {
      "id": "src.xml2.xslt.18.6",
      "kind": "upstream_source",
      "source_role": "resolved_report_context",
      "tag": "REL_18_6",
      "commit": "724edf9bde9d356724ad384a2e196edc3c9f80f7",
      "path": "contrib/xml2/xslt_proc.c",
      "sha256": "a5a76f59e851175955dfa62477fd4a7d7be3fb69b37e7a7e955ab76c8e01d0ae",
      "url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/contrib/xml2/xslt_proc.c",
      "lines": "106,141"
    },
    {
      "id": "src.calls.REL_18_6",
      "kind": "local_artifact",
      "source_role": "source_call_scan",
      "sha256": "9ee8a0e81d8f0825c5c1ae45583439859a26e602bdd4ce2f2a62aa278867ccbf"
    }
  ],
  "claims": [
    {
      "id": "identity",
      "statement": "10608 is invalid_argument_for_xquery in SQLSTATE Class 10.",
      "sources": [
        "src.errcodes.18.6"
      ],
      "method": "Read the fixed errcodes definition row, severity, and macro."
    },
    {
      "id": "resolved-path",
      "statement": "The fixed PostgreSQL 18.6 source contains the report path and message context described on the page.",
      "sources": [
        "src.xml.18.6",
        "src.xml2.xpath.18.6",
        "src.xml2.xslt.18.6"
      ],
      "method": "Read the complete source context around the resolved report group.",
      "limits": "This is source confirmation, not a runtime observation in this batch."
    },
    {
      "id": "history-boundary",
      "statement": "The locked release definitions establish catalogue presence from the known 18.0 boundary; they do not establish a precise introducing release or runtime use.",
      "sources": [
        "src.errcodes.18.6"
      ],
      "method": "Compare canonical release-definition facts with the available history boundary.",
      "limits": "Definition presence is not an emitting-path observation."
    }
  ],
  "messages": [
    {
      "id": "message.xml-empty-xpath",
      "sqlstate": "10608",
      "primary_template": "empty XPath expression",
      "severity_source": "ERROR",
      "sources": [
        "src.xml.18.6"
      ]
    },
    {
      "id": "message.xml-empty-row-path",
      "sqlstate": "10608",
      "primary_template": "row path filter must not be empty string",
      "severity_source": "ERROR",
      "sources": [
        "src.xml.18.6"
      ]
    },
    {
      "id": "message.xml-empty-column-path",
      "sqlstate": "10608",
      "primary_template": "column path filter must not be empty string",
      "severity_source": "ERROR",
      "sources": [
        "src.xml.18.6"
      ]
    }
  ],
  "usage_evidence": [
    {
      "scope": "definition",
      "status": "definition_only",
      "evidence_ids": [
        "identity"
      ]
    },
    {
      "scope": "fixed-source-path",
      "status": "source_path_confirmed",
      "evidence_ids": [
        "resolved-path"
      ]
    },
    {
      "scope": "history",
      "status": "unknown",
      "evidence_ids": [
        "history-boundary"
      ]
    },
    {
      "scope": "natural-runtime",
      "status": "unknown",
      "evidence_ids": [
        "resolved-path"
      ]
    }
  ],
  "runtime": []
}
