Skip to content

XEP-0353/JMI: Fix specification and xml schema inconsistencies #1436

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

lnjX
Copy link
Contributor

@lnjX lnjX commented Apr 26, 2025

Currently the schema says some elements MUST contain a '<reason/>' from urn:xmpp:jingle-message:0 and the examples and specification text said that some elements SHOULD contain a &lt;reason/&gt; element from urn:xmpp:jingle:1.

This does:

  • SHOULD -> MUST contain reason
  • Use reason from urn:xmpp:jingle:1 in both XML schema and examples
  • XEP-0353/JMI: Remove redefinition of jingle reason element in schema
  • XEP-0353/JMI: Make usage of reason element a MUST
  • XEP-0353/JMI: Add version block for 0.7.0

lnjX added 2 commits April 26, 2025 23:08
Instead import <reason/> element from Jingle namespace, so the XML
schema matches with the examples.
To be consistent with the XML schema (which has minOccurs=maxOccurs=1).
@github-actions github-actions bot added the Needs Author The XEP is experimental and the PR was not made by the author. The author needs to acknowledge it. label Apr 26, 2025
@lnjX lnjX force-pushed the xep-0353/reference-jingle-reason branch from dd4f845 to 94d02fa Compare April 26, 2025 21:18
@lnjX lnjX force-pushed the xep-0353/reference-jingle-reason branch from 94d02fa to 63c1711 Compare May 3, 2025 16:36
@lnjX
Copy link
Contributor Author

lnjX commented May 3, 2025

Ping @tmolitor-stud-tu :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Author The XEP is experimental and the PR was not made by the author. The author needs to acknowledge it.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant