[xsd-users] error while using "xsd cxx-tree"
sharda saiwan
shardasaiwan at gmail.com
Wed Feb 11 00:55:50 EST 2009
hello all,
i am trying to create the c++ library from my xml schema file.
i used the command "./bin/xsd cxx-tree lfb.xsd" for the c++ binding, but
got the following errors:
[sharda at cmj-cnie-sharda xsd-3.2.0-i686-linux-gnu]$ ./bin/xsd cxx-parser
lfb.xsd
lfb.xsd:184:61: warning F001: element 'optional' is implicitly of anyType
lfb.xsd:184:61: info: did you forget to specify 'type' attribute?
lfb.xsd:419:61: warning F001: element 'optional' is implicitly of anyType
lfb.xsd:419:61: info: did you forget to specify 'type' attribute?
lfb.xsd:453:61: warning F001: element 'optional' is implicitly of anyType
lfb.xsd:453:61: info: did you forget to specify 'type' attribute?
lfb.xsd:484:59: warning F001: element 'eventCondition' is implicitly of
anyType
lfb.xsd:484:59: info: did you forget to specify 'type' attribute?
lfb.xsd:486:55: warning F001: element 'eventCreated' is implicitly of
anyType
lfb.xsd:486:55: info: did you forget to specify 'type' attribute?
lfb.xsd:488:55: warning F001: element 'eventDeleted' is implicitly of
anyType
lfb.xsd:488:55: info: did you forget to specify 'type' attribute?
lfb.xsd:490:55: warning F001: element 'eventChanged' is implicitly of
anyType
lfb.xsd:490:55: info: did you forget to specify 'type' attribute?
lfb.xsd:492:55: warning F001: element 'eventGreaterThan' is implicitly of
anyType
lfb.xsd:492:55: info: did you forget to specify 'type' attribute?
lfb.xsd:494:55: warning F001: element 'eventLessThan' is implicitly of
anyType
lfb.xsd:494:55: info: did you forget to specify 'type' attribute?
lfb.xsd:486:55: warning B101: substitution groups are used but
--generate-polymorphic was not specified
lfb.xsd:486:55: info: generated code may not be able to parse some
conforming instances
lfb.xsd:7:39: error: unable to map XML Schema namespace
'urn:ietf:params:xml:ns:forces:lfbmodel:1.0' to C++ namespace
lfb.xsd:7:39: info: use the --namespace-map or --namespace-regex option to
provide custom mapping
what does these errors mean?
As i am new to CodeSynthesis XSD, i dont understand how to solve these
errors.
plsssss help!!
More information about the xsd-users
mailing list