libxsd++
is an XML Schema Datatypes (XSD) library for C++14.
Header File | Class Name | XSD Datatype |
---|---|---|
<xsd++/base64.h> | xsd::base64 |
xsd:base64Binary |
<xsd++/boolean.h> | xsd::boolean |
xsd:boolean |
<xsd++/date.h> | xsd::date |
xsd:date |
<xsd++/datetime.h> | xsd::datetime |
xsd:dateTime |
<xsd++/decimal.h> | xsd::decimal |
xsd:decimal |
<xsd++/double.h> | xsd::double |
xsd:double |
<xsd++/duration.h> | xsd::duration |
xsd:duration [1] |
<xsd++/float.h> | xsd::float |
xsd:float |
<xsd++/integer.h> | xsd::integer |
xsd:integer [2] |
<xsd++/string.h> | xsd::string |
xsd:string |
<xsd++/time.h> | xsd::time |
xsd:time |
Footnotes
[1] | Includes also the derived xsd:dayTimeDuration and xsd:yearMonthDuration datatypes. |
[2] | Includes also the derived xsd:long, xsd:int, xsd:short, xsd:byte, xsd:unsignedLong, xsd:unsignedInt, xsd:unsignedShort, xsd:unsignedByte datatypes. |
- XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes (2012-04-05)
- XML Schema Part 2: Datatypes Second Edition (2004-10-28)
- XPath and XQuery Functions and Operators 3.0 (2014-04-08)
- XQuery 1.0 and XPath 2.0 Data Model (XDM) (Second Edition) (2010-12-14)
- Clang (>= 3.0) or GCC (>= 4.7)
- Autoconf (>= 2.68)
- Automake (>= 1.11)
- Libtool (>= 2.2)
- pkg-config (>= 0.24)
- Boost.Regex (>= 1.48)
- ICU4C (>= 52.1)
Configuring, building, and installing the library (by default, into
/usr/local
) are all performed with the standard incantations:
$ ./autogen.sh # for a development checkout only $ ./configure # on Linux $ ./configure --with-stdlib=libc++ # on FreeBSD / Mac OS X $ make $ sudo make install
By default on most platforms that support both, the library will be built
both as a static library (libxsd++.a
) as well as a dynamic shared
library (libxsd++.so
on most Unix systems, though libxsd++.dylib
on
Darwin).
If you don't require a shared library, configure the build accordingly:
$ ./configure --disable-shared
The library is thoroughly modular. Specific header files and their
underlying function implementations can be omitted using the familiar
./configure --disable-FEATURE
facility provided by Autoconf.
To review the list of features, see the output of ./configure --help
.
Find the project at: GitHub, Bitbucket, Travis CI, and Coverity Scan.
This is free and unencumbered public domain software. For more information,
see http://unlicense.org/ or the accompanying UNLICENSE
file.