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
6425632f01
blow up if QName is bad
2007-11-22 22:36:47 +00:00
jez
fa235dc7af
Fixed to AttributesImpl.getIndex from Isak Johnsson. Thanks go to him and a "what on earth was I thinking" to me.
2007-10-25 20:57:40 +00:00
jez
889305618e
fixes for older gcc
2007-09-28 08:30:16 +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
8fe1e5f9c5
moved convert_adaptor and convertstream into Arabica::io namespace
2007-09-10 17:39:52 +00:00
jez
0525191ebe
move convert_adaptor.hpp and convertstream.hpp into io subdirectory
2007-09-10 17:32:43 +00:00
jez
17248585af
more namespace and file moving shenanigans
2007-09-10 17:24:17 +00:00
jez
2ef3dffa7d
moved URI into io subdirectory
2007-09-10 15:58:45 +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
bbcf3e1001
all SAX classes now take both string_type and string_adaptor. everything builds through. tests pass
2007-09-06 18:54:02 +00:00
jez
8e0c0ec4f0
template param fixes for garden
2007-09-06 15:07:16 +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
9a6a8e0a9c
no need trim because we do that when resolving relative paths anyway
2007-08-24 08:50:58 +00:00
jez
d63b9a504c
make document(url) respect base URI
2007-08-23 13:55:06 +00:00
jez
0f2368368f
corrected default constructor
2007-08-22 12:21:43 +00:00
jez
d4fe2c4c3a
whitespace changes
2007-08-22 12:21:08 +00:00
jez
eaa1192967
corrected copyright dates
2007-08-20 20:24:13 +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
3d3fbaedce
pass through skippedEntity and processingInstruction
2007-08-07 21:29:27 +00:00
jez
6aa07ebbd2
reset parser after a parse, allowing it to be reused
2007-08-07 21:28:47 +00:00
jez
f900c435e6
extended to take std::auto_ptr<iostream> as well as std::auto_ptr<std::istream>
2007-08-07 21:27:55 +00:00
jez
7c4dcfde39
merged with mangle-dev branch
2007-07-19 17:01:08 +00:00
jez
d17b0e927f
2007-06-20 00:06:56 +00:00
jez
968127deb0
garden fixes
2007-06-18 12:01: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
290f9cf175
fixed Writer filter for new XMLFilterImpl with built in Lexical and Decl handlers
2007-01-15 17:38:55 +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
f4df1879b1
remedial fixes so Garden compiles again
2006-09-20 11:43:30 +00:00
jez
f99c832140
rejigged to build without Boost - only tested with Expat so far
2006-09-13 21:56:21 +00:00
jez
ecf4f74304
sept 2006 release
2006-09-12 21:21:48 +00:00
jez
bc0d1c9655
-
2006-08-07 21:16:27 +00:00
jez
543f7357df
started moving headers out into an include directory
2006-08-07 21:08:11 +00:00