[Jingle] XEP-0177 : What is the "received" informational message for ?

Jeff Williams jeffw at gadgetworks.com
Fri Jul 18 17:32:55 CDT 2008


Hi,

 From the schemas and examples it seems ambiguous which way this is  
supposed to go because of the use of namespace="##other" and then our  
use of <element> for type definitions at the top-level of the XSDs.   
Since I've always had trouble wrapping my brain around Jingle's  
complex set of XSDs I took Detlev's email as a prompt to run it all  
through an XML document validator.

I've attached a complete set of files that represent all of the Jingle  
examples (xep0166-examples.xml, xep0167-examples.xml, etc.) and the  
XSDs needed to validate them.  I placed XML comments in all of the  
files where there was a problem with validation.  Look for <!-- spec- 
error - xxxx -->.  I won't be at the conference next week, but could  
someone review these validation failures to see if they're real or  
not, and decide what, if anything, we should do about them.  NB: There  
are exceptions in the XMLs and the XSDs.

Regarding the use of <element> for type definitions at the top of the  
XSDs:  is there any way we can adopt a slightly different methodology  
that enforces the hierarchy suggested by the examples?  The change is  
minor, and you can look the attached jingle.xsd for an example.  This  
way when you include the jingle namespace the only element you can  
pull in is <jingle>, but you can still use the top-level types.  This  
would be true for all of the Jingle XSDs and would pin XML document  
validation to be just like the examples.

Here's the high-level of what I mean...

Before:
---------------------------------------------
<xs:element name="jingle">
...
	<xs:element ref="content"/>
	<xs:element ref="reason"/>
...
</xs:element>
<xs: element name="content"/>
<xs: element name="reason"/>

After:
---------------------------------------------
<xs:element name="jingle">
...
	<xs:element name="content" type="contentType"/>
	<xs:element name="reason" type="reasonType"/>
...
</xs:element>
<xs: complexType name="contentType"/>
<xs: complexType name="reasonType"/>

Jeff


On Jul 17, 2008, at 03:19 , Detlev Casanova wrote:

> Hi,
> I have a problem with the Raw UDP transport method.
> It concerns the case when I have multiple contents using raw-udp  
> transport
> method.
> When an entity sends me a received informational message, how can I  
> find out
> for which content this message is ?
>
> Also, when I receive data, I SHOULD send this message, if one entity  
> does not
> send the message, how do I know when I can send the session-accept  
> action ?
>
> I was thinking of establishing the connection for each content  
> individually
> and send a session terminate if one of the contents cannot be  
> established
> after 30 seconds (for example) but as the received message SHOULD be  
> sent,
> the connection could be established and I don't know about it.
>
> In advance, thanks.
>
> Cheers,
>
> Detlev.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0024.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disco.info.xsd
Type: application/octet-stream
Size: 1565 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0015.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0025.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disco.items.xsd
Type: application/octet-stream
Size: 1476 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0016.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0026.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jabber.client.xsd
Type: application/octet-stream
Size: 5772 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0017.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0027.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jingle-examples.xml
Type: text/xml
Size: 7700 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0008.bin 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0028.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jingle.apps.file-transfer.xsd
Type: application/octet-stream
Size: 1076 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0018.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0029.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jingle.apps.rtp.info.xsd
Type: application/octet-stream
Size: 1019 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0019.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0030.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jingle.apps.rtp.xsd
Type: application/octet-stream
Size: 1592 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0020.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0031.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jingle.apps.xmlstream.xsd
Type: application/octet-stream
Size: 1714 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0021.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0032.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jingle.errors.xsd
Type: application/octet-stream
Size: 536 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0022.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0033.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jingle.transports.ice-udp.xsd
Type: application/octet-stream
Size: 2288 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0023.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0034.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jingle.transports.raw-udp.info.xsd
Type: application/octet-stream
Size: 504 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0024.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0035.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jingle.transports.raw-udp.xsd
Type: application/octet-stream
Size: 1033 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0025.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0036.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jingle.xsd
Type: application/octet-stream
Size: 4878 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0026.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0037.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stanza-error.xsd
Type: application/octet-stream
Size: 2729 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0027.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0038.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stream.xsd
Type: application/octet-stream
Size: 2697 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0028.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0039.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-case.xml
Type: text/xml
Size: 308 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0009.bin 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0040.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tls.xsd
Type: application/octet-stream
Size: 676 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0029.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0041.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xep0166-examples.xml
Type: text/xml
Size: 7821 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0010.bin 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0042.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xep0167-examples.xml
Type: text/xml
Size: 21057 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0011.bin 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0043.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xep0176-examples.xml
Type: text/xml
Size: 11330 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0012.bin 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0044.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xep0177-examples.xml
Type: text/xml
Size: 3095 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0013.bin 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0045.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xep0234-examples.xml
Type: text/xml
Size: 11595 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0014.bin 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0046.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xep0247-examples.xml
Type: text/xml
Size: 2482 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0015.bin 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jingle/attachments/20080718/71154e45/attachment-0047.htm 


More information about the Jingle mailing list