No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

xep-0064.xml 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <!DOCTYPE xep SYSTEM 'xep.dtd' [
  3. <!ENTITY % ents SYSTEM "xep.ent">
  4. %ents;
  5. ]>
  6. <?xml-stylesheet type='text/xsl' href='xep.xsl'?>
  7. <xep>
  8. <header>
  9. <title>XPath Filtering</title>
  10. <abstract>A module that provides an XPath matching condition for packet filtering.</abstract>
  11. &LEGALNOTICE;
  12. <number>0064</number>
  13. <status>Deferred</status>
  14. <type>Informational</type>
  15. <sig>Standards</sig>
  16. <dependencies><spec>XEP-0062</spec></dependencies>
  17. <supersedes/>
  18. <supersededby/>
  19. <shortname>Not yet assigned</shortname>
  20. <author>
  21. <firstname>Robert</firstname>
  22. <surname>Norris</surname>
  23. <email>rob@cataclysm.cx</email>
  24. <jid>rob@cataclysm.cx</jid>
  25. </author>
  26. <revision>
  27. <version>0.2</version>
  28. <date>2003-09-30</date>
  29. <initials>psa</initials>
  30. <remark>At the request of the author, changed the status of this document to Deferred pending development of an implementation; also changed the type to Informational.</remark>
  31. </revision>
  32. <revision>
  33. <version>0.1</version>
  34. <date>2002-12-05</date>
  35. <initials>rn</initials>
  36. <remark>Initial version.</remark>
  37. </revision>
  38. </header>
  39. <section1 topic='Introduction'>
  40. <p>This document defines a module for &xep0062; that provides an XPath matching condition for packet filtering.</p>
  41. <p>This module operates in the "http://jabber.org/protocol/filter/xpath" namespace.</p>
  42. </section1>
  43. <section1 topic='Conditions'>
  44. <p>This module defines the fullowing conditions:</p>
  45. <ul>
  46. <li>&lt;xpath/> - true if the XPath expression contained in the CDATA of this element, when applied to the packet, returns one or more nodes.</li>
  47. </ul>
  48. <example caption='Matches all messages with that have a subject element'><![CDATA[
  49. <xpath xmlns='http://jabber.org/protocol/filter/xpath'>/message/subject</xpath>
  50. ]]></example>
  51. <example caption='Matches all presence packets that have an x:delay stamp'><![CDATA[
  52. <xpath xmlns='http://jabber.org/protocol/filter/xpath'>/presence/x[namespace-uri()=='jabber:x:delay']</xpath>
  53. ]]></example>
  54. </section1>
  55. <section1 topic='Security Considerations'>
  56. <p>There are no security features or concerns related to this proposal.</p>
  57. </section1>
  58. <section1 topic='IANA Considerations'>
  59. <p>This document requires no interaction with the IANA.</p>
  60. </section1>
  61. <section1 topic='JANA Considerations'>
  62. <p>No namespaces or parameters need to be registered with JANA as a result of this document.</p>
  63. </section1>
  64. </xep>