Commit graph

106 commits

Author SHA1 Message Date
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
jez
9b70ca5187 rather large commit, propagating the QualifiedName changes through the NamespaceSupport and Tracker, simplifying item names in XSLT and so on. 2009-02-24 12:21:35 +00:00
jez
c0659319c4 switch NamespaceSupport over to use QualifiedName 2009-02-23 22:02:17 +00:00
jez
4030057c74 propogating recent edits through 2009-02-23 19:43:20 +00:00
jez
c4d237e97b Bugfix: flush buffer on startEntity/endEntity 2008-10-21 22:54:37 +01:00
jez
b08e5f8ab5 Visual Studio 6 hasn't been a build target for some time now. Removed the left over bits of VS6 specific workarounds. 2008-08-06 23:05:53 +01:00
jez
353ad2fa91 corrected copyright date 2008-07-29 19:50:33 +01:00
jez
f29fbced15 libxml2 and xerces wrappers now build again 2008-07-17 10:00:32 +01:00
jez
88de9056da build through on cygwin with expat 2008-07-16 10:01:08 +01:00
jez
707cd47f41 After all this time realised I had too many template parameters on the
XMLReaderInterface template.  It is only interested in string_type and 
string_adaptor.  All the fancy TMP to extract types and what not 
is only relevant in *_wrapper classes.
2008-07-15 18:59:03 +01:00