quayle / xplus-xsd2cpp Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/xplus-xsd2cpp
License: GNU Lesser General Public License v3.0
Automatically exported from code.google.com/p/xplus-xsd2cpp
License: GNU Lesser General Public License v3.0
What steps will reproduce the problem?
1.xsd2cpp Uplane_BearerShortAnswer.xsd
2.cd Uplane_BearerShortAnswer
3../autogen.sh then make
What is the expected output? What do you see instead?
See compilation errors, it seems that spatialInfo class is not generated
[root@localhost Uplane_BearerShortAnswer]# make
make all-recursive
make[1]: entrant dans le répertoire «
/home/alcatel/essaixsd2cpp/Uplane_BearerShortAnswer »
Making all in src
make[2]: entrant dans le répertoire «
/home/alcatel/essaixsd2cpp/Uplane_BearerShortAnswer/src »
depbase=`echo http_www_dummy_com_embms_uplane/bearerShortAnswer.lo | sed
's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../include -g -O2 -MT http_www_dummy_com_embms_uplane/bearerShortAnswer.lo -MD -MP -MF $depbase.Tpo -c -o http_www_dummy_com_embms_uplane/bearerShortAnswer.lo http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include
-I../include -g -O2 -MT http_www_dummy_com_embms_uplane/bearerShortAnswer.lo
-MD -MP -MF http_www_dummy_com_embms_uplane/.deps/bearerShortAnswer.Tpo -c
http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp -fPIC -DPIC -o
http_www_dummy_com_embms_uplane/.libs/bearerShortAnswer.o
http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp:602: erreur: invalid use
of incomplete type ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
../include/http_www_dummy_com_embms_uplane/bearerShortAnswer.h:55: erreur:
forward declaration of ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp:638: erreur: invalid use
of incomplete type ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
../include/http_www_dummy_com_embms_uplane/bearerShortAnswer.h:55: erreur:
forward declaration of ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp:661: erreur:
‘attr_unicastMode_ptr’ in class
‘http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’ does not
name a type
http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp:682: erreur: invalid use
of incomplete type ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
../include/http_www_dummy_com_embms_uplane/bearerShortAnswer.h:55: erreur:
forward declaration of ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp:688: erreur: invalid use
of incomplete type ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
../include/http_www_dummy_com_embms_uplane/bearerShortAnswer.h:55: erreur:
forward declaration of ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp:695: erreur: invalid use
of incomplete type ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
../include/http_www_dummy_com_embms_uplane/bearerShortAnswer.h:55: erreur:
forward declaration of ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp:701: erreur: invalid use
of incomplete type ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
../include/http_www_dummy_com_embms_uplane/bearerShortAnswer.h:55: erreur:
forward declaration of ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp:708: erreur:
‘attr_unicastMode_p’ in class
‘http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’ does not
name a type
In file included from /usr/local/include/XSD/UrTypes.h:29,
from ../include/http_www_dummy_com_embms_uplane/bearerShortAnswer.h:9,
from http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp:7:
/usr/local/include/XPlus/AutoPtr.h: In constructor
‘XPlus::AutoPtr<C>::AutoPtr() [with C =
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo]’:
http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp:20: instantiated from
here
/usr/local/include/XPlus/AutoPtr.h:88: erreur: invalid use of incomplete type
‘struct http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
../include/http_www_dummy_com_embms_uplane/bearerShortAnswer.h:55: erreur:
forward declaration of ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
/usr/local/include/XPlus/AutoPtr.h: In destructor
‘XPlus::AutoPtr<C>::~AutoPtr() [with C =
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo]’:
http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp:20: instantiated from
here
/usr/local/include/XPlus/AutoPtr.h:114: erreur: invalid use of incomplete type
‘struct http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
../include/http_www_dummy_com_embms_uplane/bearerShortAnswer.h:55: erreur:
forward declaration of ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
In file included from
../include/http_www_dummy_com_embms_uplane/bearerShortAnswer.h:11,
from http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp:7:
/usr/local/include/XSD/TypeDefinitionFactory.h: In function ‘E*
XSD::createElementTmpl(XSD::StructCreateElementThroughFsm&) [with E =
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo, TPtr =
void*]’:
http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp:156: instantiated from
here
/usr/local/include/XSD/TypeDefinitionFactory.h:271: erreur: invalid use of
incomplete type ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
../include/http_www_dummy_com_embms_uplane/bearerShortAnswer.h:55: erreur:
forward declaration of ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
/usr/local/include/XSD/TypeDefinitionFactory.h:272: erreur: invalid use of
incomplete type ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
../include/http_www_dummy_com_embms_uplane/bearerShortAnswer.h:55: erreur:
forward declaration of ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
/usr/local/include/XSD/TypeDefinitionFactory.h:276: erreur: invalid use of
incomplete type ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
../include/http_www_dummy_com_embms_uplane/bearerShortAnswer.h:55: erreur:
forward declaration of ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
/usr/local/include/XSD/TypeDefinitionFactory.h:282: erreur: invalid use of
incomplete type ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
../include/http_www_dummy_com_embms_uplane/bearerShortAnswer.h:55: erreur:
forward declaration of ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp:156: instantiated from
here
/usr/local/include/XSD/TypeDefinitionFactory.h:298: erreur: no matching
function for call to
‘FSM::XsdFsmBase::fsmCreatedNode(http_www_dummy_com_embms_uplane::bearerShortA
nswer::spatialInfo*&)’
/usr/local/include/XSD/XSDFSM.h:190: note: candidats sont: const DOM::Node*
FSM::XsdFsmBase::fsmCreatedNode() const
/usr/local/include/XSD/XSDFSM.h:193: note: void
FSM::XsdFsmBase::fsmCreatedNode(DOM::Node*)
/usr/local/include/XSD/TypeDefinitionFactory.h:302: erreur: cannot dynamic_cast
‘(DOM::Node*)t->XSD::StructCreateElementThroughFsm::fsm->FSM::XsdFsmBase::fsmC
reatedNode()’ (of type ‘class DOM::Node*’) to type ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo*’ (target is
not pointer or reference to complete type)
In file included from /usr/local/include/XSD/UrTypes.h:29,
from ../include/http_www_dummy_com_embms_uplane/bearerShortAnswer.h:9,
from http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp:7:
/usr/local/include/XPlus/AutoPtr.h: In constructor
‘XPlus::AutoPtr<C>::AutoPtr(C*) [with C =
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo]’:
http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp:160: instantiated from
here
/usr/local/include/XPlus/AutoPtr.h:93: erreur: invalid use of incomplete type
‘struct http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
../include/http_www_dummy_com_embms_uplane/bearerShortAnswer.h:55: erreur:
forward declaration of ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
/usr/local/include/XPlus/AutoPtr.h: In copy constructor
‘XPlus::AutoPtr<C>::AutoPtr(const XPlus::AutoPtr<C>&) [with C =
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo]’:
http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp:160: instantiated from
here
/usr/local/include/XPlus/AutoPtr.h:103: erreur: invalid use of incomplete type
‘struct http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
../include/http_www_dummy_com_embms_uplane/bearerShortAnswer.h:55: erreur:
forward declaration of ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
/usr/local/include/XPlus/AutoPtr.h: In member function ‘XPlus::AutoPtr<C>&
XPlus::AutoPtr<C>::assign(C*) [with C =
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo]’:
/usr/local/include/XPlus/AutoPtr.h:164: instantiated from
‘XPlus::AutoPtr<C>& XPlus::AutoPtr<C>::operator=(C*) [with C =
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo]’
http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp:158: instantiated from
here
/usr/local/include/XPlus/AutoPtr.h:121: erreur: invalid use of incomplete type
‘struct http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
../include/http_www_dummy_com_embms_uplane/bearerShortAnswer.h:55: erreur:
forward declaration of ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
/usr/local/include/XPlus/AutoPtr.h:123: erreur: invalid use of incomplete type
‘struct http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
../include/http_www_dummy_com_embms_uplane/bearerShortAnswer.h:55: erreur:
forward declaration of ‘struct
http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo’
In file included from /usr/local/include/XSD/UrTypes.h:35,
from ../include/http_www_dummy_com_embms_uplane/bearerShortAnswer.h:9,
from http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp:7:
/usr/local/include/XSD/XSDFSM.h: In member function ‘DOM::Node*
FSM::XsdFSM<ReturnType>::rightmostElement() const [with ReturnType =
XPlus::AutoPtr<http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo>]
’:
http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp:714: instantiated from
here
/usr/local/include/XSD/XSDFSM.h:387: erreur: invalid static_cast from type
‘const
XPlus::AutoPtr<http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo>�
�� to type ‘const DOM::Node*’
/usr/local/include/XSD/XSDFSM.h: In member function ‘DOM::Node*
FSM::XsdFSM<ReturnType>::leftmostElement() const [with ReturnType =
XPlus::AutoPtr<http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo>]
’:
http_www_dummy_com_embms_uplane/bearerShortAnswer.cpp:714: instantiated from
here
/usr/local/include/XSD/XSDFSM.h:403: erreur: invalid static_cast from type
‘const
XPlus::AutoPtr<http_www_dummy_com_embms_uplane::bearerShortAnswer::spatialInfo>�
�� to type ‘const DOM::Node*’
make[2]: *** [http_www_dummy_com_embms_uplane/bearerShortAnswer.lo] Erreur 1
make[2]: quittant le répertoire «
/home/alcatel/essaixsd2cpp/Uplane_BearerShortAnswer/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire «
/home/alcatel/essaixsd2cpp/Uplane_BearerShortAnswer »
make: *** [all] Erreur 2
What version of the product are you using? On what operating system?
xsd2cpp -v
xsd2cpp(XmlPlus) 0.2
uname -a
Linux localhost.localdomain 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54
EST 2013 x86_64 x86_64 x86_64 GNU/Linux
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 25 Mar 2015 at 10:26
Attachments:
What steps will reproduce the problem?
1. Just configure using ./configure --prefix=`pwd`
2. Compilation fails after make
What is the expected output? What do you see instead?
make all-recursive
make[1]: Entering directory `/project/xmlplus-0.1'
Making all in src
make[2]: Entering directory `/project/xmlplus-0.1/src'
Making all in Poco
make[3]: Entering directory `/project/xmlplus-0.1/src/Poco'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/project/xmlplus-0.1/src/Poco'
Making all in XPlus
make[3]: Entering directory `/project/xmlplus-0.1/src/XPlus'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/project/xmlplus-0.1/src/XPlus'
Making all in DOM
make[3]: Entering directory `/project/xmlplus-0.1/src/DOM'
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../.. -g -O0 -I../../include -I../../foundation/include -O2 -MT
Attribute.lo -MD -MP -MF .deps/Attribute.Tpo -c -o Attribute.lo Attribute.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -g -O0 -I../../include
-I../../foundation/include -O2 -MT Attribute.lo -MD -MP -MF .deps/Attribute.Tpo
-c Attribute.cpp -fPIC -DPIC -o .libs/Attribute.o
In file included from ../../include/DOM/Attribute.h:23,
from Attribute.cpp:20:
../../include/DOM/DOMCommonInc.h:25: fatal error: expat_external.h: No such
file or directory
compilation terminated.
make[3]: *** [Attribute.lo] Error 1
make[3]: Leaving directory `/project/xmlplus-0.1/src/DOM'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/project/xmlplus-0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/project/xmlplus-0.1'
make: *** [all] Error 2
What version of the product are you using? On what operating system?
xmlPlus 0.1
Please provide any additional information below.
Compilation problems on Fedora 12 are less severe.
Original issue reported on code.google.com by sutambe
on 25 Nov 2010 at 10:15
What steps will reproduce the problem?
1. Run xsd2cpp on the included test.xsd schema. (xsd2cpp -s test.xsd test-lib)
It contains a complex type named "testElementType" that contains an element
also named "testElementType".
2. Configure and compile the generated code.
3. Compilation will fail with
error: ISO C++ forbids nested type 'testElementType' with same name as
enclosing class [-fpermissive]
typedef XMLSchema::XmlElement<http_www_test_com_::Types::testElementEnum> testElementType;
What is the expected output? What do you see instead?
I would expect either xsd2cpp to detect the naming conflict and remedy the
problem, or allow a naming override mechanism.
What version of the product are you using? On what operating system?
xsd2cpp: 0.2.1
OS: Ubuntu 14.04 64bit
Please provide any additional information below.
JAXB provides a mechanism to specify naming overrides in a config file. This
would be an acceptable solution to this problem.
Original issue reported on code.google.com by [email protected]
on 1 Oct 2014 at 1:54
Attachments:
What steps will reproduce the problem?
1. cd to a folder of one of your personal projects which has its own src and
include directories
2. xsd2cpp `pwd`/schemas/cml/schema.xsd .
3. watch helplessly as it discovers src and include and in a flash says its
backing them up in xplus.bak
4. look in src, include and xplus.bak(which has an inner numbered folder) for
your hand written source code.
5. Start sweating as you realize the your code is gone. Gone! Long gone!
6. control yourself as you write a bug report
7. Stare in disbelief at http://xmlplus.sourceforge.net/install.html where it
says "outdir: directory to output the generated source to" without a hint of
what it will do to your handwritten source code
What is the expected output? What do you see instead?
xsd2cpp doing it's thing without wiping my hand written source code
What version of the product are you using? On what operating system?
xmlplus-0.2.1 on CentOS 6.3
Please provide any additional information below.
!@%$#%@
Original issue reported on code.google.com by [email protected]
on 5 Apr 2013 at 7:46
What steps will reproduce the problem?
1. Generate C++ code for examples/ipo
2. Build examples/ipo/ipo
What is the expected output? What do you see instead?
Expected a clean compile
Actual result:
Construtors for local complex types is declared incorrectly. In the example
code, the constructor for item is defined in the header file with an empty
function body:
item(ElementCreateArgs args){};
This should be a declaration:
item(ElementCreateArgs args);
Compile error:
IPO/Types/Items.cpp:189:3: error: redefinition of
'IPO::Types::Items::item::item(XMLSchema::Types::ElementCreateArgs)'
Items::item::item(ElementCreateArgs args):
^
In file included from IPO/Types/Items.cpp:7:0:
../include/IPO/Types/Items.h:161:5: error:
'IPO::Types::Items::item::item(XMLSchema::Types::ElementCreateArgs)' previously
defined here
item(ElementCreateArgs args){};
^
What version of the product are you using? On what operating system?
xsd2cpp Version: 0.2.1 (Subversion trunk)
OS: Ubuntu 14.04
Compiler: g++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Please provide any additional information below.
I first discovered this bug working with my own xml schema then found the same
problem in this example.
Original issue reported on code.google.com by [email protected]
on 14 May 2014 at 4:04
What steps will reproduce the problem?
1. after the xmlplus build, run the examples
2.
3.
What is the expected output? What do you see instead?
$ ./build/bin/stG003run -w
Going to populate Document and write xml file...
dyld: lazy symbol binding failed: Symbol not found:
__ZN4Poco17RegularExpressionC1ERKSsib
Referenced from: /Users/satyat/xplusbuild/lib/libxsd.0.dylib
Expected in: dynamic lookup
dyld: Symbol not found: __ZN4Poco17RegularExpressionC1ERKSsib
Referenced from: /Users/satyat/xplusbuild/lib/libxsd.0.dylib
Expected in: dynamic lookup
Please use labels and text to provide additional information.
Original issue reported on code.google.com by [email protected]
on 29 Nov 2010 at 7:55
What steps will reproduce the problem?
1.I have an enumeration
2.set the wrong value
3.throws an exception but setting the wrong value to the object
What is the expected output? What do you see instead?
It should set the value to the object only when condition is success else it
should throw exception without setting the value to the object
What version of the product are you using? On what operating system?
lastest version only on ubuntu
Please provide any additional information below.
Kindly find the attachment for full details
Original issue reported on code.google.com by [email protected]
on 29 Apr 2015 at 3:05
Attachments:
What steps will reproduce the problem?
1. Configure using ./configure --prefix=`pwd`
2. Compilation fails during make
What is the expected output? What do you see instead?
1. src/DOM/Document.cpp needs #include<assert.h>, without that line #105 has
error.
2. Without LDFLAGS = -lexpat in src/Makefile, several linker errors related to
libexpat halt compilation.
for instance,
./.libs/libxsdall.so: undefined reference to `XML_SetNamespaceDeclHandler' and
many more.
3. Finally, the following linker error I could not fix myself.
Making all in Poco
make[1]: Entering directory `/project/xmlplus-0.1/src/Poco'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/project/xmlplus-0.1/src/Poco'
Making all in XPlus
make[1]: Entering directory `/project/xmlplus-0.1/src/XPlus'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/project/xmlplus-0.1/src/XPlus'
Making all in DOM
make[1]: Entering directory `/project/xmlplus-0.1/src/DOM'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/project/xmlplus-0.1/src/DOM'
Making all in XSD
make[1]: Entering directory `/project/xmlplus-0.1/src/XSD'
make all-am
make[2]: Entering directory `/project/xmlplus-0.1/src/XSD'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/project/xmlplus-0.1/src/XSD'
make[1]: Leaving directory `/project/xmlplus-0.1/src/XSD'
Making all in tools
make[1]: Entering directory `/project/xmlplus-0.1/src/tools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/project/xmlplus-0.1/src/tools'
make[1]: Entering directory `/project/xmlplus-0.1/src'
/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O0 -I../include -O2
-lexpat -o fsmTest XSD/FsmTest.o libxsdall.la
libtool: link: g++ -g -O0 -I../include -O2 -o .libs/fsmTest XSD/FsmTest.o
-lexpat ./.libs/libxsdall.so -lpthread -Wl,-rpath -Wl,/project/xmlplus-0.1/lib
./.libs/libxsdall.so: undefined reference to `populateDocument(DOM::Document*)'
./.libs/libxsdall.so: undefined reference to
`updateOrConsumeDocument(DOM::Document*)'
./.libs/libxsdall.so: undefined reference to `createXsdDocument(bool)'
./.libs/libxsdall.so: undefined reference to
`createXsdDocument(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >)'
collect2: ld returned 1 exit status
make[1]: *** [fsmTest] Error 1
make[1]: Leaving directory `/project/xmlplus-0.1/src'
make: *** [all-recursive] Error 1
What version of the product are you using? On what operating system?
xmlPlus 0.1
Please provide any additional information below.
Compilation fails on Ubuntu 10.10 too.
Original issue reported on code.google.com by sutambe
on 25 Nov 2010 at 10:17
What steps will reproduce the problem?
XmlPlus 0.2 : after deserialization of xml doc, attribute values seem to be
empty, though on serializing doc, the right do show up in the serialized xml
document.
What is the expected output? What do you see instead?
On accessing the attribute values through in-memory doc-tree(ie. using get_xyz
function), the correct value of the attributes should be retrieved. Seeing
rather the empty value.
Please use labels and text to provide additional information.
observed in XmlPlus 0.2
Original issue reported on code.google.com by [email protected]
on 3 May 2011 at 8:51
What steps will reproduce the problem?
1. build the source with gcc 4.8
2.
3.
What is the expected output? What do you see instead?
build fails
What version of the product are you using? On what operating system?
0.2.2
Please provide any additional information below.
Compilation fails in include/XSD/Facets.h at line #288 and #307 due to
unresolved symbol. Using this->value fixes it.
Original issue reported on code.google.com by sutambe
on 25 Sep 2014 at 6:01
What steps will reproduce the problem?
1. cd simplest
xsd2cpp simplest.xsd .
./autogen
make
2.make of simplest example fails
make all-recursive
make[1]: Entering directory `/home/vmplanet/xmlplus-0.1.1/examples/simplest'
Making all in src
make[2]: Entering directory `/home/vmplanet/xmlplus-0.1.1/examples/simplest/src'
depbase=`echo simplest/Document.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I..
-I/usr/local/include -I../include -g -O2 -MT simplest/Document.lo -MD -MP -MF
$depbase.Tpo -c -o simplest/Document.lo simplest/Document.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
mv: cannot stat `simplest/.deps/Document.Tpo': No such file or directory
make[2]: *** [simplest/Document.lo] Error 1
make[2]: Leaving directory `/home/vmplanet/xmlplus-0.1.1/examples/simplest/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vmplanet/xmlplus-0.1.1/examples/simplest'
make: *** [all] Error 2
3.
using
https://sourceforge.net/projects/xmlplus/files/xmlplus/0.1.1/xmlplus-0.1.1.src.tar.gz/download
plus
xmlplus-0.1.patch.tgz
It fails both in suse 11.3 and in fedora 14
Original issue reported on code.google.com by [email protected]
on 6 Jan 2011 at 6:22
What steps will reproduce the problem?
1. $ xsd2cpp XSD .
2. $ ./autogen.sh
3. $ make
What is the expected output?
- MyTypeName.h must include MyTypeAttribute.h
What do you see instead?
- Build error
What version of the product are you using? On what operating system?
- version 0.2
- Debian 2.6.32-30
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 19 May 2011 at 5:43
Attachments:
What steps will reproduce the problem?
1. Download Ubuntu 12.10 32bit desktop
2. apt-get install automake autoconf libtool xsltproc libexpat1 libexpat1-dev
3. ./autogen.sh
4. make
What is the expected output? What do you see instead?
Compilation error:
depbase=`echo XSD/UrTypes.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -g -O0 -I../include -O2 -MT XSD/UrTypes.lo -MD -MP -MF $depbase.Tpo -c -o XSD/UrTypes.lo XSD/UrTypes.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -g -O0 -I../include -O2 -MT
XSD/UrTypes.lo -MD -MP -MF XSD/.deps/UrTypes.Tpo -c XSD/UrTypes.cpp -fPIC
-DPIC -o XSD/.libs/UrTypes.o
In file included from ../include/XSD/UrTypes.h:36:0,
from ../include/XSD/PrimitiveTypes.h:20,
from XSD/UrTypes.cpp:23:
../include/XSD/Facets.h: In instantiation of 'void
XMLSchema::NativeTypeCFacet<T>::stringValue(DOM::DOMString) [with T =
XPlus::UString; DOM::DOMString = XPlus::UString]':
../include/XSD/PrimitiveTypes.h:51:47: required from here
../include/XSD/Facets.h:288:7: error: 'value' was not declared in this scope,
and no declarations were found by argument-dependent lookup at the point of
instantiation [-fpermissive]
../include/XSD/Facets.h:288:7: note: declarations in dependent base
'XMLSchema::ConstrainingFacet<XPlus::UString>' are not found by unqualified
lookup
../include/XSD/Facets.h:288:7: note: use 'this->value' instead
../include/XSD/Facets.h: In instantiation of 'void
XMLSchema::NativeTypeOrderableCFacet<T>::stringValue(DOM::DOMString) [with T =
unsigned int; DOM::DOMString = XPlus::UString]':
../include/XSD/PrimitiveTypes.h:2073:39: required from here
../include/XSD/Facets.h:307:7: error: 'value' was not declared in this scope,
and no declarations were found by argument-dependent lookup at the point of
instantiation [-fpermissive]
../include/XSD/Facets.h:307:7: note: declarations in dependent base
'XMLSchema::ConstrainingFacet<unsigned int>' are not found by unqualified lookup
../include/XSD/Facets.h:307:7: note: use 'this->value' instead
../include/XSD/Facets.h: In instantiation of 'void
XMLSchema::NativeTypeOrderableCFacet<T>::stringValue(DOM::DOMString) [with T =
double; DOM::DOMString = XPlus::UString]':
XSD/UrTypes.cpp:1735:1: required from here
../include/XSD/Facets.h:307:7: error: 'value' was not declared in this scope,
and no declarations were found by argument-dependent lookup at the point of
instantiation [-fpermissive]
../include/XSD/Facets.h:307:7: note: declarations in dependent base
'XMLSchema::ConstrainingFacet<double>' are not found by unqualified lookup
../include/XSD/Facets.h:307:7: note: use 'this->value' instead
What version of the product are you using? On what operating system?
xmlplus-0.2.1, Ubuntu 12.10 32bit
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 5 Apr 2013 at 1:56
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.