diff --git a/xep-0115.xml b/xep-0115.xml index be58129d..5477a8ff 100644 --- a/xep-0115.xml +++ b/xep-0115.xml @@ -275,10 +275,10 @@
  • For each identity, append the 'category/type/lang/name' to S, followed by the '<' character.
  • Sort the supported service discovery features. A registry of service discovery features is located at &DISCOFEATURES;.
  • For each feature, append the feature to S, followed by the '<' character.
  • -
  • If the service discovery information response includes XEP-0128 data forms, sort the forms by the FORM_TYPE field.
  • +
  • If the service discovery information response includes XEP-0128 data forms, sort the forms by the FORM_TYPE (i.e., by the XML character data of the <value/> element).
  • For each extended service discovery information form:
      -
    1. Append the value of the FORM_TYPE field, followed by the '<' character.
    2. +
    3. Append the XML character data of the FORM_TYPE field's <value/> element, followed by the '<' character.
    4. Sort the fields by the value of the "var" attribute.
    5. For each field:
        @@ -353,10 +353,10 @@
      1. Sort the extended service discovery forms by FORM_TYPE (there is only one: "urn:xmpp:dataforms:softwareinfo").
      2. S = 'client/pc/el/Ψ 0.9.1<client/pc/en/Psi 0.9.1<http://jabber.org/protocol/caps<http://jabber.org/protocol/disco#info
        <http://jabber.org/protocol/disco#items<http://jabber.org/protocol/muc<urn:xmpp:dataforms:softwareinfo<'
      3. -
      4. Sort the fields by var and append the value(s): "ip_version<ipv4<ipv6", "os<Mac", "os_version<OS X 10.5.1", "software<Psi", "software_version<0.11".
      5. +
      6. Sort the fields by var and append the value(s): "ip_version<ipv4<ipv6", "os<Mac", "os_version<10.5.1", "software<Psi", "software_version<0.11".
      7. S = 'client/pc/el/Ψ 0.9.1<client/pc/en/Psi 0.9.1<http://jabber.org/protocol/caps
        <http://jabber.org/protocol/disco#info<http://jabber.org/protocol/disco#items<http://jabber.org/protocol/muc -
        <urn:xmpp:dataforms:softwareinfo<ip_version<ipv4<ipv6<os<Mac<os_version<OS X 10.5.1<software<Psi<software_version<0.11<'
      8. +
        <urn:xmpp:dataforms:softwareinfo<ip_version<ipv4<ipv6<os<Mac<os_version<10.5.1<software<Psi<software_version<0.11<'
      9. ver = 8lu+88MRxmKM7yO3MEzY7YmTsWs=