Commit 7ec5a5c9 authored by Matthias Redies's avatar Matthias Redies

C complains about these C++ -styple comments

parent 5b4034ae
......@@ -45,7 +45,7 @@ int initializeXMLInterface()
int parseXMLSchema(const char* schemaFilename)
{
schemaDoc = xmlReadFile(schemaFilename, NULL, 0);
//printf("Parsing XML Schema file: %s\n", schemaFilename);
/*printf("Parsing XML Schema file: %s\n", schemaFilename);*/
if (schemaDoc == NULL)
{
fprintf(stderr, "Failed to parse xml schema file %s\n", schemaFilename);
......@@ -70,10 +70,10 @@ int parseXMLSchema(const char* schemaFilename)
return -1;
}
xmlSchemaSetValidOptions(schemaValidCtxt,XML_SCHEMA_VAL_VC_I_CREATE);
//printf("parseXMLSchema: schemaDoc: %p\n",schemaDoc);
//printf("parseXMLSchema: schemaParserCtxt: %p\n",schemaParserCtxt);
//printf("parseXMLSchema: schema: %p\n",schema);
//printf("parseXMLSchema: schemaValidCtxt: %p\n",schemaValidCtxt);
/*printf("parseXMLSchema: schemaDoc: %p\n",schemaDoc);
printf("parseXMLSchema: schemaParserCtxt: %p\n",schemaParserCtxt);
printf("parseXMLSchema: schema: %p\n",schema);
printf("parseXMLSchema: schemaValidCtxt: %p\n",schemaValidCtxt);*/
return 0;
}
......@@ -87,14 +87,14 @@ int parseXMLDocument(const char* docFilename)
fprintf(stderr, "Failed to parse xml file %s\n", docFilename);
return -1;
}
//printf("parseXMLDocument: xmlDocument: %p\n",xmlDocument);
/*printf("parseXMLDocument: xmlDocument: %p\n",xmlDocument);*/
return 0;
}
int validateXMLDocument()
{
//printf("validateXMLDocument: xmlDocument: %p\n",xmlDocument);
/*printf("validateXMLDocument: xmlDocument: %p\n",xmlDocument);*/
if (schemaValidCtxt == NULL)
{
......@@ -170,7 +170,7 @@ extern const unsigned char* getXMLAttributeValue(const unsigned char* xPathExpre
return NULL;
}
// return NULL;
/* return NULL;*/
return xmlNodeGetContent(nodes->nodeTab[0]);
}
......@@ -195,7 +195,7 @@ int setXMLAttributeValue(const unsigned char* xPathExpression,const unsigned cha
return 1;
}
// return NULL;
/* return NULL;*/
xmlNodeSetContent(nodes->nodeTab[0],value);
return 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment