Commit graph

43 commits

Author SHA1 Message Date
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
jez
0b178c17a7 Promoted LexicalHandler and DeclHandler to be full members of XMLReader, rather than properties set via the rather tortuous setProperty call. XMLFilter and XMLFilterImpl have been extended to provide support for Lexical~ and DeclHandler. DefaultHandler now provides default, do nothing, implementations of Lexical~ and DeclHandler. Consequently DefaultHandler2 is now deprecated and will be removed in due course.
Merged from mangle branch.
2007-01-15 14:21:33 +00:00
jez
c452b5ba91 added more MSXML version ids. more recent versions can do things like schema validation 2007-01-15 14:02:52 +00:00
jez
ed46fc0f01 TreeWalker patches from craigp. 2007-01-02 11:32:48 +00:00
jez
320ea0144b 2006-10-06 21:25:55 +00:00
jez
5623e8d39d jigged around to work when compiling without Boost 2006-10-06 21:17:17 +00:00
jez
f4453c647d had inadvertantly broken the MSXML build 2006-09-20 13:57:50 +00:00
jez
543f7357df started moving headers out into an include directory 2006-08-07 21:08:11 +00:00