Sendt fra min HTC-telefon
----- Reply message ----- Fra: "Peter Saint-Andre" <[email protected]> Til: "XMPP Standards" <[email protected]> Emne: [Standards] Proposed XMPP Extension: Data Forms XML Element Dato: tor., jun. 21, 2012 18:47 On 6/20/12 8:42 AM, Peter Saint-Andre wrote: > On 6/20/12 6:03 AM, Sergey Dobrov wrote: >> On 06/20/2012 01:32 AM, Peter Saint-Andre wrote: >>> On 6/19/12 10:17 AM, XMPP Extensions Editor wrote: >>>> The XMPP Extensions Editor has received a proposal for a new XEP. >>>> >>>> Title: Data Forms XML Element >>>> >>>> Abstract: This specification defines an XMPP protocol extension for >>>> including XML-data in XEP-0004 data forms. >>>> >>>> URL: http://xmpp.org/extensions/inbox/xml-media-element.html >>> >>> As Lance Stout pointed out in the [email protected] room... >>> >>> This proposal has an element name of: >>> >>> <xml xmlns='urn:xmpp:xml-element'> >>> >>> However, the core XML spec says: >>> >>> "This specification does not constrain the application semantics, use, >>> or (beyond syntax) names of the element types and attributes, except >>> that names beginning with a match to (('X'|'x')('M'|'m')('L'|'l')) are >>> reserved for standardization in this or future versions of this >>> specification." >>> >>> See: http://www.w3.org/TR/REC-xml/#NT-element >>> >>> So at least we need to change the element name. :) >> >> Ok, I thought about such restrictions but was not be able to find them >> in specs, so thanks to Lance. >> >> What other name can be used for that? I suppose to use just <wrapper >> xmlns='urn:xmpp:xml-element/> > > Anything but 'x' 'm' 'l' -- <wrapper/> or <element/> or whatever you > please. :) Sergey fixed this, and I've pushed his update to git and to the website: http://xmpp.org/extensions/inbox/xml-media-element.html Peter -- Peter Saint-Andre https://stpeter.im/
