On 3/18/09 6:55 PM, Håvard Sørbø wrote: > Hi, there are a few errors in the jingle-schema of XEP-0166. > http://xmpp.org/extensions/xep-0166.html > > A typo "maxOcccurs", should be replaced with "maxOccurs". > > > Some none-closed tags > <xs:enumeration value='initiator'> > > should be > <xs:enumeration value='initiator'/> > > > replace > <xs:enumeration value='both'> > <xs:enumeration value='initiator'> > <xs:enumeration value='none'> > > with > <xs:enumeration value='both'/> > <xs:enumeration value='initiator'/> > <xs:enumeration value='none'/>
I've fixed all of those in my working copy. > Also, the code generator I'm using gets very angry with: > > <xs:attribute name='creator' > use='required' > default='initiator'> > > It's warning: > The 'use' attribute must be optional (or absent) if the default > attribute is present. I suppose that is consistent with W3C XML Schema 3.2.1: "default specifies that the attribute is to appear unconditionally in the ·post-schema-validation infoset·, with the supplied value used whenever the attribute is not actually present;" I think this is a bit pedantic, but I've changed it anyway. Peter -- Peter Saint-Andre https://stpeter.im/
smime.p7s
Description: S/MIME Cryptographic Signature
