Home | History | Annotate | Download | only in libxml2

Lines Matching refs:xmlChar

115 #define XML_SCHEMAS_NO_NAMESPACE (const xmlChar *) "##"
120 static const xmlChar *xmlSchemaNs = (const xmlChar *)
123 static const xmlChar *xmlSchemaInstanceNs = (const xmlChar *)
126 static const xmlChar *xmlNamespaceNs = (const xmlChar *)
318 (xmlStrEqual(node->name, (const xmlChar *) type)) && \
321 #define FREE_AND_NULL(str) if ((str) != NULL) { xmlFree((xmlChar *) (str)); str = NULL; }
386 const xmlChar *importNamespace;
396 const xmlChar *schemaLocation;
397 const xmlChar *origTargetNamespace;
398 const xmlChar *targetNamespace;
422 const xmlChar *schemaLocation; /* The URI of the schema document. */
424 const xmlChar *origTargetNamespace;
429 const xmlChar *targetNamespace;
451 const xmlChar *schemaLocation;
452 const xmlChar *origTargetNamespace;
453 const xmlChar *targetNamespace;
529 const xmlChar * defValue;
544 const xmlChar *name;
545 const xmlChar *targetNamespace;
559 const xmlChar *refName; /* The name of the to-be-redefined component. */
560 const xmlChar *refTargetNs; /* The target namespace of the
605 const xmlChar *URL;
628 const xmlChar *targetNamespace;
648 const xmlChar *name;
649 const xmlChar *targetNamespace;
704 const xmlChar *name;
705 const xmlChar *targetNamespace;
725 const xmlChar *xpath; /* the XPath expression */
741 const xmlChar *name;
742 const xmlChar *targetNamespace;
883 const xmlChar *localName;
884 const xmlChar *nsName;
885 const xmlChar *value;
902 const xmlChar **nsBindings; /* Namespace bindings on this element */
942 const xmlChar *localName;
943 const xmlChar *nsName;
944 const xmlChar *value;
953 const xmlChar *vcValue; /* the value constraint value */
1060 static const xmlChar *
1076 static const xmlChar *
1111 static const xmlChar *
1167 static const xmlChar *
1286 static const xmlChar*
1287 xmlSchemaFormatQName(xmlChar **buf,
1288 const xmlChar *namespaceName,
1289 const xmlChar *localName)
1304 return ((const xmlChar *) *buf);
1307 static const xmlChar*
1308 xmlSchemaFormatQNameNs(xmlChar **buf, xmlNsPtr ns, const xmlChar *localName)
1316 static const xmlChar *
1358 static const xmlChar *
1364 static const xmlChar *
1371 static const xmlChar *
1412 static const xmlChar*
1413 xmlSchemaGetComponentQName(xmlChar **buf,
1421 static const xmlChar*
1422 xmlSchemaGetComponentDesignation(xmlChar **buf, void *item)
1424 xmlChar *str = NULL;
1435 static const xmlChar*
1436 xmlSchemaGetIDCDesignation(xmlChar **buf, xmlSchemaIDCPtr idc)
1448 static const xmlChar *
1478 xmlChar **retValue)
1482 const xmlChar *value, *value2 = NULL;
1509 xmlFree((xmlChar *) value2);
1522 *retValue = xmlStrcat((xmlChar *) *retValue, BAD_CAST " ");
1523 *retValue = xmlStrcat((xmlChar *) *retValue, value);
1532 xmlFree((xmlChar *) (*retValue));
1534 xmlFree((xmlChar *) value2);
1564 static xmlChar*
1565 xmlSchemaFormatItemForReport(xmlChar **buf,
1566 const xmlChar *itemDes,
1570 xmlChar *str = NULL;
1779 static const xmlChar *
1781 xmlChar **buf, xmlSchemaTypePtr type)
1785 xmlChar *value = NULL;
1819 xmlFree((xmlChar *)value);
1834 return ((const xmlChar *) *buf);
1889 const char *msg, const xmlChar * str1, const xmlChar * str2)
1923 const char *msg, const xmlChar * str1, const xmlChar * str2)
1951 const xmlChar * strData1, const xmlChar * strData2,
1952 const xmlChar * strData3, const char *msg, const xmlChar * str1,
1953 const xmlChar * str2, const xmlChar * str3, const xmlChar * str4,
1954 const xmlChar * str5)
2002 const char *msg, const xmlChar *str)
2026 const xmlChar *str1, const xmlChar *str2,
2027 const xmlChar *str3, const xmlChar *str4)
2124 const xmlChar *str1, const xmlChar *str2, const xmlChar *str3)
2133 const xmlChar *str1, const xmlChar *str2,
2134 const xmlChar *str3, const xmlChar *str4)
2143 const xmlChar *str1, const xmlChar *str2)
2148 static xmlChar *
2149 xmlSchemaFormatNodeForError(xmlChar ** msg,
2153 xmlChar *str = NULL;
2248 const xmlChar *str1,
2249 const xmlChar *str2)
2251 xmlChar *msg = NULL;
2285 const xmlChar *str1,
2286 const xmlChar *str2)
2299 const xmlChar *str1, const xmlChar *str2,
2300 const xmlChar *str3, const xmlChar *str4)
2302 xmlChar *msg = NULL;
2311 msg = xmlStrcat(msg, (const xmlChar *) message);
2324 const xmlChar *str1,
2325 const xmlChar *str2)
2339 const xmlChar *str1,
2340 const xmlChar *str2,
2341 const xmlChar *str3)
2343 xmlChar *msg = NULL;
2346 msg = xmlStrcat(msg, (const xmlChar *) message);
2364 const xmlChar *str1,
2365 const xmlChar *str2)
2367 xmlChar *msg = NULL, *qname = NULL;
2370 msg = xmlStrcat(msg, (const xmlChar *) message);
2426 const xmlChar *value,
2430 xmlChar *msg = NULL;
2454 xmlChar *str = NULL;
2475 static const xmlChar *
2476 xmlSchemaFormatErrorNodeQName(xmlChar ** str,
2496 xmlChar *msg = NULL, *str = NULL;
2515 xmlChar **values)
2517 xmlChar *str = NULL, *msg = NULL;
2518 xmlChar *localName, *nsName;
2519 const xmlChar *cur, *end;
2523 msg = xmlStrcat(msg, (const xmlChar *) message);
2611 const xmlChar *value,
2616 const xmlChar *str1,
2617 const xmlChar *str2)
2619 xmlChar *str = NULL, *msg = NULL;
2669 value, (const xmlChar *) actLen, (const xmlChar *) len);
2672 (const xmlChar *) actLen, (const xmlChar *) len);
2722 msg = xmlStrcat(msg, (const xmlChar *) message);
2761 xmlChar *des = NULL;
2796 const xmlChar *refName,
2797 const xmlChar *refURI,
2801 xmlChar *des = NULL, *strA = NULL;
2829 xmlChar **ownerDes,
2834 xmlChar *des = NULL;
2846 BAD_CAST des, (const xmlChar *) "Unknown",
2847 (const xmlChar *) msg, NULL, NULL);
2851 BAD_CAST des, attr->name, (const xmlChar *) msg, NULL, NULL);
2873 xmlChar *strA = NULL, *strB = NULL;
2904 const xmlChar *str1,
2905 const xmlChar *str2,
2906 const xmlChar *str3)
2908 xmlChar *des = NULL, *msg = NULL;
2912 msg = xmlStrcat(msg, (const xmlChar *) message);
2940 const xmlChar *str1)
2966 const xmlChar *str1, const xmlChar *str2,
2967 const xmlChar *str3,const xmlChar *str4)
2969 xmlChar *str = NULL, *msg = NULL;
2978 msg = xmlStrcat(msg, (const xmlChar *) message);
3002 xmlChar *des = NULL, *strT = NULL;
3031 xmlChar *des = NULL;
3059 xmlChar *des = NULL;
3088 const xmlChar *value,
3090 const xmlChar *str1,
3091 const xmlChar *str2)
3093 xmlChar *msg = NULL;
3119 xmlChar *str = NULL;
3180 xmlChar *des = NULL;
3527 int type, const xmlChar *targetNamespace)
4075 (const xmlChar *) WXS_ITEM_TYPE_NAME(item));
4157 const xmlChar * name ATTRIBUTE_UNUSED,
4158 const xmlChar * namespace ATTRIBUTE_UNUSED,
4159 const xmlChar * context ATTRIBUTE_UNUSED)
4243 xmlChar *content;
4267 xmlChar *str = NULL;
4343 const xmlChar *name, *tns;
4344 xmlChar *str = NULL;
4518 const xmlChar *namespaceName,
4519 const xmlChar *localName,
4522 xmlChar *str = NULL;
4523 const xmlChar *value;
4649 static const xmlChar *
4652 xmlChar *val;
4653 const xmlChar *ret;
4657 val = xmlStrdup((xmlChar *)"");
4663 static const xmlChar *
4666 return((const xmlChar*) xmlNodeGetContent(node));
4679 static const xmlChar *
4683 xmlChar *val;
4684 const xmlChar *ret;
4728 xmlSchemaGetElem(xmlSchemaPtr schema, const xmlChar * name,
4729 const xmlChar * nsName)
4762 xmlSchemaGetType(xmlSchemaPtr schema, const xmlChar * name,
4763 const xmlChar * nsName)
4809 xmlSchemaGetAttributeDecl(xmlSchemaPtr schema, const xmlChar * name,
4810 const xmlChar * nsName)
4843 xmlSchemaGetAttributeGroup(xmlSchemaPtr schema, const xmlChar * name,
4844 const xmlChar * nsName)
4883 xmlSchemaGetGroup(xmlSchemaPtr schema, const xmlChar * name,
4884 const xmlChar * nsName)
4909 const xmlChar *name,
4910 const xmlChar *nsName)
4925 const xmlChar *name,
4926 const xmlChar *nsName)
4952 const xmlChar *name,
4953 const xmlChar *targetNs)
4987 xmlSchemaIsBlank(xmlChar * str, int len)
5016 const xmlChar *name,
5017 const xmlChar *nsName)
5107 const xmlChar *name, const xmlChar *nsName,
5144 const xmlChar * name, const xmlChar * nsName,
5215 const xmlChar *refName,
5216 const xmlChar *refTargetNs)
5256 const xmlChar *name,
5257 const xmlChar *nsName,
5307 const xmlChar * name, const xmlChar * nsName,
5349 const xmlChar * name, const xmlChar * nsName,
5387 const xmlChar *refName,
5388 const xmlChar *refNs)
5534 const xmlChar *name,
5535 const xmlChar *nsName,
5595 const xmlChar *name, const xmlChar *nsName,
5773 const xmlChar *value,
5774 const xmlChar **uri,
5775 const xmlChar **local)
5777 const xmlChar *pref;
5854 const xmlChar **uri,
5855 const xmlChar **local)
5857 const xmlChar *value;
5886 const xmlChar **uri,
5887 const xmlChar **local)
5919 const xmlChar *value;
5931 xmlChar *strip;
5939 xmlFree((xmlChar *) value);
5965 xmlFree((xmlChar *)value);
5973 const xmlChar *name)
5997 const xmlChar *val, *cur;
6006 if (xmlStrEqual(val, (const xmlChar *) "unbounded")) {
6062 const xmlChar *val, *cur;
6117 xmlChar *value = NULL;
6164 const xmlChar *val;
6246 const xmlChar *value,
6320 const xmlChar **value)
6322 const xmlChar *val;
6360 const xmlChar **value)
6394 const xmlChar *namespaceName)
6616 const xmlChar *value;
6668 const xmlChar *fixed;
6709 const xmlChar *pc, *ns, *dictnsItem;
6711 xmlChar *nsItem;
6717 || (xmlStrEqual(pc, (const xmlChar *) "strict"))) {
6719 } else if (xmlStrEqual(pc, (const xmlChar *) "skip")) {
6721 } else if (xmlStrEqual(pc, (const xmlChar *) "lax")) {
6746 const xmlChar *end, *cur;
6966 const xmlChar *name;
7087 const xmlChar *attrValue, *name = NULL, *ns = NULL;
7091 const xmlChar *tmpNs = NULL, *tmpName = NULL, *defValue = NULL;
7391 xmlChar *str = NULL;
7477 const xmlChar *attrValue;
7633 const xmlChar *refNs = NULL, *ref = NULL;
7706 xmlChar *str = NULL;
7761 const xmlChar *name;
7852 xmlSchemaPValAttrFormDefault(const xmlChar *value,
7883 xmlSchemaPValAttrBlockFinal(const xmlChar *value,
7917 const xmlChar *end, *cur = value;
7918 xmlChar *item;
8005 const xmlChar **nsArray = NULL;
8028 nsArray = (const xmlChar **) xmlMalloc(
8029 (count * 2 + 1) * sizeof(const xmlChar *));
8053 xmlFree((xmlChar **) nsArray);
8289 const xmlChar *targetNamespace)
8294 const xmlChar *name = NULL;
8444 xmlChar *des = NULL;
8495 const xmlChar *refNs = NULL, *ref = NULL;
8572 const xmlChar *ns = NULL, *fixed, *name, *attrValue;
8839 const xmlChar *cur = NULL;
8878 const xmlChar *end;
8879 xmlChar *tmp;
8880 const xmlChar *localName, *nsName;
9118 const xmlChar *attrValue = NULL;
9179 xmlDictLookup(ctxt->dict, (const xmlChar *)buf, -1),
9334 const xmlChar *ref = NULL, *refNs = NULL;
9436 const xmlChar *name;
9615 const xmlChar *val;
9962 ret->URL = xmlDictLookup(dict, (const xmlChar *) URL, -1);
10001 const xmlChar *schemaLocation)
10023 const xmlChar *schemaLocation,
10024 const xmlChar *targetNamespace)
10052 const xmlChar *targetNamespace,
10217 static const xmlChar *
10218 xmlSchemaBuildAbsoluteURI(xmlDictPtr dict, const xmlChar* location,
10228 xmlChar *base, *URI;
10229 const xmlChar *ret = NULL;
10265 const xmlChar *schemaLocation,
10270 const xmlChar *sourceTargetNamespace,
10271 const xmlChar *importNamespace,
10274 const xmlChar *targetNamespace = NULL;
10679 const xmlChar *namespaceName = NULL, *schemaLocation = NULL;
10680 const xmlChar *thisTargetNamespace;
10825 xmlChar **schemaLocation,
10863 xmlChar *base = NULL;
10864 xmlChar *uri = NULL;
10868 (const xmlChar **) schemaLocation) != 0)
10882 (*schemaLocation) = (xmlChar *) xmlDictLookup(pctxt->dict, uri, -1);
10924 const xmlChar *schemaLocation = NULL;
10937 node, (xmlChar **) (&schemaLocation), type);
11353 xmlChar *str = NULL;
11369 xmlChar *str = NULL;
11508 xmlChar *str1 = NULL, *str2 = NULL;
12074 const xmlChar *name = NULL;
12076 const xmlChar *attrValue;
12108 xmlDictLookup(ctxt->dict, (const xmlChar *)buf, -1),
12425 ret->URL = xmlDictLookup(ret->dict, (const xmlChar *) URL, -1);
13206 const xmlChar *name, *nsName;
13749 const xmlChar *neg;
13932 const xmlChar **value,
13971 const xmlChar* ns)
13998 ((a) == XML_SCHEMA_ACTION_DERIVE) ? (const xmlChar *) "base" : (const xmlChar *) "redefined"
14023 const xmlChar *bEffValue;
14050 xmlChar *str = NULL;
14071 xmlChar *strA = NULL, *strB = NULL, *strC = NULL;
14114 const xmlChar *rEffValue = NULL;
14128 xmlChar *str = NULL;
14161 xmlChar *str = NULL;
14204 xmlChar *strA = NULL, *strB = NULL;
14229 xmlChar *str = NULL;
14248 xmlChar *str = NULL;
14276 xmlChar *str = NULL;
15057 xmlChar *str = NULL;
15160 xmlChar *str = NULL;
15373 xmlChar *strBIT = NULL, *strBT = NULL;
15553 xmlChar *strBMT = NULL, *strBT = NULL;
15682 const xmlChar *value,
15708 const xmlChar *value,
15845 xmlChar *str = NULL;
15874 xmlChar *str = NULL;
16098 xmlChar *str = NULL;
16130 xmlChar *str = NULL;
16143 xmlChar *str = NULL;
16365 xmlChar *strA = NULL, *strB = NULL;
16525 xmlChar *str = NULL;
16546 xmlChar *str = NULL;
16597 xmlChar *str = NULL;
16620 xmlChar *str = NULL;
17083 xmlChar *msg = NULL;
18092 const xmlChar *tmpname;
18533 const xmlChar * name ATTRIBUTE_UNUSED)
18622 xmlChar *str = NULL;
18742 const xmlChar *name = typeDecl->name;
18858 xmlChar *str = NULL;
19017 xmlChar *str = NULL;
19190 xmlChar *str = NULL;
19288 xmlChar *str = NULL;
19318 xmlChar *str = NULL;
19526 xmlChar *strA = NULL, *strB = NULL;
19565 xmlChar *strA = NULL, *strB = NULL, *strC = NULL;
19826 xmlChar *strA = NULL, *strB = NULL;
20299 xmlChar *str = NULL;
20381 xmlChar *str = NULL;
20499 xmlChar *str = NULL;
20609 const xmlChar *name;
20692 xmlChar *str = NULL;
21388 static const xmlChar *
21496 const xmlChar *nsName,
21497 const xmlChar *location)
21633 const xmlChar *cur, *end;
21634 const xmlChar *nsname = NULL, *location;
21711 static const xmlChar *
21713 const xmlChar *prefix)
21740 xmlChar *nsName;
21744 const xmlChar *ret;
21776 const xmlChar *value,
21791 xmlChar *localName = NULL;
21792 xmlChar *prefix = NULL;
21796 const xmlChar *nsName = NULL;
21842 const xmlChar* lname,
21843 const xmlChar* nsname)
22373 xmlChar *str = NULL;
22493 static const xmlChar *
22495 xmlChar **buf,
22500 xmlChar *value = NULL;
22581 xmlChar *str = NULL;
22639 xmlChar *str = NULL;
22743 xmlChar *str = NULL;
22922 xmlChar *str = NULL, *strB = NULL;
23003 xmlChar *str = NULL;
23084 xmlChar *str = NULL;
23758 xmlChar *str = NULL, *strB = NULL;
23777 xmlChar *str = NULL, *strB = NULL;
23858 const xmlChar *localName,
23859 const xmlChar *nsName,
23861 xmlChar *value,
23965 xmlFree((xmlChar **)ielem->nsBindings);
24054 const xmlChar * value,
24284 static xmlChar *
24286 const xmlChar *value)
24300 const xmlChar *value,
24305 const xmlChar *nsName;
24306 xmlChar *local, *prefix = NULL;
24368 const xmlChar *value,
24377 xmlChar *normValue = NULL;
24529 const xmlChar *cur, *end;
24530 xmlChar *tmpValue = NULL;
24708 xmlChar *value,
24709 const xmlChar **nsName,
24710 const xmlChar **localName)
24729 xmlChar *local = NULL;
24730 xmlChar *prefix;
24785 const xmlChar *nsName = NULL, *local = NULL;
24812 xmlChar *str = NULL;
24870 xmlChar *str = NULL;
25066 xmlFree((xmlChar *) attr->localName);
25068 xmlFree((xmlChar *) attr->nsName);
25072 xmlFree((xmlChar *) attr->value);
25400 iattr->value = (xmlChar *) iattr->use->defValue;
25403 iattr->value = (xmlChar *) iattr->decl->defValue;
25430 xmlChar *normValue;
25431 const xmlChar *value;
25457 xmlChar prefix[12];
25642 xmlChar *str = NULL;
25781 const xmlChar *value,
25845 const xmlChar * name ATTRIBUTE_UNUSED,
25852 xmlChar *str = NULL;
25888 const xmlChar *value)
25944 xmlChar *values[10];
26109 xmlChar *normValue;
26459 xmlChar *values[10];
26587 int nodeType, const xmlChar *value, int len,
26628 (! xmlSchemaIsBlank((xmlChar *) value, len))) {
26702 (xmlChar *) vctxt->inode->value, value, len);
26964 (const xmlChar *) xmlTextReaderLocalName(vctxt->reader),
27054 xmlChar *value;
27100 const xmlChar * ch,
27125 const xmlChar * ch,
27147 const xmlChar * name ATTRIBUTE_UNUSED)
27161 const xmlChar * localname,
27162 const xmlChar * prefix ATTRIBUTE_UNUSED,
27163 const xmlChar * URI,
27165 const xmlChar ** namespaces,
27168 const xmlChar ** attributes)
27214 (const xmlChar **) xmlMalloc(10 *
27215 sizeof(const xmlChar *));
27227 (const xmlChar **) xmlRealloc(
27229 ielem->sizeNsBindings * 2 * sizeof(const xmlChar *));
27256 xmlChar *value;
27300 const xmlChar * localname ATTRIBUTE_UNUSED,
27301 const xmlChar * prefix ATTRIBUTE_UNUSED,
27302 const xmlChar * URI ATTRIBUTE_UNUSED)
27713 const xmlChar *nsName;
28069 internalSubsetSplit(void *ctx, const xmlChar *name,
28070 const xmlChar *ExternalID, const xmlChar *SystemID)
28110 externalSubsetSplit(void *ctx, const xmlChar *name,
28111 const xmlChar *ExternalID, const xmlChar *SystemID)
28121 resolveEntitySplit(void *ctx, const xmlChar *publicId, const xmlChar *systemId)
28132 getEntitySplit(void *ctx, const xmlChar *name)
28142 getParameterEntitySplit(void *ctx, const xmlChar *name)
28153 entityDeclSplit(void *ctx, const xmlChar *name, int type,
28154 const xmlChar *publicId, const xmlChar *systemId, xmlChar *content)
28164 attributeDeclSplit(void *ctx, const xmlChar * elem,
28165 const xmlChar * name, int type, int def,
28166 const xmlChar * defaultValue, xmlEnumerationPtr tree)
28179 elementDeclSplit(void *ctx, const xmlChar *name, int type,
28189 notationDeclSplit(void *ctx, const xmlChar *name,
28190 const xmlChar *publicId, const xmlChar *systemId)
28200 unparsedEntityDeclSplit(void *ctx, const xmlChar *name,
28201 const xmlChar *publicId, const xmlChar *systemId,
28202 const xmlChar *notationName)
28239 processingInstructionSplit(void *ctx, const xmlChar *target,
28240 const xmlChar *data)
28249 commentSplit(void *ctx, const xmlChar *value)
28291 charactersSplit(void *ctx, const xmlChar *ch, int len)
28303 ignorableWhitespaceSplit(void *ctx, const xmlChar *ch, int len)
28316 cdataBlockSplit(void *ctx, const xmlChar *value, int len)
28329 referenceSplit(void *ctx, const xmlChar *name)
28342 startElementNsSplit(void *ctx, const xmlChar * localname,
28343 const xmlChar * prefix, const xmlChar * URI,
28344 int nb_namespaces, const xmlChar ** namespaces,
28346 const xmlChar ** attributes) {
28364 endElementNsSplit(void *ctx, const xmlChar * localname,
28365 const xmlChar * prefix, const xmlChar * URI) {