[Serusers] 415 unsopported document format
Vaclav Kubart
vaclav.kubart at iptel.org
Thu Sep 7 08:55:54 CEST 2006
I think that character 351 (oct) is not UTF-8 character - in UTF-8 it
must be encoded with two characters 303 and 251 (oct). Thus if you have
351 (oct) in your XML document which declares UTF-8 encoding it is
invalid XML and it should be rejected (you can try it with a xml parser).
Vaclav
On Wed, Sep 06, 2006 at 09:37:30AM -0300, Javier Ramirez wrote:
> I write in plain text the file of ethereal.
> in the ethereal I see this:
> in my program
> <note>Al tel\351fono</note>
> in xten
> <note>Al Tel\303\251fono</note>
>
>
>
> ----- Original Message -----
> From: Vaclav Kubart
> To: Javier Ramirez
> Cc: serusers at iptel.org
> Sent: Wednesday, September 06, 2006 3:04 AM
> Subject: Re: [Serusers] 415 unsopported document format
>
>
> It is problem with character encoding but I can't inspect it from this
> email. Please could you send the document (may be the ethereal dump) as
> binary attachement? I need to see exact characters within it, how they
> are received by SER.
> thanks
> Vaclav
>
> On Tue, Sep 05, 2006 at 10:47:10AM -0300, Javier Ramirez wrote:
> > the problem is:
> > in my program
> > <note>Al tel\351fono</note>
> > in xten
> > <note>Al Tel\303\251fono</note>
> >
> >
> > In Ethereal I see this:
> >
> > In my program :
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <presence xmlns="urn:ietf:params:xml:ns:pidf"
> > xmlns:pp="urn:ietf:params:xml:ns:pidf:person"
> > xmlns:et="urn:ietf:params:xml:ns:pidf:rpid:rpid-tuple"
> > xmlns:ep="urn:ietf:params:xml:ns:pidf:rpid:rpid-person"
> > xmlns:es="urn:ietf:params:xml:ns:pidf:rpid:status:rpid-status"
> > xmlns:ci="urn:ietf:params:xml:ns:pidf:cipid"
> > entity="sip:javier at direccionIP.com">
> > <pp:person>
> > <status>
> > <ep:activities>
> > <ep:activity>away</ep:activity>
> > </ep:activities>
> > </status>
> > </pp:person>
> > <note>Al tel\351fono</note>
> > <tuple id="t9647">
> > <contact priority="1">sip:javier at direccionIP.com</contact>
> > <status>
> > <basic>open</basic>
> > </status>
> > </tuple>
> > </presence>
> >
> >
> > In xten:
> >
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <presence xmlns="urn:ietf:params:xml:ns:pidf"
> > xmlns:pp="urn:ietf:params:xml:ns:pidf:person"
> > xmlns:et="urn:ietf:params:xml:ns:pidf:rpid:rpid-tuple"
> > xmlns:ep="urn:ietf:params:xml:ns:pidf:rpid:rpid-person"
> > xmlns:es="urn:ietf:params:xml:ns:pidf:rpid:status:rpid-status"
> > xmlns:ci="urn:ietf:params:xml:ns:pidf:cipid"
> > entity="sip:javier at direccionIP.com">
> > <pp:person>
> > <status>
> > <ep:activities>
> > <ep:activity>away</ep:activity>
> > </ep:activities>
> > </status>
> > </pp:person>
> > <note>Al Tel\303\251fono</note>
> > <tuple id="t1">
> > <contact priority="1">sip:javier at direccionIP.com</contact>
> > <status>
> > <basic>open</basic>
> > <es:user-input since="2006-09-05T10:31:51Z">idle</es:user-input>
> > </status>
> > </tuple>
> > </presence>
> >
> >
> > ----- Original Message -----
> > From: Vaclav Kubart
> > To: Javier Ramirez
> > Cc: serusers at iptel.org
> > Sent: Tuesday, September 05, 2006 3:06 AM
> > Subject: Re: [Serusers] 415 unsopported document format
> >
> >
> > Hi,
> > you have to use PIDF format - see RFC 3863.
> > (http://www.ietf.org/rfc/rfc3863.txt)
> > If you are using it and SER still returns errors, try to send your
> > presence document (or whole PUBLISH message) here.
> > Vaclav
> >
> > On Mon, Sep 04, 2006 at 03:45:44PM -0300, Javier Ramirez wrote:
> > > Hi,
> > > I have a problem, when I send a PUBLISH with personal status, if have accent, the ser send me 415 unsopported document format.
> > > How to encode for ser accept my PUBLISH ?
> > > best regards
> > > Javier
> > > _______________________________________________
> > > Serusers mailing list
> > > Serusers at lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serusers
> >
> >
> > __________ NOD32 1.1739 (20060904) Information __________
> >
> > This message was checked by NOD32 antivirus system.
> > http://www.eset.com
> >
>
> __________ NOD32 1.1740 (20060905) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
More information about the sr-users
mailing list