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 j...@conference.jabber.org 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. :)

> Peter, where can I download an XML version of your edit of the XEP? I
> will fix the problem and I found other problems in XML-schema.

There's a mirror here:

http://gitorious.org/xmpp

Peter

-- 
Peter Saint-Andre
https://stpeter.im/




Reply via email to