[xsd-users] xsd tree - Error while integrating hxx into c++ file.
Sampada Patil
sampada.patil1 at gmail.com
Mon Dec 5 10:09:24 EST 2011
Hi,
I am new to xsd tree. I could able to create cxx, hxx files from xsd. But
when i try to integrate it into c++ file i am getting following errors in
.hxx file-
error C2143: syntax error : missing '}' before 'string'
error C2143: syntax error : missing ';' before '}'
error C2238: unexpected token(s) preceding ';'
error C2146: syntax error : missing ')' before identifier 'v'
error C2146: syntax error : missing ';' before identifier 'v'
error C2059: syntax error : ')'
error C4430: missing type specifier - int assumed. Note: C++ does not
support default-int
error C2062: type 'const char' unexpected
error C2226: syntax error : unexpected type 'std::string'
error C2226: syntax error : unexpected type 'xml_schema::string'
error C2226: syntax error : unexpected type 'xercesc_3_1::DOMElement'
error C2226: syntax error : unexpected type 'xercesc_3_1::DOMAttr'
error C2226: syntax error : unexpected type 'std::string'
error C2226: syntax error : unexpected type 'edf::Flight::BookingInfoGTEnum'
error C2270: '_clone' : modifiers not allowed on nonmember functions
error C2146: syntax error : missing ')' before identifier 'v'
error C2059: syntax error : ')'
error C2833: 'operator value' is not a recognized operator or type
warning C4091: 'virtual ' : ignored on left of 'int' when no variable is
declared
error C2143: syntax error : missing ';' before 'newline'
error C2059: syntax error : 'newline'
error C2143: syntax error : missing ';' before '{'
error C2447: '{' : missing function header (old-style formal list?)
error C2059: syntax error : 'protected'
error C2146: syntax error : missing ';' before identifier
'_xsd_BookingInfoGTEnum_convert'
error C4430: missing type specifier - int assumed. Note: C++ does not
support default-int
error C2371: 'edf::Flight::value' : redefinition; different basic types
1422) : see declaration of 'edf::Flight::value'
error C2270: '_xsd_BookingInfoGTEnum_convert' : modifiers not allowed on
nonmember functions
error C4430: missing type specifier - int assumed. Note: C++ does not
support default-int
error C2059: syntax error : 'public'
error C4430: missing type specifier - int assumed. Note: C++ does not
support default-int
error C2146: syntax error : missing ';' before identifier
'_xsd_BookingInfoGTEnum_indexes_'
error C2373: 'edf::Flight::value' : redefinition; different type modifiers
1422) : see declaration of 'edf::Flight::value'
error C4430: missing type specifier - int assumed. Note: C++ does not
support default-int
error C2143: syntax error : missing '}' before ','
error C2059: syntax error : ','
error C2143: syntax error : missing ';' before '}'
error C2238: unexpected token(s) preceding ';'
error C2146: syntax error : missing ')' before identifier 'v'
error C2146: syntax error : missing ';' before identifier 'v'
error C2059: syntax error : ')'
error C4430: missing type specifier - int assumed. Note: C++ does not
support default-int
error C2062: type 'const char' unexpected
error C2226: syntax error : unexpected type 'std::string'
error C2226: syntax error : unexpected type 'xml_schema::string'
error C2226: syntax error : unexpected type 'xercesc_3_1::DOMElement'
error C2226: syntax error : unexpected type 'xercesc_3_1::DOMAttr'
error C2226: syntax error : unexpected type 'std::string'
error C2226: syntax error : unexpected type 'edf::ExtraGlobalTypeEnum'
error C2270: '_clone' : modifiers not allowed on nonmember functions
error C2146: syntax error : missing ')' before identifier 'v'
error C2059: syntax error : ')'
error C2833: 'operator value' is not a recognized operator or type
warning C4091: 'virtual ' : ignored on left of 'int' when no variable is
declared
error C2143: syntax error : missing ';' before 'newline'
error C2059: syntax error : 'newline'
error C2143: syntax error : missing ';' before '{'
error C2447: '{' : missing function header (old-style formal list?)
error C2059: syntax error : 'protected'
error C2146: syntax error : missing ';' before identifier
'_xsd_ExtraGlobalTypeEnum_convert'
error C4430: missing type specifier - int assumed. Note: C++ does not
support default-int
error C2371: 'edf::value' : redefinition; different basic types
1752) : see declaration of 'edf::value'
error C2270: '_xsd_ExtraGlobalTypeEnum_convert' : modifiers not allowed on
nonmember functions
error C4430: missing type specifier - int assumed. Note: C++ does not
support default-int
error C2059: syntax error : 'public'
error C4430: missing type specifier - int assumed. Note: C++ does not
support default-int
error C2146: syntax error : missing ';' before identifier
'_xsd_ExtraGlobalTypeEnum_indexes_'
error C2373: 'edf::value' : redefinition; different type modifiers
1752) : see declaration of 'edf::value'
error C4430: missing type specifier - int assumed. Note: C++ does not
support default-int
error C2504: 'edf::Flight::PersonTypeEnum' : base class undefined
error C2027: use of undefined type 'edf::Flight::PersonTypeEnum'
256) : see declaration of 'edf::Flight::PersonTypeEnum'
error C2146: syntax error : missing ';' before identifier 'value'
error C4430: missing type specifier - int assumed. Note: C++ does not
support default-int
error C2602: 'PersonType::value' is not a member of a base class of
'PersonType'
3626) : see declaration of 'PersonType::value'
3623) : see declaration of 'PersonType'
error C2868: 'PersonType::value' : illegal syntax for using-declaration;
expected qualified-name
error C2059: syntax error : '}'
error C2143: syntax error : missing ';' before '}'
error C2059: syntax error : '}'
error C2143: syntax error : missing ';' before '}'
error C2059: syntax error : '}'
error C2143: syntax error : missing ';' before '{'
error C2447: '{' : missing function header (old-style formal list?)
Can you please tell me, what wrong i am doing here?
Thanks and regards,
Sampada
More information about the xsd-users
mailing list