Changeset 542 for trunk/zoo-project/zoo-kernel
- Timestamp:
- Nov 17, 2014, 5:05:50 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/service_internal.c
r540 r542 1636 1636 getMap(_tmp->content,"rangeClosure")==NULL ){ 1637 1637 tmp1=getMap(_tmp->content,"dataType"); 1638 if(tmp1!=NULL )1639 if(strcasecmp(tmp1->value,"boolean")==0){1640 nc6 = xmlNewNode(ns_ows, BAD_CAST "AllowedValues");1641 nc7 = xmlNewNode(ns_ows, BAD_CAST "Value");1642 xmlAddChild(nc7,xmlNewText(BAD_CAST "true"));1643 xmlAddChild(nc6,nc7);1644 nc7 = xmlNewNode(ns_ows, BAD_CAST "Value");1645 xmlAddChild(nc7,xmlNewText(BAD_CAST "false"));1646 xmlAddChild(nc6,nc7);1647 xmlAddChild(nc3,nc6); 1648 } 1649 1638 if(tmp1!=NULL && strcasecmp(tmp1->value,"boolean")==0){ 1639 nc6 = xmlNewNode(ns_ows, BAD_CAST "AllowedValues"); 1640 nc7 = xmlNewNode(ns_ows, BAD_CAST "Value"); 1641 xmlAddChild(nc7,xmlNewText(BAD_CAST "true")); 1642 xmlAddChild(nc6,nc7); 1643 nc7 = xmlNewNode(ns_ows, BAD_CAST "Value"); 1644 xmlAddChild(nc7,xmlNewText(BAD_CAST "false")); 1645 xmlAddChild(nc6,nc7); 1646 xmlAddChild(nc3,nc6); 1647 } 1648 else 1649 xmlAddChild(nc3,xmlNewNode(ns_ows, BAD_CAST "AnyValue")); 1650 1650 } 1651 1651
Note: See TracChangeset
for help on using the changeset viewer.