diff options
author | Mike Hommey <mh@glandium.org> | 2004-10-28 09:07:41 +0000 |
---|---|---|
committer | Mike Hommey <mh@glandium.org> | 2004-10-28 09:07:41 +0000 |
commit | 9705f1a5e858108d21a0128556f42b25d16833cd (patch) | |
tree | f819e7482d433f8bf5da005695c79189dd5ce527 /xmlschemas.c | |
parent | 0732be88d054db33fa0ca479eab9988c8e6be42e (diff) | |
download | libxml2-9705f1a5e858108d21a0128556f42b25d16833cd.tar.gz |
Load /tmp/tmp.SgII7T/libxml2-2.6.15 intoupstream/2.6.15
packages/libxml2/branches/upstream/current.
Diffstat (limited to 'xmlschemas.c')
-rw-r--r-- | xmlschemas.c | 8 |
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. |