Commit graph

115 commits

Author SHA1 Message Date
Jez Higgins
09ebc8baa3 update copyright date 2024-09-09 22:19:58 +01:00
Jez Higgins
574803f9c8 Can now configure with Xerces 2024-09-08 21:12:15 +01:00
Jez Higgins
c4b21e5fee Can now properly configure build to use either Expat or libxml2 2024-09-03 15:49:31 +01:00
Jez Higgins
93ab4b064d Set ARABICA_USE_EXPAT flag in ArabicaConfig.hpp properly
Learned more about CMake in the last hour or so than I have in the last
few years. Now I've decided to bin out all the solution files and all
the Autoconf scaffolding, I want to extend the CMake build to properly
provide the same capabilities. Steffen's given me a terrific place to
work from, for which I am hugely, if extremely belatedly, grateful.
2024-09-03 10:16:06 +01:00
Jez Higgins
8182136f15 the CMake build isn't quite there - first small step forward 2024-09-02 22:24:03 +01:00
Jez Higgins
0f89518961 fixup cmake build 2024-09-02 21:58:45 +01:00
Jez Higgins
d545ab3bba Reworked to avoid call to string_adaptor::append 2020-06-25 16:34:37 +01:00
Jez Higgins
8bebc65ddc Ripped out Xerces feature and property names 2020-06-25 16:33:55 +01:00
Jez Higgins
c37d974e47 Properly parameterise PYXWriter and SAX tests on string type 2020-06-25 15:09:50 +01:00
Jez Higgins
6659a9f259 Merge branch 'master' into die-autoptr-die 2020-04-23 15:45:24 +01:00
Jez Higgins
e4f582c013
Merge pull request #13 from lukasobr/master
Fixes for the CDATA generation and W8.1 support in XSLT
2020-04-23 15:43:49 +01:00
Jez Higgins
f70862004d Swapped auto_ptr for unique_ptr in Xerces wrapper 2020-04-17 12:06:01 +01:00
Jez Higgins
6bf75264de Completely removed XMLReader setProperty and getProperty member functions.
For nearly everyone, their use can be replaced by either setLexicalHandler
or setDeclHandler. For the particular case of the Xerces extended properties
I'll loop back round and add specific member methods for those.
2020-04-16 20:23:59 +01:00
Jez Higgins
c4713e9a7b Removed ParserAdaptor.hpp
Probably never used in the entire history of Arabica. It's the result of
enthusiastic (ie overly slavish) conversion from the original Java SAX
implementation. There never were any SAX1 Arabica parsers to adapt to
SAX2.
2020-04-15 23:55:18 +01:00
Jez Higgins
a7ff4b9a1b InputSource - Replaced use of std::auto_ptr with std::unique_ptr 2020-04-15 21:01:14 +01:00
Ben Key
d656edc28b Added project files for VS2013 and VS2015.
• Added project files for Visual Studio 2013 and Visual Studio 2015.
• Made several small changes that were required to compile in Visual
Studio 2015.
2018-01-29 19:21:27 -06:00
Daniel Knibbe
c547fd279d Rewrote generation of ArabicaConfig.hpp in CMakeLists.txt
The file ArabicaConfig.hpp is now generated in build tree using cmake
configure_file() command. The input file is located in source tree
(include/SAX/ArabicaConfig.hpp.in).

Other Changes:
Boost is now actually optional. Previously it was searched for but the
necessary compile definition was not set and therefore never used.
Default option is building without boost.
2016-11-18 15:16:40 +01:00
Lukas Obrdlik
772cd0bfe9 Fix the MS XML wrapper on W8.1 2014-10-22 12:07:29 +02:00
Quentin Fiard
cc9355c038 Fixed string+int issues in headers 2014-02-27 21:44:40 +00:00
Quentin Fiard
c36d945c51 Fixed language linkage issue under clang-500.2.79
The declarations must be located before the respective friend
declaration to have a correct C language linkage.
2013-11-04 21:20:18 +00:00
Stefan Radomski
8f8db494ba SAXcharacters needs to close cdata sections 2013-08-17 20:36:52 +02:00
Stefan Radomski
3cc8f64e92 CData support for libxml2 wrapper 2013-08-17 19:14:05 +02:00
Jez Higgins
97ecf9040b Don't create a namespace context unless we need one - performance tweak provided by Gunther Laure 2013-01-05 21:53:59 +00:00
Jez Higgins
51f1912534 Removed last of the std::string-isms. 2012-11-21 06:59:40 +00:00
Jez Higgins
39d85b29c6 First pass as parameterising the whole of the XSLT library on string_type is done 2012-11-12 21:46:08 +00:00
Jez Higgins
b1674a2ef1 Updated copyright dates 2012-11-02 20:19:01 +00:00
Jez Higgins
2200a80a00 Added CMake build files contributed by Gunther Laure 2012-11-01 22:12:55 +00:00
Jez Higgins
45268963bd getLineNumber/getColumnNumber now return size_t
Changed from int - underlying libraries are moving to large sizes
2012-09-14 16:54:51 +01:00
Jez Higgins
2f49994b09 Deal properly with the [dtd] pseudo-entity
Some parsers report the [dtd] pseudo entity through the LexicalHandler.
Arabica was incorrectly trying to create an Entity Reference for it.
2012-09-14 11:12:50 +01:00
Jez Higgins
0c37303b50 On Windows look for Xerces v3, rather than 2. 2012-09-14 11:11:43 +01:00
Jez Higgins
eea670e2b6 Fiz for 64bit Xerces provided by oncaphillis@snafu.de 2012-09-13 19:04:29 +01:00
Jez Higgins
351a00059d Fix for 64bit Xerces provided by Oncaphillis@snafu.de 2012-09-07 19:49:43 +01:00
Jez Higgins
5e94d05f28 Updated garden (after many years) so that it compiles. 2012-09-07 09:32:04 +01:00
jez
90d382b642 Added XML_PARSE_NOENT to see if it helps 2012-03-31 22:26:12 +01:00
Jez Higgins
0316f7ace8 Trying to get entity resolution going in Libxml2 2011-12-16 17:40:06 +00:00
jez
deca6907e1 Massage ArabicaConfig.hpp so all macros are prefixed ARABICA_ 2011-11-25 23:26:39 +00:00
jez
979ed035b4 Applied patch to Writer supplied by Gareth Sylvester-Bradley <garethsb@gmail.com>. Implements empty elements, and outputs namespace prefixes properly 2011-11-25 21:20:34 +00:00
jez
d506b81624 cast std::streamsize to int to silence warning. it's safe because we know we've read less than ant ints worth of data 2010-12-21 09:46:57 +00:00
jez
c29604d553 set attributes readonly when its owner element is readonly 2010-12-19 23:22:17 +00:00
Jez Higgins
3eb404dcd9 Updated for Xerces changes 2010-08-20 21:31:55 +01:00
jez
94b834ff30 Sorted out exception handling in MSXML ContentHandler wrapper so that it no longer corrupts the stack 2010-05-21 09:56:18 +01:00
jez
a856f2ed7b fix so vs10 compiles without complaining 2010-05-19 20:19:31 +01:00
jez
4a79db620c whitespace changes 2010-05-19 20:18:49 +01:00
Jez Higgins
7f8d20b46f more warnings fixed 2010-01-10 18:47:09 +00:00
Jez Higgins
c0b76904c7 removed redundant check against 0 2010-01-09 22:34:29 +00:00
Jez Higgins
9d25d0bed0 updated copyright dates 2010-01-01 23:03:33 +00:00
Ash Berlin
31c13685d1 Remove warnings:
* Unused variable
  * Unsigned value always >= 0
  * Parameter initialization order
  * Virtual destructors for virtual classes
2009-11-28 01:12:28 +00:00
Alex Ott
42f85936fa explicit casting, to avoid warnings 2009-10-06 15:12:43 +02:00
jez
334317f422 filename case fixes 2009-03-12 20:00:35 +00:00
jez
e33535905a propagating qualified name changes 2009-02-26 14:04:41 +00:00