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.

Adrian

On Jan 9, 2011, at 1:57 PM, CheeWii wrote:

> Yes, I unstandant what you said. Does it mean we can't develop it based 
> OpenXCAP. For example, I want to add a "Blog-URL" or "Personal Signature" for 
> every friend in buddy-list. How can I do to accomplish it in regular rule?
>  
> Best Regards,
> CheeWii
> 
> 2011/1/5 Saúl Ibarra Corretgé <[email protected]>
> On 5/1/11 7:01 AM, CheeWii wrote:
> Dear Saúl Ibarra Corretgé,
>         I have test to modify
> /usr/lib/pymodules/python2.5/xcap/xml-schemas/resource-lists.xsd in my
> OpenXCAP,and add additional tag successfully:)
> 
> That is just very wrong. Nobody will be able to parse your resource-lists 
> documents if you arbitrarily modify the schema.
> 
> 
> -- 
> Saúl Ibarra Corretgé
> AG Projects
> 
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to