Code Synthesis is a systems software development company with a focus on automated object persistence, domain-specific languages (DSL) and their mappings, compiler design, code generation, and source-to-source translation.
Questions tagged [codesynthesis]
46 questions
0
votes
0 answers
Codesys how to share local library repository
we are developing some private libraries and are wondering how do we get them shared between different users of the team?
Same as a git repository (I guess) but do we need to have them stored in Codesys store as a private repository or we can have…

homer69
- 53
- 1
- 8
0
votes
1 answer
CMake & CodeSynthesis Header-only library not compiling
I have been trying to implement the runtime library which is a header-only library of CodeSynthesis. But I only get a linking compiling error whenever I try to run the generated files which are made by the XSD executable.
Here is the error to show…

Sakirma
- 31
- 1
- 6
0
votes
1 answer
Codesynthesis - Compare string value with sequence in C++
I'm new to Codesynthesis and i'm wondering about how i can compare string values with a sequence.
For example i have a Message id "0x100" and i want to check if its in the Send sequences. If its there, i just want to get the Signal name of the…

JogiBurner
- 1
- 3
0
votes
1 answer
Why Xsd Cannot Load a Transcoding Service?
I am using CodeSynthesis XSD (XML Data Binding Tool for C++) to auto-generate .hpp and .cpp files from a .xsd file. But when running xsd over my .xsd file, I am getting this error:
Could not load a transcoding service
I am using openSUSE Leap-42.2,…

TonySalimi
- 8,257
- 4
- 33
- 62
0
votes
1 answer
odb with MySQL sql-mode NO_AUTO_VALUE_ON_ZERO
I use MySQl with enabled sql-mode NO_AUTO_VALUE_ON_ZERO, which means that it's not possible to use 0 in INSERT statements for PK column to indicate MySQL that it should automatically assign value for PK.
I have persistent object of following…

Pustovalov Dmitry
- 998
- 1
- 9
- 25
0
votes
1 answer
XSD : How to set attributes values in children element type?
In an xsd file I have this element base type :

Klaim
- 67,274
- 36
- 133
- 188
0
votes
1 answer
codesynthesis - DOMDocument ambigious error
I am trying to use CodeSynthesis XSD for generating C++ headers using XML Schema I have. The Header are generated successfully but when it comes to compiling the code the error message pops up saying something like
DOMDocument ambigious error

Nouman Tahir
- 819
- 1
- 9
- 26
0
votes
1 answer
Codesynthesis can't parse xs:anyType c++
My xsd element is

igoutas
- 135
- 2
- 14
0
votes
2 answers
Code Synthesis doesn't seem to generate a "valid" xml tree
I've been working with code synthesis xsd to generate an xml tree to ensure constinency of the xml output to the original xsd.
After initial testing, everything looked ok but when I tried entering invalid values (correct type, but outside the…

Fry
- 4,106
- 9
- 38
- 51
0
votes
1 answer
XML Schema, hide .xsd file from the schemaLocation attribute
I would like to ask If there is any option of validating my xml without specifying the .xsd location in the "xsi:schemaLocation=" attribute.
e.g my xml file.

Jibrilat
- 347
- 1
- 3
- 14
0
votes
1 answer
XSD : value not in enumeration
i try to read from a XML document via the CodeSynthesis XSD generated files (.cxx/.hxx) and have this code:
1-> char* xmlFile = "C:\\Work\\MPRawDataExample.xml";
2-> auto_ptr f = MPRawDataFile_(xmlFile);
3-> cout <<…

Postback
- 619
- 2
- 9
- 27
0
votes
0 answers
CodeSynthesis XSD: Unresolved externals from Xerces
just after fixing a big error, the next errors occur
this time i have 39 unresolved externals, and how it looks its something from Xerces, but after an hour couldnt figure out what. also downloaded it new and added it to the…

Postback
- 619
- 2
- 9
- 27
0
votes
1 answer
CodeSynthesis : how to include files from ?
I generated c++-code from a XSD-scheme, now when i put that into a project, the compiler tells me that all #include cannot be included. but i've added the include directory to the VC++-directories.
1 out of 100 errors:
error C1083: Cannot…

Postback
- 619
- 2
- 9
- 27
0
votes
2 answers
How to include CodeSynthesis-XSD into own application?
1.) How can i include the CodeSynthesis-XSD Code-generation into my application, so when i give the application (QT in Visual Studio 10) to someone other he doesnt need to install Code-Synthesis?
2.) And how can i specify the output-directory of…

Postback
- 619
- 2
- 9
- 27
0
votes
1 answer
How to set proxy for xerces-c for VC++?
Using CodeSynthesis XSD 3.3 I've generated code to read and write XML.
When trying to read, however, I get connection problems (probably because I'm behind a proxy):
:0:0 error: unable to connect socket for URL…

Robert F
- 451
- 3
- 13