Changeset 496 for trunk/zoo-project
- Timestamp:
- Jul 28, 2014, 11:01:52 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/zoo_service_loader.c
r492 r496 1840 1840 int buffersize; 1841 1841 xmlNodePtr cur5=cur4->children; 1842 while(cur5!=NULL &&cur5->type!=XML_ELEMENT_NODE )1842 while(cur5!=NULL &&cur5->type!=XML_ELEMENT_NODE && cur5->type!=XML_CDATA_SECTION_NODE) 1843 1843 cur5=cur5->next; 1844 xmlDocSetRootElement(doc1,cur5); 1845 xmlDocDumpFormatMemoryEnc(doc1, &mv, &buffersize, "utf-8", 1); 1846 char size[1024]; 1847 sprintf(size,"%d",buffersize); 1848 addToMap(tmpmaps->content,"size",size); 1849 xmlFreeDoc(doc1); 1844 if(cur5->type!=XML_CDATA_SECTION_NODE){ 1845 xmlDocSetRootElement(doc1,cur5); 1846 xmlDocDumpFormatMemoryEnc(doc1, &mv, &buffersize, "utf-8", 1); 1847 char size[1024]; 1848 sprintf(size,"%d",buffersize); 1849 addToMap(tmpmaps->content,"size",size); 1850 xmlFreeDoc(doc1); 1851 } 1850 1852 } 1851 1853 addToMap(tmpmaps->content,"value",(char*)mv);
Note: See TracChangeset
for help on using the changeset viewer.