RFC Errata


Errata Search

 
Source of RFC  
Summary Table Full Records

RFC 5222, "LoST: A Location-to-Service Translation Protocol", August 2008

Note: This RFC has been updated by RFC 6848, RFC 8917, RFC 9036

Source of RFC: ecrit (rai)

Errata ID: 8200
Status: Reported
Type: Technical
Publication Format(s) : TEXT

Reported By: Dan Banks
Date Reported: 2024-12-04

Section 15 & Apdx A says:

In section 15:
  ##
  ##         Any element not in the LoST namespace.
  ##
  notLost = element * - (ns1:* | ns1:*) { anyElement }

And in Appendix A:
       <define name="notLost">
         <a:documentation>
           Any element not in the LoST namespace.
         </a:documentation>
         <element>
           <anyName>
             <except>
               <nsName ns="urn:ietf:params:xml:ns:lost1"/>
               <nsName/>
             </except>
           </anyName>
           <ref name="anyElement"/>
         </element>
       </define>

It should say:

In section 15:
  ##
  ##         Any element having a namespace other than the LoST namespace.
  ##
  notLost = element * - (ns1:* | local:*) { anyElement }

And in Appendix A:
       <define name="notLost">
         <a:documentation>
           Any element having a namespace other than the LoST namespace.
         </a:documentation>
         <element>
           <anyName>
             <except>
               <nsName ns="urn:ietf:params:xml:ns:lost1"/>
               <nsName ns=""/>
             </except>
           </anyName>
           <ref name="anyElement"/>
         </element>
       </define>

Notes:

The schema, in both the compact and XML versions, uses the "notLost" name-class to implement extension points. Both definitions, as they appear in the original text, exclude the LoST namespace twice. This appears to be a mistake.

Some of the included comments suggest that the intent was to include only elements from other namespaces, implying that elements without a namespace would be excluded. The patterns used are quite similar to examples appearing in the Name Classes sections of the RELAX NG tutorials that do exactly that.

The proposed correction fixes the schemas to exclude elements without a namespace and eliminates the redundancy with respect to the LoST namespace itself. The comment text is also changed to be consistent with the result and other comments.

Report New Errata



Advanced Search