<div>Hi,</div>
<div> </div>
<div>I have test to add new new element for resource-lists,just as follows:</div>
<div> </div>
<div> <?xml version="1.0" encoding="utf-8"?><br><resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists"><br><list name="0" xmlns="urn:ietf:params:xml:ns:resource-lists"><br>
<display-name>Friends</display-name><br><entry uri="1417" xmlns="urn:ietf:params:xml:ns:resource-lists"><display-name>I</display-name<font style="BACKGROUND-COLOR: #ff0000" color="#ffff66">><other><a href="http://www.blog.com">http://www.blog.com</a></other></</font>entry><br>
</list><br><list name="1" xmlns="urn:ietf:params:xml:ns:resource-lists"><br><display-name>Show Buddylist</display-name><br></list><br></resource-lists></div>
<div> </div>
<div>But there is many errors when I put the resource-lists to the OpenXCAP:</div>
<div> </div>
<div>debian:~/syn_showuser# xcapclient -i buddylist.ini put --account-name=1417<br>put <a href="http://xcap.bupt.edu/xcap-root/resource-lists/users/sip:1417@sip6.edu.cn/index">http://xcap.bupt.edu/xcap-root/resource-lists/users/sip:1417@sip6.edu.cn/index</a><br>
409 Conflict<br>content-type: application/xcap-error+xml;charset=utf-8<br>content-length: 369<br><?xml version="1.0" encoding="UTF-8"?><br><xcap-error xmlns="urn:ietf:params:xml:ns:xcap-error"><schema-validation-error><!--<br>
<string>:5:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: <font style="BACKGROUND-COLOR: #ff0000">Element '{urn:ietf:params:xml:ns:resource-lists}other': This element is not expected.</font> Expected is ( ##other{urn:ietf:params:xml:ns:resource-lists}* ).<br>
--></schema-validation-error></xcap-error></div>
<div> </div>
<div> </div>
<div>I think this may be caused by the unsupport element, and I have read the RFC4826, still don't know how to add a new element .</div>
<div> </div>
<div>Thanks a lot:)</div>
<div> </div>
<div>CheeWii</div>