Commit graph

57 commits

Author SHA1 Message Date
Jez Higgins
8bebc65ddc Ripped out Xerces feature and property names 2020-06-25 16:33:55 +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
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
Lukas Obrdlik
772cd0bfe9 Fix the MS XML wrapper on W8.1 2014-10-22 12:07:29 +02: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
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
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
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
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
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
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
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
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
jez
01cfd6eef7 build files for VS2008 2008-07-15 09:10:43 +01:00
jez
04e0cb5952 craigp's patch for Xerces 2.8 2008-07-04 23:06:37 +01:00
jez
ebbd739051 initialise lexicalHandler_ 2008-02-08 16:01:38 +00:00
jez
2e6c372933 hacked up a ncname test, although it's not working at the moment and I'm tired and can't think 2007-12-22 22:21:26 +00:00
jez
be877b8d50 MSVC can't handle static members in nest classes of template classes 2007-12-21 17:02:12 +00:00
jez
02fe02da03 "If the parser has not read a declaration for the attribute, or if the
parser does not report attribute types, then it must return the value
"CDATA" as stated in the XML 1.0 Recommentation (clause 3.3.3,
"Attribute-Value Normalization")."

and:
"Returns: The attribute's type as a string, or an empty string if the
index is out of range."

Problem found reported by Christoph Anderegg, christoph@anderegg-sommer.ch
and corrected with this commit.
2007-12-07 23:28:59 +00:00
jez
494493d1c2 fixed template parameters in libxml2 binding 2007-09-25 21:43:25 +00:00
jez
c3bffa005a renamed include/Utils to include/Arabica 2007-09-10 17:52:04 +00:00
jez
7b43037a37 Added string_adaptor parameter to DOM classes. DOM and XPath tests compile and run, but still need to add defaults so more "normal" bits of code will go. 2007-09-07 23:52:30 +00:00
jez
905d680b3d more template stuff 2007-09-06 10:51:50 +00:00
jez
77c2d74398 more template parameter malarkey 2007-09-06 09:04:01 +00:00
jez
abca0daf9a first pass adding string_adaptor parameter 2007-09-05 22:08:51 +00:00
jez
635707cdde built through with expat, libxml2, xerces, and garden 2007-09-05 13:54:04 +00:00
jez
a76b137b60 removed basic_ prefixes from SAX classes, removed typedefs 2007-09-05 12:57:07 +00:00
jez
a6c116acd6 moved SAX:: into Arabica::SAX:: 2007-09-05 09:49:18 +00:00
jez
7cf3897061 renamed all .h to .hpp 2007-09-04 22:55:47 +00:00
jez
733e9d3c3a Fixed for VS8/VS2005
See http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=101866
2007-08-10 10:35:17 +00:00
jez
c44d201148 reset parser so it can be reused 2007-08-07 21:43:36 +00:00
jez
6aa07ebbd2 reset parser after a parse, allowing it to be reused 2007-08-07 21:28:47 +00:00
jez
004d0c4f41 better string handling - on platforms where sizeof(XMLCh) == sizeof(wchar_t) we should be able to eliminate the copying step altogether 2007-01-19 15:52:43 +00:00
jez
ffd2a819db When ARABICA_NO_WCHAR_T defined, transcode to UTF-8 not native code page
Fix for http://sourceforge.net/tracker/index.php?func=detail&aid=1636010&group_id=56163&atid=479571
2007-01-18 20:49:19 +00:00