Commit Graph

3642 Commits

Author SHA1 Message Date
Kevin Smith 2085008ff2 Merge pull request #244 from intosi/xsl-fix
xep.xsl: Force open and close tags on script
2016-08-31 10:53:34 +01:00
Edwin Mons 1c8851a2db xep.xsl: Force open and close tags on script
XSLT processors are allowed to choose either the self-closing form or
explicit open and close tags when operating in xml mode for elements
that have no text.  Unfortunately, for the script element, this is not
allowed (by the DTD, and conformant browsers will not accept the
self-closing form).

xsltproc, as used by the XSF tooling, will output the open/close tags,
but other processors, such as Xalan, will choose the self-closing form.

This patch adds an empty comment as a child of the script tag. This will
force all XSLT processors into outputting the right form. As browsers
are required to ignore the content if there is a src attribute, this
will not change the behaviour. Should a browser without support for the
script tag open it, all it sees is a comment.

Test-Information:

Transforms XEPs into readable documents in xsltproc and oXygen 9.3.
2016-08-31 08:33:33 +02:00
Sam Whited 53ae5711a6 XEP-0369: Fix German in i18n example 2016-08-30 09:21:12 -05:00
Kevin Smith f035926127 Merge pull request #243 from intosi/xep-0369-revision-fix
XEP-0369: Fix revision 0.2.1 XML
2016-08-30 14:02:48 +01:00
Kevin Smith 4e5930a3ad Merge pull request #226 from linkmauve/xep-0143-fix
XEP-0143: Fix new XEP creation instructions
2016-08-30 13:57:40 +01:00
Edwin Mons 3028ed98aa XEP-0369: Fix revision 0.2.1 XML
Revision 0.2.1 of xep-0369.xml had two <initials/> and two <remark/>
elements, both of which are illegal. Merged them, as I think it's the
least ungraceful recovery from the dual 0.2.1 revision issue.

Test-Information:

xep-0369.xml now validates according to the DTD using xmllint.
2016-08-30 14:53:43 +02:00
Kevin Smith 9ee89fb0f5 Merge pull request #242 from intosi/dtd_fix
Fix obvious mistakes in the DTD
2016-08-30 12:16:45 +01:00
Edwin Mons a7b3774fa1 Fix obvious mistakes in the DTD
Adds a few obvious missing allowed children to various elements in the
DTD.  Before this, 277 XEPs failed to validate, after the change, 'only'
179 fail to validate. It also means a portion of those XEPs contain
things that will never be converted to HTML or PDF, because our XSLT
doesn't know about them.

Test-Information:

Tested the DTD against our current body of XEPs using xmllint 2.9.1.
2016-08-30 13:07:49 +02:00
Sam Whited b358c01f3d s/presence message/presence stanza/ 2016-08-28 11:41:35 -05:00
Sam Whited 7ecea1417b Remove some whitespace from a few examples 2016-08-28 11:37:00 -05:00
Sam Whited 1c26c9f2ed Let's not be redundant and repeat ourselves 2016-08-28 11:35:51 -05:00
Sam Whited dbf6c0c304 XEP-0369: Minor grammatical fix 2016-08-28 11:34:27 -05:00
Sam Whited 9b53b8e6c7 XEP-0369: Use PRECIS nickname profile for nicks 2016-08-28 11:31:16 -05:00
Sam Whited 2fbdd438d1 XEP-0369: Fix format of proxy JID in example 2016-08-28 11:27:34 -05:00
Sam Whited 076e9f44af XEP-0369: Remove circular definition 2016-08-28 11:16:02 -05:00
Sam Whited 41a14b0ae2 XEP-0369: specify subjects natural language 2016-08-28 11:05:59 -05:00
Emmanuel Gil Peyrot 0cc813e83a XEP-0143: Add a new revision. 2016-08-27 15:17:50 +01:00
Emmanuel Gil Peyrot 0fd9f64298 XEP-0143: Fix new XEP creation instructions.
The xeps repository has been split from the xmpp repository, this
reflects that change.
2016-08-27 15:17:30 +01:00
Sam Whited 6270772d6c XEP-0369: Fix revision 2016-08-25 09:13:41 -05:00
Sam Whited 2fa4d82034 XEP-0369: Fix typo before publishing 0.2.1 2016-08-25 09:02:41 -05:00
Sam Whited 2f8a009c75 Merge pull request #231 from SamWhited/xep0369_phrasing_grammar
XEP-0369: Phrasing and grammar tweaks
2016-08-25 07:00:04 -07:00
Sam Whited 6e1c1f7c56 XEP-0369: Phrasing and grammar tweaks 2016-08-25 08:58:39 -05:00
Kevin Smith 4e9b8ab064 Merge pull request #234 from stevekille/master
Version bump for Link Mauve Edits
2016-08-25 12:30:46 +01:00
Steve Kille 8f0db6802f Correct version push 2016-08-25 12:26:11 +01:00
Steve Kille 5ca6e1c529 Version bump for Link Mauve Edits 2016-08-25 12:18:37 +01:00
Kevin Smith 4c8f31ecc2 Merge pull request #229 from linkmauve/xep-0369-fixes2
XEP-0369 misc editor fixes
2016-08-25 12:08:55 +01:00
Emmanuel Gil Peyrot 30de19bc4d XEP-0369: Misc typo fixes. 2016-08-24 15:57:21 +01:00
Emmanuel Gil Peyrot 42c2425b29 XEP-0369: Make the XEP-0128 dataform valid in service disco#info.
XEP-0004 specifies that the var attribute is mandatory on every
non-fixed field of a dataform.

Also, for i18n reasons, mandating a label as a field identifier would
prevent any translation of it.
2016-08-24 15:57:21 +01:00
Emmanuel Gil Peyrot 487c79fe3d XEP-0369: Add XEP-0128 dependency for extended service discovery. 2016-08-24 15:57:21 +01:00
Emmanuel Gil Peyrot ba8a081455 XEP-0369: Don’t recopy the query in the “Nick is Taken” example.
This form of error handling is much heavier and doesn’t bring any
benefit over including only the error.
2016-08-24 15:55:49 +01:00
Emmanuel Gil Peyrot 11045ab27e XEP-0369: Fix example stanzas indentation. 2016-08-24 15:55:17 +01:00
Sam Whited 5444ba9b8f Merge pull request #215 from sstrigler/xep-0060-jabber
Fix terminology
2016-08-19 09:35:47 -07:00
Sam Whited 2f0152b259 XEP-0106: Fix example whitespace 2016-08-19 11:00:48 -05:00
Sam Whited 7cacdba6df XEP-0106: Update RFC 2822 reference to RFC 5322 2016-08-19 11:00:48 -05:00
Sam Whited d3e38e0426 XEP-0106: Update to use PRECIS and newer XMPP RFCs 2016-08-19 11:00:48 -05:00
Kevin Smith ee6bd64538 Merge pull request #217 from ge0rg/master
Improve rendering of <example> and div.example HTML
2016-08-18 14:22:39 +01:00
Kevin Smith 79f712ab3a Merge pull request #230 from Kev/eme
Inbox: Add Explicit Message Encryption XEP.
2016-08-17 17:35:42 +01:00
Emmanuel Gil Peyrot 9fb1b093ad Inbox: Add Explicit Message Encryption XEP. 2016-08-17 17:27:04 +01:00
Kevin Smith 5fa9bf5dba Merge pull request #228 from Kev/mix
Mix
2016-08-16 10:22:48 +01:00
Kevin Smith c3596c3f92 XEP-0369: add 0.2 version block 2016-08-16 08:41:50 +01:00
Steve Kille 640458cd91 XEP-0369: MIX update to address Summit Decisions 2016-08-16 08:41:45 +01:00
Florian Schmaus 572eac8fe0 Merge pull request #222 from Flowdalic/xep355v3
Update XEP-0355: 'Namespace Delegation' to 0.3
2016-08-11 10:39:52 +02:00
Peter Saint-Andre 78b3d6c3de Merge pull request #184 from tfar/sandbox/2016/xep-300-modernize
Update XEP-0300 to current standards; adding SHA-3 and BLAKE2
2016-08-10 09:43:04 -06:00
Emmanuel Gil Peyrot d5d502087e XEP-0329: Increase the version number 2016-08-07 22:08:37 +01:00
Emmanuel Gil Peyrot d767706ab2 XEP-0329: Add a wrapper iq around the Jingle session initiation example 2016-08-07 22:08:37 +01:00
Emmanuel Gil Peyrot 88660266b0 XEP-0329: Change example ids when they correspond to another request 2016-08-07 22:08:37 +01:00
Emmanuel Gil Peyrot bbaec1433f XEP-0329: Update referenced XEP-0234 to version 0.16 2016-08-07 22:08:37 +01:00
Emmanuel Gil Peyrot 6b53252c7f XEP-0329: Remove unnecessary whitespace around examples 2016-08-07 22:08:37 +01:00
Emmanuel Gil Peyrot 3945c638c1 XEP-0329: Fix non-closed example stanza 2016-08-07 22:08:37 +01:00
Emmanuel Gil Peyrot 3949be39a8 XEP-0329: Make indentation consistent with other XEPs 2016-08-07 22:08:37 +01:00