summaryrefslogtreecommitdiff
path: root/xmlschemas.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmlschemas.c')
-rw-r--r--xmlschemas.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmlschemas.c b/xmlschemas.c
index cc9620e..87fbca3 100644
--- a/xmlschemas.c
+++ b/xmlschemas.c
@@ -7748,6 +7748,8 @@ xmlSchemaParseComplexType(xmlSchemaParserCtxtPtr ctxt, xmlSchemaPtr schema,
xmlAttrPtr attr;
const xmlChar *attrValue;
xmlChar *des = NULL; /* The reported designation. */
+ char buf[40];
+
if ((ctxt == NULL) || (schema == NULL) || (node == NULL))
return (NULL);
@@ -7770,8 +7772,6 @@ xmlSchemaParseComplexType(xmlSchemaParserCtxtPtr ctxt, xmlSchemaPtr schema,
}
if (topLevel == 0) {
- char buf[40];
-
/*
* Parse as local complex type definition.
*/
@@ -16811,7 +16811,7 @@ xmlSchemaGetValidErrors(xmlSchemaValidCtxtPtr ctxt,
/**
- * xmlSchemaValidCtxtSetOptions:
+ * xmlSchemaSetValidOptions:
* @ctxt: a schema validation context
* @options: a combination of xmlSchemaValidOption
*
@@ -16849,7 +16849,7 @@ xmlSchemaSetValidOptions(xmlSchemaValidCtxtPtr ctxt,
}
/**
- * xmlSchemaGetValidOptions:
+ * xmlSchemaValidCtxtGetOptions:
* @ctxt: a schema validation context
*
* Returns the option combination of the validation context.