RFC Errata

Errata Search

Source of RFC  
Summary Table Full Records

RFC 5261, "An Extensible Markup Language (XML) Patch Operations Framework Utilizing XML Path Language (XPath) Selectors", September 2008

Source of RFC: simple (rai)

Errata ID: 3458
Status: Held for Document Update
Type: Technical
Publication Format(s) : TEXT

Reported By: Erik Wilde
Date Reported: 2013-01-16
Held for Document Update by: Gonzalo Camarillo

Section 8 says:

<!ENTITY id     "id\(('&ncname;')?\)|id\((&quot;&ncname;&quot;)?\)">

It should say:

<!ENTITY id     "id\('&ncname;'\)|id\(&quot;&ncname;&quot;\)">


The regex in the XSD suggests that "id()" would be a valid selector for a patch, but it would not make sense to specify such a selector since it never would select a node (there's no identifier to locate in the document). This means that while "id()" is a valid XPath expression, it should not be allowed as a selector expression within an XML patch document.

Report New Errata