Re: Re: [xml] about the xmllib's shema
- From: "warmice" <news_list sina com>
- To: Igor Zlatkovic <igor stud fh-frankfurt de>, xml gnome org <xml gnome org>
- Subject: Re: Re: [xml] about the xmllib's shema
- Date: Mon, 28 Oct 2002 16:49:16 +0800
hi,there
first, if i changed nothing,after i compiled the lib,i can't use the API defined in the schemas.h. the
compiler told me the API undefined.the output is:
K:\trylib\test\main.cpp(18) : error C2065: 'xmlSchemaNewParserCtxt' : undeclared identifier
K:\trylib\test\main.cpp(39) : warning C4508: 'main' : function should return a value; 'void' return type
assumed
but i think i include the schemas.h before i invoke this API. and i can find the API definition
in the schema.h. so i think the problem is LIBXML_SCHEMAS_ENABLED macro.
it wasn't defined at all.so the compiler ignore all of the definition of the API in the xmlschemas.h.
and then i define the LIBXML_SCHEMAS_ENABLED in the visual stdio as a global macro.
compile it again. following is the error message:
.\..\include\libxml/schemasInternals.h(210) : error C2061: syntax error : identifier 'xmlRegexpPtr'
.\..\include\libxml/schemasInternals.h(212) : error C2059: syntax error : '}'
.\..\include\libxml/schemasInternals.h(233) : error C2061: syntax error : identifier 'xmlRegexpPtr'
.\..\include\libxml/schemasInternals.h(234) : error C2059: syntax error : '}'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(77) : error C2061: syntax error : identifier
'xmlAutomataPtr'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(78) : error C2061: syntax error : identifier 'start'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(78) : error C2059: syntax error : ';'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(79) : error C2061: syntax error : identifier 'end'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(79) : error C2059: syntax error : ';'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(80) : error C2061: syntax error : identifier 'state'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(80) : error C2059: syntax error : ';'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(81) : error C2059: syntax error : '}'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(118) : error C2061: syntax error : identifier
'xmlRegExecCtxtPtr'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(125) : error C2059: syntax error : '}'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(158) : error C2037: left of 'error' specifies
undefined struct/union '_xmlSchemaParserCtxt'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(159) : error C2037: left of 'error' specifies
undefined struct/union '_xmlSchemaParserCtxt'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(159) : error C2037: left of 'userData' specifies
undefined struct/union '_xmlSchemaParserCtxt'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(180) : error C2027: use of undefined type
'_xmlSchemaFacet'
..\..\include\libxml/schemasInternals.h(223) : see declaration of '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(182) : error C2037: left of 'error' specifies
undefined struct/union '_xmlSchemaParserCtxt'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(183) : error C2037: left of 'error' specifies
undefined struct/union '_xmlSchemaParserCtxt'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(183) : error C2037: left of 'userData' specifies
undefined struct/union '_xmlSchemaParserCtxt'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(186) : error C2027: use of undefined type
'_xmlSchemaFacet'
..\..\include\libxml/schemasInternals.h(223) : see declaration of '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(207) : error C2037: left of 'error' specifies
undefined struct/union '_xmlSchemaParserCtxt'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(208) : error C2037: left of 'error' specifies
undefined struct/union '_xmlSchemaParserCtxt'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(208) : error C2037: left of 'userData' specifies
undefined struct/union '_xmlSchemaParserCtxt'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(297) : error C2037: left of 'name' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(298) : error C2037: left of 'name' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(298) : error C2198: 'xmlFree' : too few actual
parameters
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(299) : error C2037: left of 'namedType' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(300) : error C2037: left of 'namedType' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(300) : error C2198: 'xmlFree' : too few actual
parameters
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(301) : error C2037: left of 'namedTypeNs' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(302) : error C2037: left of 'namedTypeNs' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(302) : error C2198: 'xmlFree' : too few actual
parameters
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(303) : error C2037: left of 'ref' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(304) : error C2037: left of 'ref' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(304) : error C2198: 'xmlFree' : too few actual
parameters
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(305) : error C2037: left of 'refNs' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(306) : error C2037: left of 'refNs' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(306) : error C2198: 'xmlFree' : too few actual
parameters
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(307) : error C2037: left of 'annot' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(308) : error C2037: left of 'annot' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(308) : error C2198: 'xmlSchemaFreeAnnot' : too few
actual parameters
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(309) : error C2037: left of 'contModel' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(310) : warning C4013: 'xmlRegFreeRegexp' undefined;
assuming extern returning int
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(310) : error C2037: left of 'contModel' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(325) : error C2037: left of 'value' specifies
undefined struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(326) : error C2037: left of 'value' specifies
undefined struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(326) : error C2198: 'xmlFree' : too few actual
parameters
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(327) : error C2037: left of 'id' specifies undefined
struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(328) : error C2037: left of 'id' specifies undefined
struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(328) : error C2198: 'xmlFree' : too few actual
parameters
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(329) : error C2037: left of 'val' specifies
undefined struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(330) : error C2037: left of 'val' specifies
undefined struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(330) : error C2198: 'xmlSchemaFreeValue' : too few
actual parameters
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(331) : error C2037: left of 'regexp' specifies
undefined struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(332) : error C2037: left of 'regexp' specifies
undefined struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(333) : error C2037: left of 'annot' specifies
undefined struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(334) : error C2037: left of 'annot' specifies
undefined struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(334) : error C2198: 'xmlSchemaFreeAnnot' : too few
actual parameters
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(362) : error C2037: left of 'next' specifies
undefined struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(431) : error C2037: left of 'error' specifies
undefined struct/union '_xmlSchemaParserCtxt'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(469) : error C2037: left of 'error' specifies
undefined struct/union '_xmlSchemaParserCtxt'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(469) : error C2037: left of 'userData' specifies
undefined struct/union '_xmlSchemaParserCtxt'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(472) : error C2037: left of 'error' specifies
undefined struct/union '_xmlSchemaParserCtxt'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(472) : error C2037: left of 'userData' specifies
undefined struct/union '_xmlSchemaParserCtxt'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(475) : error C2037: left of 'error' specifies
undefined struct/union '_xmlSchemaParserCtxt'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(475) : error C2037: left of 'userData' specifies
undefined struct/union '_xmlSchemaParserCtxt'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(477) : error C2037: left of 'error' specifies
undefined struct/union '_xmlSchemaParserCtxt'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(477) : error C2037: left of 'userData' specifies
undefined struct/union '_xmlSchemaParserCtxt'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(479) : error C2037: left of 'error' specifies
undefined struct/union '_xmlSchemaParserCtxt'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(479) : error C2037: left of 'userData' specifies
undefined struct/union '_xmlSchemaParserCtxt'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(481) : error C2037: left of 'error' specifies
undefined struct/union '_xmlSchemaParserCtxt'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(481) : error C2037: left of 'userData' specifies
undefined struct/union '_xmlSchemaParserCtxt'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(507) : error C2037: left of 'flags' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(509) : error C2037: left of 'name' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(513) : error C2037: left of 'flags' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(515) : error C2037: left of 'flags' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(517) : error C2037: left of 'flags' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(519) : error C2037: left of 'flags' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(521) : error C2037: left of 'flags' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(523) : error C2037: left of 'flags' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(524) : error C2037: left of 'ref' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(525) : error C2037: left of 'id' specifies undefined
struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(526) : error C2037: left of 'id' specifies undefined
struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(528) : error C2037: left of 'minOccurs' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(528) : error C2037: left of 'maxOccurs' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(530) : error C2037: left of 'minOccurs' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(531) : error C2037: left of 'minOccurs' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(532) : error C2037: left of 'maxOccurs' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(534) : error C2037: left of 'maxOccurs' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(535) : error C2037: left of 'maxOccurs' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(539) : error C2037: left of 'namedType' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(540) : error C2037: left of 'namedType' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(541) : error C2037: left of 'namedTypeNs' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(542) : error C2037: left of 'namedTypeNs' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(546) : error C2037: left of 'substGroup' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(547) : error C2037: left of 'substGroup' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(548) : error C2037: left of 'substGroupNs' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(549) : error C2037: left of 'substGroupNs' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(553) : error C2037: left of 'value' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(554) : error C2037: left of 'value' specifies
undefined struct/union '_xmlSchemaElement'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemas.c(554) : fatal error C1003: error count exceeds 100;
stopping compilation
xmlschemastypes.c
.\..\include\libxml/schemasInternals.h(210) : error C2061: syntax error : identifier 'xmlRegexpPtr'
.\..\include\libxml/schemasInternals.h(212) : error C2059: syntax error : '}'
.\..\include\libxml/schemasInternals.h(233) : error C2061: syntax error : identifier 'xmlRegexpPtr'
.\..\include\libxml/schemasInternals.h(234) : error C2059: syntax error : '}'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(785) : warning C4018: '<=' : signed/unsigned
mismatch
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(785) : warning C4018: '<=' : signed/unsigned
mismatch
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(801) : warning C4018: '<=' : signed/unsigned
mismatch
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(801) : warning C4018: '<=' : signed/unsigned
mismatch
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1291) : warning C4244: '=' : conversion from
'double ' to 'unsigned int ', possible loss of data
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1292) : warning C4244: '=' : conversion from
'double ' to 'long ', possible loss of data
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1309) : warning C4244: '=' : conversion from
'double ' to 'long ', possible loss of data
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1316) : warning C4244: '=' : conversion from
'double ' to 'unsigned int ', possible loss of data
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1317) : warning C4244: '=' : conversion from
'double ' to 'long ', possible loss of data
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1321) : warning C4244: '=' : conversion from
'double ' to 'unsigned int ', possible loss of data
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1322) : warning C4244: '=' : conversion from
'double ' to 'long ', possible loss of data
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1330) : warning C4018: '>' : signed/unsigned
mismatch
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1341) : warning C4244: 'initializing' :
conversion from 'double ' to 'long ', possible loss of data
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1342) : warning C4244: 'initializing' :
conversion from 'double ' to 'long ', possible loss of data
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1354) : warning C4244: '=' : conversion from
'double ' to 'unsigned int ', possible loss of data
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1355) : warning C4244: '=' : conversion from
'double ' to 'long ', possible loss of data
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1801) : error C2037: left of 'type' specifies
undefined struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1803) : warning C4013: 'xmlRegexpExec'
undefined; assuming extern returning int
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1803) : error C2037: left of 'regexp' specifies
undefined struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1812) : error C2037: left of 'val' specifies
undefined struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1812) : error C2198: 'xmlSchemaCompareValues' :
too few actual parameters
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1822) : error C2037: left of 'val' specifies
undefined struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1822) : error C2198: 'xmlSchemaCompareValues' :
too few actual parameters
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1832) : error C2037: left of 'val' specifies
undefined struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1832) : error C2198: 'xmlSchemaCompareValues' :
too few actual parameters
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1842) : error C2037: left of 'val' specifies
undefined struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1842) : error C2198: 'xmlSchemaCompareValues' :
too few actual parameters
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1855) : error C2037: left of 'val' specifies
undefined struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1856) : error C2037: left of 'val' specifies
undefined struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1857) : error C2037: left of 'val' specifies
undefined struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1860) : error C2037: left of 'val' specifies
undefined struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1863) : error C2037: left of 'val' specifies
undefined struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1870) : error C2037: left of 'value' specifies
undefined struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1871) : error C2037: left of 'value' specifies
undefined struct/union '_xmlSchemaFacet'
K:\trylib\libxml2-2.2.26.tar\libxml2-2.4.26\xmlschemastypes.c(1871) : error C2198: 'xmlStrEqual' : too few
actual parameters
and then i define this macro by myself.
thanks for you reply my question first.
and my problem is :
i got the libxml package. i unziped it and compiled
it in the windows2000 platform.
You compiled it. Aha.
when i used it, i found there wasn't the schema
support. so i checked the schemas.c and i noticed
the #include < win32version.h> and < xmlversion.h> but
they didn't define the ENABLE_SCHEMA macro. i define
this macro by myself but i cann't compile this lib
at all. who can help me!?
Noone can until you tell exactly what the compiler complains about.
Please post the compiler's output, or at least describe it in detail.
Ciao
Igor
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]