cgs1999 / boghe

Automatically exported from code.google.com/p/boghe
0 stars 0 forks source link

Incorrect precence publish document #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

The presence doc published is not compliant with schema, the sequence is wrong.

How can I try to puting <overriding-willingness> and <note> in reverse order, 
like:

What is the expected output? What do you see instead?

############Correct sequence###################

<pdm:person id="p0000019">

    <op:overriding-willingness>

      <op:basic>open</op:basic>

    </op:overriding-willingness>

    <rpid:activities>

      <rpid:vacation />

</rpid:activities>

<pdm:note>Be Right Back</pdm:note>

  </pdm:person>

############Current sequence#######################

<?xml version="1.0" encoding="utf-8"?>

<presence xmlns:cp="urn:ietf:params:xml:ns:pidf:cipid" 
xmlns:caps="urn:ietf:params:xml:ns:pidf:caps" 
xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid" 
xmlns:pdm="urn:ietf:params:xml:ns:pidf:data-model" 
xmlns:p="urn:ietf:params:xml:ns:pidf-diff" 
xmlns:op="urn:oma:xml:prs:pidf:oma-pres" entity="sip:+6562403003@ims.alu.com" 
xmlns="urn:ietf:params:xml:ns:pidf">

  <pdm:person id="p0000019">

    <pdm:note>Be Right Back</pdm:note>

    <op:overriding-willingness>

      <op:basic>open</op:basic>

    </op:overriding-willingness>

    <rpid:activities>

      <rpid:vacation />

    </rpid:activities>

  </pdm:person>

What version of the product are you using? On what operating system?

Windows XP SP3

Boghe IMS Client v1.0.58.550

Please provide any additional information below.

Original issue reported on code.google.com by chinth...@gmail.com on 8 Sep 2011 at 8:12

GoogleCodeExporter commented 9 years ago
Just change the XML attribute order

Original comment by boss...@yahoo.fr on 3 Oct 2011 at 8:44

GoogleCodeExporter commented 9 years ago
Fixed by Boghe revision 73

Original comment by boss...@yahoo.fr on 17 Oct 2011 at 11:32