Questions tagged [xerces-c]

A processor for parsing, validating, serializing and manipulating XML, written in C++

Xerces-C++ is a validating XML parser written in a portable subset of C++. Xerces-C++ makes it easy to give your application the ability to read and write XML data. A shared library is provided for parsing, generating, manipulating, and validating XML documents using the DOM, SAX, and SAX2 APIs. The parser provides high performance, modularity, and scalability.

See also .

221 questions
0
votes
1 answer

How do you set default values for xml namespaces?

I have a few such namespace definitions in every xml file :- xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" etc etc Is there a way for me to specify these as defaults so that I don't have to write…
owagh
  • 3,428
  • 2
  • 31
  • 53
0
votes
1 answer

Dumping information from Nested Structures defined in C++ header files into XML

I'm writing a C/C++ Header file parser that converts .h files into a specific XML format. I have a structure defined as follows: struct struct1 { struct structchild1 { float child2; } child3; unsigned int child3; }; I want the…
Retry
  • 159
  • 1
  • 3
  • 9
0
votes
2 answers

What is the difference between xerces-c_3_1.dll and xerces-c_3_1D.dll in Apache Xerces pre-built binaries?

What is the difference between xerces-c_3_1.dll and xerces-c_3_1D.dll in apache xerces pre-built windows binaries (xerces-c-3.1.1-x86-windows-vc-9.0.zip from http://xerces.apache.org/xerces-c/download.cgi)? (Similarly there is also xerces-c_3.lib vs…
Nathan
  • 10,593
  • 10
  • 63
  • 87
0
votes
1 answer

xerces c issue with creating an object from a just serialized object

I'm having an issue where I serialize an object to a string and then create it again from the same string. When I try and create the same object from the string and check the values, the functions aren't returning correctly. It returns the whole…
Thomas Lann
  • 1,124
  • 5
  • 17
  • 35
0
votes
1 answer

Serialization of C++ xerces object causes an access violation.

Using Xerces C++ I generated the typical C++ code from the below schema. Upon serialization of an object I get an access violation. I stepped through the code way down the stack until some templated insertion code for a std::basic_string and it…
Thomas Lann
  • 1,124
  • 5
  • 17
  • 35
0
votes
1 answer

How do I traverse a xerces-c DOMDocument from a core-dump?

I'm posting an edited question since the whole business of segfaults and third-party libraries in the original question are just distracting. What I have is a program that uses xerces-c and segfaults (creating a core-dump in the process). What I…
owagh
  • 3,428
  • 2
  • 31
  • 53
-1
votes
1 answer

Need sample CMake project that uses Xerces-C++ 3 on Windows with Visual Studio

I am trying to use xerces-c-3.2.2 on Windows 10 from the sample in xerces-c-3.2.2\samples\src\SAXPrint, the sample used as a Visual Studio 2019 project. Before, I used xerces-c_2_8_0 successfully with xerces-c-src_2_8_0\samples\SAX2Print as a Visual…
-1
votes
1 answer

Migration from Xerces 2.X to Xerces 3.X

Currently, My code uses Xerces-C 2.7, but due to requirement I was asked to migrate to Xerces-c 3.X. I couldn't find any official detailed document that can help me in achieving the same.I am using wrapper on the top of xerces-C 2.X that makes me…
-1
votes
1 answer

Brackets around command in unix shell

What mean brackets around command in the unix shell. For example: mac: workdir$pwd /Users/Alex/workdir same output of this: mac: workdir$(pwd) /Users/Alex/workdir What is the difference when I'm use brackets and don't use it? My really situation it…
Alex
  • 1
  • 3
-3
votes
1 answer

Possible to Use C headers in Java?

I have a code in java and javascript to parse a XML and generate a html page. but the parser i'm using is in C. So i need to use those headers in java code. Is it possible? since xerces parser i'm using is in C can i use the .hpp files imported into…
reji
  • 5
  • 2
-5
votes
1 answer

How to use staticLib in my own staticLib?

i try to create my own Library to use it in other projects in C/C++. my static library use the library xercesc. Eclipse try to compile the xercesc included lib with gcc and not g++. If i try to compile my code i got the following error: Info:…
MoSad
  • 31
  • 2
1 2 3
14
15