jez_higgins
9485917c42
extend grammar for XSLT matches - added some parse tests
2005-12-16 19:09:57 +00:00
jez_higgins
be0dcae896
extend grammar for XSLT matches
2005-12-16 19:09:18 +00:00
jez_higgins
e348364a82
make gcc not complain about initialisation order
2005-12-16 19:08:46 +00:00
jez_higgins
ec7d5de834
added missed case for node()
2005-12-16 10:17:39 +00:00
jez_higgins
2238256e67
added extra patterns needed for xsl:template match attributes
2005-12-15 22:11:16 +00:00
jez_higgins
d89f09dd9a
Now compiles for std::string and std::wstring, and probably for anything
...
else that has a size() member function and an operator[]
Will need to be reworked at some point in the future, but should do for now
2005-12-15 19:48:19 +00:00
jez_higgins
242e43b195
uncovered a missed case
2005-12-15 12:27:48 +00:00
jez_higgins
071e62b2dd
Factored out the XML escaping stuff
2005-12-14 14:49:57 +00:00
jez_higgins
f8f3af0a76
From: Isak Johnsson, isak@hypergene.com
...
gcc cannot be used as the linker for C++ on Mac OS X
see http://www.cocoabuilder.com/archive/message/xcode/2005/11/21/1356
use g++ instead of gcc
2005-12-13 14:08:05 +00:00
jez_higgins
8ecc72511f
getAttribute now returns a const string_type&
2005-12-09 16:01:31 +00:00
jez_higgins
e6099cc42f
getData now returns a const string_type&
2005-12-09 15:57:21 +00:00
jez_higgins
7a32af4507
getTarget now returns a const string_type&
2005-12-09 15:55:29 +00:00
jez_higgins
affb66609e
getValue now returns a const string_type&
2005-12-09 15:54:23 +00:00
jez_higgins
427d8b64f2
getName now returns a const string_type&
2005-12-09 15:53:05 +00:00
jez_higgins
eebbdbf121
getNodeValue, getNamespaceURI, getPrefix and getValue all now return const string_type& instead of string_type
2005-12-09 15:49:52 +00:00
jez_higgins
99d08a5fd4
corrected prefix handling
2005-12-09 15:20:08 +00:00
jez_higgins
3bc05eafdf
getNodeName now returns const stringT&
2005-12-09 14:17:53 +00:00
jez_higgins
d21c753efd
getNodeName now returns const stringT&
2005-12-09 14:09:32 +00:00
jez_higgins
756e0f6876
getTagName now returns const stringT&
2005-12-09 14:09:08 +00:00
jez_higgins
ba05fced6e
types: removed private destructor to quiet a GCC warning. types isn't actually instantiated anywhere
2005-12-09 12:04:28 +00:00
jez_higgins
9fc4a8b000
Element & attribute names and namespace URIs are now held in a
...
string pool attached the owning document.
The string pool is just a std::list, because it gives us stable pointers
into the contents. Easy!
2005-12-09 11:49:03 +00:00
jez_higgins
03661daaf8
reverted to runtime_error to bad_cast because that's what it is
2005-12-09 11:46:53 +00:00
jez_higgins
116385f350
Borland workarounds submitted by Eric Britz
2005-12-07 16:09:37 +00:00
jez_higgins
bc15f5eedf
builds with Cygwin
2005-12-07 11:23:44 +00:00
jez_higgins
2364434694
Rather alarmingly, this won't build is language extensions are turned off, even though everything appears to be correct
2005-12-07 10:52:48 +00:00
jez_higgins
35acd2eea7
Added third template parameter to wrappers, together with a bit of
...
meta-programming magic so that everything builds through with MSXML.
See http://www.jezuk.co.uk/cgi-bin/view/SAX/news?id=2713 for details of
the problem.
This may break VC6, but I haven't checked
2005-12-07 10:51:00 +00:00
jez_higgins
a36a7adde7
identical to utf16utf8codecvt but better named
2005-12-07 10:48:15 +00:00
jez_higgins
2563eee75c
added DualMode
2005-12-06 11:20:42 +00:00
jez_higgins
80617d400a
increased buffer sizes
2005-12-02 17:04:56 +00:00
jez_higgins
7bcc01a51e
Initial work on a dual tree/streaming mode DOM Parser
...
This work is based on something worked up by Terris Linenbach. The callback
interface will be extended, but I'm kind of feeling my way with this.
Comments welcome.
2005-12-01 16:13:42 +00:00
jez_higgins
9e418db8e2
include file fixes
2005-11-28 12:40:20 +00:00
jez_higgins
77e654d41b
Cygwin fixes
2005-11-28 12:39:13 +00:00
jez_higgins
96c6da64c4
implement Node::purgeChild
2005-11-25 22:39:16 +00:00
jez_higgins
2b051fc1ff
gcc 4.0.2 fixes
...
Use ARABICA_NO_WCHAR_T to exclude the bits that don't build under Cygwin
2005-11-25 15:54:08 +00:00
jez_higgins
b312078ac5
Corrected so they actually build the right things :)
2005-11-25 15:53:28 +00:00
jez_higgins
f9079bb67f
gcc 4.0.2 fixes
2005-11-25 13:47:27 +00:00
jez_higgins
d1cd312267
qualify calls down to base class properly - not quite sure why i missed this before
2005-11-25 00:44:20 +00:00
jez_higgins
48b7995fa8
when following one's own advice, it's best to do it properly
2005-11-25 00:20:18 +00:00
jez_higgins
a6be9bb5ad
gcc 4.0 (and Standard in general) compatibility fix
...
from Isak Johnsson <isak@hypergene.com>
2005-11-23 10:45:27 +00:00
jez_higgins
134b343711
Finally took my own advice on how to write custom streams :)
...
See http://www.jezuk.co.uk/accu2005/stream-a-poloza/html/ from about slide 30
2005-11-22 12:57:45 +00:00
jez_higgins
9bc4f06dfb
Took my own advice. See from about slide 30 of
...
http://www.jezuk.co.uk/accu2005/stream-a-poloza/html/
2005-11-22 11:25:42 +00:00
jez_higgins
1f0a08f25d
fixed completed mindo in badIndex
2005-11-21 09:53:59 +00:00
jez_higgins
06fdcf08fb
improved error reporting a bit - add test name to failure message
2005-11-17 22:07:25 +00:00
jez_higgins
8c4d35e362
updated test now validation defaults off
2005-11-17 22:06:50 +00:00
jez_higgins
3f74d5b50e
string_adaptor fixes
2005-11-17 22:06:12 +00:00
jez_higgins
98d22e37b6
default validation to off - otherwise Xerces is liable to complain in a large way
2005-11-17 22:05:47 +00:00
jez_higgins
c14849a3c6
added construct_from_utf16
2005-11-17 22:05:06 +00:00
jez_higgins
54018ef676
improved fail reported
2005-11-17 15:46:52 +00:00
jez_higgins
a975b7f08a
Fixed attribute handling in the face of namespaced attributes
2005-11-17 15:45:59 +00:00
jez_higgins
464de99172
string_adaptor fixes
2005-11-17 12:45:49 +00:00