<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The XCAP resource-lists application is extensible. You will create in your XCAP client an extension to the resource-list document and add your custom attributes for each contact. See the RFC 4825 for how you achieve create such extensions. You do not need to modify OpenXCAP server for this, just the XCAP client. Other XCAP clients that support the same extension will deal with the data, those who do not will simply ignore it. OpenXCAP will not validate the extensions, it will simply ignore it unless you also change it to understand your extension and perform some actions like validating the data.<div><br></div><div>Adrian</div><div><br></div><div>On Jan 9, 2011, at 1:57 PM, CheeWii wrote:</div><div><div><div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Yes, I unstandant what you said. Does it mean we can't develop it based OpenXCAP. For example, I want to add a "<strong>Blog-URL</strong>" or "<strong>Personal Signature</strong>" for every friend in buddy-list. How can I do to accomplish it in regular rule£¿</div>
<div> </div>
<div>Best Regards£¬</div>
<div>CheeWii<br><br></div>
<div class="gmail_quote">2011/1/5 Sa¨²l Ibarra Corretg¨¦ <span dir="ltr"><<a href="mailto:saul@ag-projects.com">saul@ag-projects.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">On 5/1/11 7:01 AM, CheeWii wrote:<br>
<blockquote class="gmail_quote" style="padding-left: 1ex; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid; position: static; z-index: auto; ">Dear Sa¨²l Ibarra Corretg¨¦,<br> I have test to modify<br>/usr/lib/pymodules/python2.5/xcap/xml-schemas/resource-lists.xsd in my<br>
OpenXCAP,and add additional tag successfully:)<br></blockquote><br></div>That is just very wrong. Nobody will be able to parse your resource-lists documents if you arbitrarily modify the schema.
<div>
<div></div>
<div class="h5"><br><br>-- <br>Sa¨²l Ibarra Corretg¨¦<br>AG Projects<br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br></div></div></blockquote></div><br>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br></blockquote></div><br></div></div></body></html>