Commit graph

563 commits

Author SHA1 Message Date
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
304ddc6124 Fix for gcc4.7 provided by oncaphillis@snafu.de 2012-09-07 19:50:16 +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 Higgins
3b54b7482a Fixed includes for DOMException - all this time they'd been wrong :( 2011-11-26 09:19:56 +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
247b2170a0 if no namespace, assume in the XSL namespace 2011-01-01 22:58:29 +00:00
jez
e4fd3c8239 If node doesn't belong to this element, complain 2010-12-29 15:41:56 +00:00
jez
90156036c0 return oldChild not newChild when replacing with a docfragment 2010-12-29 00:11:20 +00:00
jez
6c749609c0 recalculate value if child nodes are fiddled with 2010-12-29 00:10:05 +00:00
jez
a71a89e918 calculate proper node value when it has entity ref children 2010-12-27 13:43:39 +00:00
jez
6dd167b363 factored out attribute node value 2010-12-27 13:35:40 +00:00
jez
d7b9375eba rejigged overrides 2010-12-27 13:06:18 +00:00
jez
16463bbd83 pop exception if trying to remove an item that doesn\'t exist. yay\! 2010-12-27 00:27:57 +00:00
jez
d45b5bbcb5 Check that inserted node isn't an ancestor of the new parent 2010-12-26 22:56:15 +00:00
jez
a8540e640a check ownerdocument of inserted node 2010-12-26 22:20:33 +00:00
jez
56a3f9397f Check attribute names in setAttribute 2010-12-24 22:44:43 +00:00
jez
92090f6377 Checked element/attribute/pi names are valid 2010-12-24 22:00:49 +00:00
jez
968671c82d Checked element/attribute/pi names are valid 2010-12-24 21:42:30 +00:00
jez
5d572fef10 Whitespace changes 2010-12-24 21:42:06 +00:00
jez
6999f61599 Whitespace changes 2010-12-24 21:41:45 +00:00
jez
59ec067f96 Removed old CVS Id tag 2010-12-24 21:40:58 +00:00
Jez Higgins
8a9115fd53 Pulled out a couple of helper functions. Reworked CDATA output so it properly outputs wacky CDATA sections with ]]> in them. 2010-12-23 22:51:44 +00:00
Jez Higgins
2e1f279786 Added find(str, what, from) to the default_string_adaptor 2010-12-23 22:50:43 +00:00
jez
dbfcf1c41b fix output for CDATA sections that contain ]]> 2010-12-21 09:47:22 +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
bbc95fdbb2 If an internal entity declaration looks like markup, parse it as markup rather than just treating it as a bit of text 2010-12-17 10:19:37 +00:00
jez
7e9722ddc3 Corrected normalization - only adjacent text nodes should be combined 2010-12-17 10:18:14 +00:00
Jez Higgins
50c39c533c Added a couple of using declarations that clang needed 2010-12-15 10:09:43 +00:00
jez
dcbb59b2e8 Default setNodeValue is to do nothing. 2010-12-11 01:12:03 +00:00
jez
9643b42edd Can now safely add an attribute the element that already owns it 2010-12-11 01:11:22 +00:00
jez
a17944bd9f Correct DOMException CODE enum values 2010-12-11 01:10:21 +00:00
jez
bec9948659 Corrected exception specifier on DOMBadCast destructor 2010-12-10 09:29:10 +00:00
jez
f7146a5668 Improved DOM casting error messages 2010-12-10 09:24:34 +00:00
jez
ce69150111 Improved error reporting. Fixed a couple of test functions in dom_conf_test. Skip a couple of entityRef tests 2010-12-09 19:03:23 +00:00
Jez Higgins
ef878d91a2 Got conformance tests compiling and running on Linux 2010-12-09 14:04:13 +00:00
jez
33d08c77a1 DOM Level 1 Conformance fixes found with first pass of W3C conf tests 2010-12-09 11:35:54 +00:00
Jez Higgins
99823ee8b5 Qualified sputc,setg,setp calls so compiles with clang++. Thanks Isak Johnsson 2010-11-20 14:39:06 +00:00
jez
af44166e99 Silence unused variable warning 2010-10-22 10:32:03 +01:00
Jez Higgins
8f3b621410 Added new include file into distribution 2010-10-09 23:52:16 +01:00
Jez Higgins
144fb9a6d6 Disallow variable references in xsl:key match and use expressions 2010-10-09 23:10:35 +01:00
Jez Higgins
ffec8d53b9 Modified XPath parser/compiler so that we can disallow variables at compile time 2010-10-09 22:29:13 +01:00
Jez Higgins
c2d1e42c20 Modified XPath parser/compiler so that we can disallow variables at compile time 2010-10-09 22:04:56 +01:00
Jez Higgins
f8d7701f12 Named templates now take precedence into account - templates with higher precedence are discarded 2010-10-07 22:48:03 +01:00
Jez Higgins
3beed1d092 Verify that qNames used in the stylesheet (for template names and what not) have prefixes which are actually bound 2010-10-06 22:37:01 +01:00
Jez Higgins
981fd4e9e3 Failed if namespace was explicitly given as empty. Fixed 2010-10-05 09:39:58 +01:00
Jez Higgins
ccc4836fd7 Allow and ignore attributes in foreign namespaces 2010-10-05 09:39:05 +01:00
Jez Higgins
eda354be6d Correctly implement the xsl:sort option attributes as attr-value-templates. Validate values *after* evaulated AVT, not before. Doh 2010-10-04 22:18:39 +01:00
jez
d322e15038 Explicitly compare pointer to zero to silence a rather pointless VS warning 2010-10-04 12:14:04 +01:00
jez
c1b21c0790 Explicitly compare pointer to zero to silence a rather pointless VS warning 2010-10-04 12:08:33 +01:00
Jez Higgins
d28849dc48 Finally sorted out the attributes and their namespaces issues. hurrah 2010-10-03 16:08:54 +01:00
Jez Higgins
8f41a01b88 Fix for non-std::string classes 2010-08-20 21:32:22 +01:00
Jez Higgins
3eb404dcd9 Updated for Xerces changes 2010-08-20 21:31:55 +01:00
Jez Higgins
abaaaf4cc4 Generate a namespace prefix for unprefixed attributes in namespaces. It's a start, but needs to check for clashes. I also wonder if there are cases when I need to generate them for elements too. Hmmm 2010-07-14 22:36:05 +01:00
jez
7e8752fe30 Getting DOM operator<< to work with other strings 2010-07-14 09:08:46 +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
a1ed87da31 fix segfault using MSXML 2010-05-19 20:22:22 +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
04754750c5 fixed initialisation order warnings 2010-02-21 22:29:06 +00:00
Jez Higgins
94a28f07f8 filled out element-available implementation 2010-02-21 22:14:04 +00:00
Jez Higgins
44b5d6ed3a whipped up a quick do-nothing (ie broken) implementation of element-available 2010-02-21 18:35:58 +00:00
Jez Higgins
7977423180 fixed warning 2010-02-20 23:39:38 +00:00
Jez Higgins
bd9052e486 think I finally done function-available 2010-02-20 23:25:36 +00:00
Jez Higgins
3557ec2d37 simplified parseQName so you can pass in a std::map if you fancy 2010-02-20 23:24:31 +00:00
Jez Higgins
cbc3f6e8d6 still chipping away at function-available 2010-02-20 21:56:47 +00:00
Jez Higgins
fb380c8e08 fixed warnings 2010-02-20 13:47:07 +00:00
Jez Higgins
c35185a64c add hasFunction to FunctionResolver interface 2010-02-20 13:03:22 +00:00
Jez Higgins
9d7384c8ef fixed unused parameter warnings 2010-02-20 09:27:32 +00:00
Jez Higgins
67c5ae7846 pulled out a seperate function resolver for Standard XPath functions 2010-02-20 09:13:53 +00:00
Jez Higgins
4e29877ac1 initial implementation of function-available, currently returned only false 2010-02-19 23:21:30 +00:00
jez
427129f83d refactored string sorting 2010-02-16 10:18:29 +00:00
jez
95c8185828 refactored numeric sort 2010-02-16 08:59:45 +00:00
Jez Higgins
fe2ac49555 install includes into arabica subdirector 2010-01-14 16:09:40 +00:00
Jez Higgins
39d706d038 updated build to explicitly list all the includes, so that they get installed and uninstalled. make distcheck should now work 2010-01-14 14:29:55 +00:00
Jez Higgins
613f99af9d xsl:sort/@lang - still don't do anything with it, but now only output a warning rather than throwing an exception 2010-01-13 22:13:12 +00:00
Jez Higgins
b46b48d006 I think that's the last of the warnings 2010-01-11 09:28:48 +00:00
Jez Higgins
3dc2f255c7 silenced many more warnings 2010-01-11 09:02:17 +00:00
Jez Higgins
953e46ba92 another warning squashed 2010-01-10 22:59:33 +00:00
Jez Higgins
36a305d55b fixed more warnings 2010-01-10 22:02:43 +00:00
Jez Higgins
2e82578767 more warnings silenced 2010-01-10 21:25:35 +00:00
Jez Higgins
327328c9aa more warnings silenced 2010-01-10 20:49:20 +00:00
Jez Higgins
c8bf5a5296 more warnings sorted out 2010-01-10 20:23:53 +00:00
Jez Higgins
7f8d20b46f more warnings fixed 2010-01-10 18:47:09 +00:00
Jez Higgins
65f1c0be23 fixed unused param warnings 2010-01-09 23:45:36 +00:00
Jez Higgins
7fbed3b382 fixed ambiguous else 2010-01-09 23:01:41 +00:00
Jez Higgins
7103c3973a fixed unused param warning 2010-01-09 23:00:39 +00:00
Jez Higgins
549e67f314 silenced unused parameter warnings 2010-01-09 22:58:37 +00:00
Jez Higgins
c0b76904c7 removed redundant check against 0 2010-01-09 22:34:29 +00:00
Jez Higgins
6c55f7f36c silenced unused param warnings 2010-01-09 22:34:13 +00:00
jez
5ec2316aa5 fixed segfault when created doctype before owner doc has been set 2010-01-06 21:52:49 +00:00
Jez Higgins
74f8a55ed4 chmod -x *.hpp 2010-01-02 22:53:28 +00:00
Jez Higgins
181d5eab5c normalize whitespace when extracting CDATA element names 2010-01-02 22:21:38 +00:00
Jez Higgins
29d425528d popped quotes around the wrong thing 2010-01-02 22:20:13 +00:00
Jez Higgins
9d25d0bed0 updated copyright dates 2010-01-01 23:03:33 +00:00
Jez Higgins
7e62969c6c Fixed double delete problem when removing and readding an attribute 2010-01-01 23:03:01 +00:00
Jez Higgins
d7c3b7c260 reverted work on variables - will come back to it another time 2009-12-14 23:55:56 +00:00
Jez Higgins
5fa42997f4 make each variable its own little stack frame. i am, howver, going to back all this stuff out because I'm getting it wrong in some subtle but segfaulty way 2009-12-14 22:40:05 +00:00
Jez Higgins
9eeb67aa3e convert node type from enum to int to silence gcc warning about exceeding the maximum value of the enum 2009-12-14 22:39:15 +00:00
jez
17e93705ae redirect to DOMSink when evaluating variables. This wasn't being done for ResolvedVariables and so everything was exploding. 2009-12-14 14:20:12 +00:00
jez
80da48a661 Ash Berlin's patch for Element.setAttributeNodeNS 2009-12-06 21:39:46 +00:00
jez
719829f10a Ash Berlin's patch to get Text.splitText working properly 2009-12-06 21:34:46 +00:00
jez
57a1f36532 Applied patch from Ash Berlin which silences a pile of compiler warnings about unused parameters. 2009-12-06 20:48:35 +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
jez
283c48de75 fix to bug identified by Ash Berlin in set/get/removeNamedItemNS 2009-11-25 10:23:27 +00:00
jez
2cb2cc8bbe NamedNodeMap tests and bugfix 2009-11-23 22:36:15 +00:00
jez
3991f80eb2 increment changes with the aim of improviing performance of variables 2009-11-23 21:00:23 +00:00
Alex Ott
2eba62942a add virtual destructors for classes, to avoid warnings when inheriting from these classes 2009-10-06 15:13:17 +02:00
Alex Ott
42f85936fa explicit casting, to avoid warnings 2009-10-06 15:12:43 +02:00
Alex Ott
975cca8c20 Use proper boost includes for different boost versions
starting from boost 1.38, there is boost.spirit v2 in the repository, older version
could be used as 'classic'
2009-10-06 12:38:30 +02:00
jez
6785fd8944 litte bit more work on variable resolution, but train in v wobbly and it giving me a headache 2009-10-05 19:27:24 +01:00
jez
29f73f285b When declaring a parameter, only create a new variable closure if a parameter
hasn't been passed.
2009-08-18 21:16:12 +01:00
jez
db940c9b78 Pass select by const ref not by value 2009-08-18 20:42:37 +01:00
U-isla\jez
2adf2618ed Pulled static const int definitions out into cpp file 2009-08-01 08:48:41 +01:00
jez
9d72ecf556 More work on optimising expression evaluation. 2009-07-31 17:44:54 +01:00
jez
1f12f0a2f0 nodeset functions now use NodeSetXPathFunction base class 2009-07-13 09:24:26 +01:00
jez
b56f09d2d9 added NodeSetXPathFunction base class 2009-07-13 09:24:03 +01:00
jez
428121bab4 moved string functions to use StringXPathFunction base class 2009-07-13 09:13:50 +01:00
jez
bbcae98bec renamed XPath function base classes, moved out of impl namespace 2009-07-13 09:13:11 +01:00
jez
41b0da452f added StringFunction base class 2009-07-13 08:47:46 +01:00
jez
c65cb5c8aa added NumericExpression and NumericFunction base classes 2009-07-13 08:24:52 +01:00
jez
7e3caeb2d0 converted AxisEnumerator to uses Node_impl* internally 2009-05-19 09:24:19 +01:00
jez
4611919eff whitespace changes 2009-05-18 19:33:04 +01:00
jez
a46276eb57 Reworked to reduce number of temporary objects created 2009-05-12 09:18:56 +01:00
jez
9167533dc8 compiled recent changes with GCC so made the necessary standard compliance fixes :) 2009-05-11 19:33:48 +01:00
jez
50e46f3bcc refactored to eliminate temporary object creation 2009-05-11 10:24:51 +01:00
jez
50fbb691cd efactgoring to avoid creating so many temporary objects when evaluation expressions and values 2009-05-11 08:55:52 +01:00
jez
014ea05879 updated TO-DO to include various performance improvement ideas 2009-05-05 19:30:47 +01:00
jez
d681db69b2 Literal result element as stylesheet - done 2009-04-28 20:59:52 +01:00
jez
9f6fbba927 removed left over stuff for foreign element handling 2009-04-28 09:00:05 +01:00
jez
7b1c5c9541 started on literal result elements as stylesheet 2009-04-28 08:57:14 +01:00
jez
bf5799eefd pulled foreign element handling - fixed parameter order inconsistency 2009-04-24 19:02:14 +01:00
jez
6081659b71 neatening 2009-04-24 15:54:13 +01:00
jez
62b24c144d Resolved cdata-section-element names so that unprefixed names are in the default namespace. Merge multiple xsl:output/@cdata-section-elements 2009-04-07 13:39:31 +01:00
jez
b70e521d79 hooked up cdata-section-elements to the output 2009-04-07 10:29:56 +01:00
jez
f6dfa127a1 OK, forget what I said about state machines, let just hack in some flags.
Initial work on CDATA section output.  If I manually populate the set of 
cdata section elements, everything looks great, so I just need to hook that up.
Added operator< to QName so I pop it in a std::set.
2009-04-03 19:01:26 +01:00
jez
89f6585d65 pulled output into its own file 2009-03-31 20:06:06 +01:00
jez
f373a1d01b some work on implementing cdata section output, then realised it would probably be easier if I dropped a state machine in there 2009-03-31 20:00:26 +01:00
jez
7dd3cb4ab4 blow up if we see an extension prefix declaration 2009-03-31 09:15:32 +01:00
jez
94d5a26c6c skip test for two arg version of document() - not yet implemented 2009-03-27 08:30:28 +00:00
jez
4f28c8ae71 key as match pattern now runs - woo 2009-03-23 19:38:59 +00:00
jez
0a6f2071eb Id and Key match patterns now compile 2009-03-23 19:08:04 +00:00
jez
83cd0cd15b working on the IdKey match pattern - currently crashes 2009-03-17 21:08:26 +00:00
jez
9f4c8d213a xsl:stylesheet can have an id attribute 2009-03-17 19:07:00 +00:00
jez
67e8a31360 allow whitespace within xsl:output 2009-03-17 09:07:22 +00:00
jez
334317f422 filename case fixes 2009-03-12 20:00:35 +00:00
jez
8cadf886d0 Got Taggle test passing.
Rework Taggle's internal Element class to use a reference counting scheme, 
so it's passed around by reference, rather than y value (and hence having lots of copying).  I think the ref-counting is correct, but I haven't checked it yet.
2009-03-12 09:49:45 +00:00
jez
55e7094204 whitespace changes 2009-03-09 22:52:34 +00:00
jez
8f97c52f8a added copy constructor to KeyFunction::UriMapper - some compilers want to copy, while the cooler ones can optimise that copy away :) 2009-03-04 20:34:30 +00:00
jez
b01c03f591 exclude attributes in the XSL namespace from literal elements 2009-03-03 18:15:34 +00:00
jez
b6c83a0028 corrected key population when use is a union 2009-03-03 08:12:26 +00:00
jez
9ddbb95491 implemented nodeset version of key() 2009-03-03 07:58:29 +00:00
jez
88150c062e use NodeSet.to_document_order instead of sort 2009-03-03 07:58:14 +00:00
jez
d7602d5a7d Windows compatibility fix - it defines min as a macro, so use bracket function call to defeat it 2009-02-26 14:38:23 +00:00
jez
e33535905a propagating qualified name changes 2009-02-26 14:04:41 +00:00
jez
4af8e6472e keys stored on a per-document basis, as per the end of rec 12.2 2009-02-26 10:30:16 +00:00
jez
8cb5109ac1 keys now look something up. yay! 2009-02-26 10:16:49 +00:00
jez
ff835d03c0 Pass inscope namespaces to key functions so it can resolve key names at runtime
key() now works (bar nodeset argument)
just need to do the key lookup
2009-02-26 09:32:55 +00:00
jez
b494ffe317 added push_back(NodeSet) 2009-02-26 09:32:02 +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
a958b03544 parameterised XML string tests on string_adaptor
hooked into qname parsing
2009-02-23 19:23:12 +00:00
jez
412a7f2204 initial version of parseQName 2009-02-23 09:14:35 +00:00
jez
31b8d99a83 parameterised QualifiedName 2009-02-23 08:38:50 +00:00
jez
32bc0e6597 decided to go with prefixes after all 2009-02-23 07:57:24 +00:00
jez
46d51800aa Fix to uri parsing so that something like
http://www.google.com
finishes up with www.google.com as the host, and not the path.
Yay.
2009-02-20 23:00:01 +00:00
jez
2fd1f52ace starting xsl:key/key()
started qnmae refactoring
2009-02-18 22:48:35 +00:00
jez
297345f3c3 started filling out xsl:key and keys. need to do a bit of refactoring around QNames now, to make everything a little easier 2009-02-18 09:36:41 +00:00
jez
b22708f126 s/XPathValuePtr/XPathValue/ 2009-02-18 08:37:16 +00:00
jez
0b2bb658b9 Skinned up skeleton implementation of key() function. Doesn't do anything yet though :) 2009-02-18 08:37:00 +00:00
jez
4d9c2a485a started work on xsl:key/key() 2009-02-16 22:10:00 +00:00
jez
c7a3f9be3f improved validation on template priority value 2009-01-03 21:41:26 +00:00
jez
2877e7e9b7 escape tab, CR, & LF in attribute values 2009-01-02 23:08:22 +00:00
jez
e944732d82 detects loops in imports as well as includes 2008-12-29 22:29:27 +00:00
jez
8c65657d84 added currentBase - handy for debugging 2008-12-29 22:29:04 +00:00
jez
73a90f502d catch include loops 2008-12-29 21:14:44 +00:00
jez
ab4f951840 fixed top level variable precedence 2008-12-02 11:26:58 +00:00
jez
0a2220dbb0 added operator<< back in for debugging 2008-12-02 11:26:28 +00:00
jez
cd97e2aa58 Correct top level variable declarations 2008-11-25 12:49:25 +00:00
jez
38d2783be3 Finally! Determining import precedence for templates is properly correct. 2008-11-25 12:27:33 +00:00
jez
fe40d482f5 Aha! The push/pop precedence thing is, of course, wrongly wrong. Need to assign the new precedence at the point we encounter the xsl:import, then set that precedence as current when we actually load it. I'll sort that out next time, because it's bedtime for programmers now. 2008-11-24 23:11:22 +00:00
jez
538a8969ad seed the Precedence next generation differently, so can pop as well as just push precedence stack as we unwind imports 2008-11-24 22:26:58 +00:00
jez
6f39b28daa Reworked current_generation stuff to use the templates' Precedence instead of a plain old int 2008-11-24 22:05:16 +00:00
jez
f610d739fe More work on rejigging precedence.
Templates are now constructed with their precedence.
Variables are too, with a tweak to allow for the immediate evaluation of non-topl-level params and vars.
The execution context now no longer needs to track variable precedence, which is good because it will be getting it wrong anyway.
Corresponding simplifications follow to compliation context.
2008-11-19 17:26:07 +00:00
jez
8d0ce36da3 Rework variable handling to use the Precedence class. Currently it has the same (incorrect) behaviour as before, but it's all part of moving to towards (what I hope will be) proper import precedence handling. 2008-11-05 22:55:53 +00:00
jez
e8c0aaa416 Started work on refactoring precedence handling. Need to try and preserver the tree shape it forms, rather than a simple case of monotonically increasing precen
I mean decreasing precedence.
2008-11-05 02:57:18 +00:00
jez
2b2c09b1f3 Took out unparsed-entity-uri(). Not having it is better than have a neutered version. 2008-11-05 02:55:44 +00:00
jez
6c8a3e8404 hmm, I'll be needing this to make the previous checkin actually work 2008-11-05 02:54:49 +00:00
jez
b74514bc58 Shuffled around the Stylesheet class. Stylesheet is now the public face, while CompiledStylesheet is what gets chucked around internally. 2008-11-05 01:33:28 +00:00
jez
f74170e268 In XPath numbers do not have leading +, so, while '-1.5' converts to -1.5,
'+1.5' converts to NaN.  Weird and counter-intuitive perhaps, but it's there
in the spec.

Sort now sets context node appropriately, so current() works in sorting 
expressions.
2008-11-03 22:19:59 +00:00
jez
db54b7c7bc In XPath numbers do not have leading +, so, while '-1.5' converts to -1.5, '+1.5' converts to NaN. Weird and counter-intuitive, but in the spec. 2008-11-03 18:29:10 +00:00
jez
57f793ccc8 provided null implementation for unparsed-entity-uri 2008-10-27 22:20:49 +00:00
jez
4e418a8622 Implemented generate-id function 2008-10-27 19:13:47 +00:00