[OpenSER-Users] XCAP lite: http proxy setting

vinayakumar.bendi at wipro.com vinayakumar.bendi at wipro.com
Wed Jun 27 08:09:57 CEST 2007


Hi,

Am trying to check 'XCAP server simulator for OpenSER presence agent' using an XCAP (client) test-tool from seagull.

When I send an XCAP PUT request to XCAP server the request fails during schema validation.
Have enabled libxml traces in xcap-lib.php and found the following error .. 

Jun 26 18:18:26 presence XCAP[26336]: <pre>
Jun 26 18:18:26 presence XCAP[26336]: <b>DOMDocument::schemaValidate() Generated Errors!</b>
Jun 26 18:18:26 presence XCAP[26336]: <br/> <b>Warning 1549</b>: failed to load external entity "http://www.w3.org/2001/xml.xsd"  on line <b>0</b> 
Jun 26 18:18:26 presence XCAP[26336]: <br/> <b>Warning 3084</b>: Element '{http://www.w3.org/2001/XMLSchema}import': Failed to locate a schema at location 'http://www.w3.org/2001/xml.xsd'. Skipping the import.  in file <b>/var/www/xcap-root/schemas/resource-lists.xsd</b>  on line <b>7</b> 
Jun 26 18:18:26 presence XCAP[26336]: <br/> <b>Error 3004</b>: attribute use (unknown), attribute 'ref': The QName value '{http://www.w3.org/XML/1998/namespace}lang' does not resolve to a(n) attribute declaration.  in file <b>/var/www/xcap-root/schemas/resource-lists.xsd</b>  on line <b>73</b> 
Jun 26 18:18:26 presence XCAP[26336]: Error: failed to validate resource-lists against resource-lists.xsd

It appears that the validation fails when trying to load an HTTP URL (for xml.xsd). I am running this in a network which has a gateway to internet via a proxy. Any clues to get around this problem will be appreciated?

I have tried downloading xml.xsd locally and updating references in resource-lists.xsd but haven't had enough luck in getting it work either :-(

Jun 26 18:16:53 presence XCAP[26321]: <pre>
Jun 26 18:16:53 presence XCAP[26321]: <b>DOMDocument::schemaValidate() Generated Errors!</b>
Jun 26 18:16:53 presence XCAP[26321]: <br/> <b>Error 201</b>: Namespace prefix xs on schema is not defined  in file <b>file:///var/www/xcap-root/schemas/xmlschema/xml.xsd</b>  on line <b>1</b> 
Jun 26 18:16:53 presence XCAP[26321]: <br/> <b>Error 201</b>: Namespace prefix xs on annotation is not defined  in file <b>file:///var/www/xcap-root/schemas/xmlschema/xml.xsd</b>  on line <b>2</b> 
...

Kind regards, 
Vinaya




The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20070627/4fb367b1/attachment.htm 


More information about the Users mailing list