Changeset 64


Ignore:
Timestamp:
Jan 8, 2011, 2:17:20 AM (10 years ago)
Author:
djay
Message:

Fix issue when supported node is not present in the zcfg file (ticket #9).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-kernel/service_internal.c

    r63 r64  
    809809      }else{
    810810        xmlAddChild(nc4,nc5);
    811         //xmlAddChild(nc3,xmlNewNode(ns_ows, BAD_CAST "AnyValue"));
    812811      }
    813812      _tmp=_tmp->next;
     
    815814        xmlAddChild(nc2,nc3);
    816815      }
    817       xmlAddChild(nc1,nc2);
    818     }
     816    }
     817    xmlAddChild(nc1,nc2);
    819818   
    820819   
     
    898897    _tmp=e->supported;
    899898    while(_tmp!=NULL){
    900     if(datatype==0){
    901       nc4 = xmlNewNode(NULL, BAD_CAST "Supported");
    902       nc5 = xmlNewNode(NULL, BAD_CAST "Format");
     899      if(datatype==0){
     900        nc4 = xmlNewNode(NULL, BAD_CAST "Supported");
     901        nc5 = xmlNewNode(NULL, BAD_CAST "Format");
    903902      }
    904903      else
    905       nc5 = xmlNewNode(NULL, BAD_CAST "Supported");
     904        nc5 = xmlNewNode(NULL, BAD_CAST "Supported");
    906905      tmp1=_tmp->content;
    907906      while(tmp1!=NULL){
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png