3373d65a55
SAX overhaul for HAX integration.
...
* dom/dom-builder.lisp (DOM-BUILDER): Inherit from
sax:content-handler.
* klacks/klacks-impl.lisp (KLACKS-DTD-HANDLER): Inherit from
sax:default-handler.
* klacks/klacks.lisp (KLACKS:SERIALIZE-EVENT): Bugfix -- call
start-cdata and end-cdata on the handler, not the source.
* xml/package.lisp: New export WITH-OUTPUT-SINK.
* xml/sax-handler.lisp (SAX): New exports abstract-handler,
content-handler, default-handler. (STANDARD-ATTRIBUTE): Renamed
from attribute. (ATTRIBUTE-NAMESPACE-URI, ATTRIBUTE-LOCAL-NAME,
ATTRIBUTE-QNAME, ATTRIBUTE-VALUE, ATTRIBUTE-SPECIFIED-P): Wrapper
methods for standard-attribute. Wrapper methods for
hax:standard-attribute. (all events): pulled into a common
define-event form. New dummy method on null. Added a warning to
the default method. New error method on abstract-handler. New
dummy method on the respective default handler classes.
* xml/sax-proxy.lisp (BROADCAST-HANDLER): Inherit from
abstract-handler, not sax-parser-mixin.
* xml/unparse.lisp (sink): Inherit from sax:content-handler.
(WITH-OUTPUT-SINK): New macro. (INVOKE-WITH-OUTPUT-SINK): New
function.
2007-10-14 17:50:11 +00:00
e7884fc9f7
Grow a buffer for string normalization exponentially.
...
* dom/dom-builder.lisp (DOM-BUILDER): New slot `text-buffer'.
(SAX:START-ELEMENT, SAX:END-ELEMENT, SAX:START-CDATA,
SAX:END-CDATA, SAX:PROCESSING-INSTRUCTION, SAX:COMMENT): Call
flush-characters. (SAX:CHARACTERS): Rewritten.
(FLUSH-CHARACTERS): New, based on the old sax:characters.
* dom/dom-impl.lisp ((initialize-instance :after entity-reference)):
Call flush-characters.
2007-10-03 15:17:08 +00:00
5fcc11f244
UTF-8 fix, thanks to Francis Leboutte
2007-07-22 19:59:26 +00:00
2623586d4c
klacks fixes
2007-02-18 14:35:14 +00:00
0596a0e63d
klacks parser
2007-02-11 18:21:20 +00:00
70fd8ddd7d
ANSI conformance fixes
2006-09-10 14:52:44 +00:00
8f5dec364c
fix importing attributes to -really- copy all their slots
2006-08-28 09:04:51 +00:00
86e32cbf75
repaired clone-node of a document without an internal subset
2006-08-27 17:29:39 +00:00
8f2254d820
namespace fixes
2006-08-20 14:59:34 +00:00
6996b06356
new feature: clone-node von document
...
bugfix: entities und notations auch in create-document-type readonly
2006-08-20 12:55:30 +00:00
cdccd6237e
export the DOM interface CLOS classes
2006-08-20 12:19:01 +00:00
0290c95809
mode line oder wie das heisst
2006-01-23 21:54:07 +00:00
09050fe477
kleine anpassungen fuer cl-xmpp
...
neu: do-node-map, map-node-map
2005-12-30 14:21:43 +00:00
b5bd89f643
sink reorganization
2005-12-28 23:11:18 +00:00
a6a31873a8
namespace-normalizer lieber doch nicht per default
2005-12-27 20:17:33 +00:00
36ba984844
sb-unicode backport
...
namespace-korrekturen
noch documentation
2005-12-27 20:01:10 +00:00
dbb2732913
utf8-dom fixes.
...
recoding nach utf-8 jetzt der default.
2005-12-27 01:35:13 +00:00
42987f5dba
utf8-dom
2005-12-27 00:21:27 +00:00
5363dadbb8
namespace normalization
2005-12-11 23:56:45 +00:00
7be80057c5
755/808 nodenormalize01.xml
...
-TEST FAILED: NOT_SUPPORTED_ERR (9):
-No entity resolver registered.
2005-12-11 20:13:04 +00:00
ef9c137e52
687/808 importNode11.xml
...
-TEST FAILED: NOT_SUPPORTED_ERR (9):
-not implemented
2005-12-11 20:07:44 +00:00
f91bc29ffb
782/808 removeAttributeNS02.xml
...
-TEST FAILED: There is no applicable method for the generic function
- #<STANDARD-GENERIC-FUNCTION DOM:NAMESPACE-URI (2)>
- when called with arguments
- (NIL).
2005-12-11 20:04:06 +00:00
61d0b07062
777/808 prefix09.xml
...
-TEST FAILED: expected exception NAMESPACE_ERR
2005-12-11 19:54:56 +00:00
ec9718fa64
756/808 nodesetprefix01.xml
...
-TEST FAILED: The assertion (DOMTEST::EQUALSP DOMTEST-TESTS::|elementTagName|
- #(100 109 115 116 99 58 97 100 100
- 114 101 115 115)
- 'DOMTEST::%EQUAL) failed.
757/808 nodesetprefix02.xml
-TEST FAILED: The assertion (DOMTEST::EQUALSP DOMTEST-TESTS::|newAttrName|
- #(100 111 109 58 97 100 100 114
- 101 115 115)
- 'DOMTEST::%EQUAL) failed.
2005-12-11 19:46:20 +00:00
6101105d6f
tolles OO ist das.
...
747/808 nodehasattributes02.xml
-TEST FAILED: There is no applicable method for the generic function
- #<STANDARD-GENERIC-FUNCTION DOM:HAS-ATTRIBUTES (1)>
- when called with arguments
- (#<DOM-IMPL::DOCUMENT-TYPE {xxxxxxxx}>).
2005-12-11 19:38:09 +00:00
e653fd37a3
694/808 internalSubset01.xml
...
-TEST FAILED: The assertion (NULL DOMTEST-TESTS::|internal|) failed.
2005-12-11 19:35:05 +00:00
58c3cc32c8
importnode07 und namednodemapremovenameditemns02.xml geworkaroundet
...
*nichtueberzeugtsei*
2005-12-11 19:27:59 +00:00
fed3699960
674/808 hc_nodedocumentfragmentnormalize2.xml
...
-TEST FAILED: The assertion (NULL DOMTEST-TESTS::|txtNode|) failed.
2005-12-11 18:47:27 +00:00
f90b5b37d9
639/808 getElementById01.xml
...
-TEST FAILED: There is no applicable method for the generic function
- #<STANDARD-GENERIC-FUNCTION DOM:TAG-NAME (1)>
- when called with arguments
- (NIL).
2005-12-11 18:43:45 +00:00
80558a9122
731/808 namednodemapsetnameditemns06.xml
...
-TEST FAILED: expected exception INUSE_ATTRIBUTE_ERR
732/808 namednodemapsetnameditemns07.xml
-TEST FAILED: expected exception INUSE_ATTRIBUTE_ERR
733/808 namednodemapsetnameditemns08.xml
-TEST FAILED: expected exception INUSE_ATTRIBUTE_ERR
800/808 setNamedItemNS01.xml
-TEST FAILED: expected exception INUSE_ATTRIBUTE_ERR
2005-12-11 18:36:13 +00:00
19bed499dc
586/808 documentimportnode19.xml
...
-TEST FAILED: The slot DOM-IMPL::NAME is unbound in the object #<DOM-IMPL::ENTIT
Y {xxxxxxxx}>.
2005-12-11 18:17:30 +00:00
c045b19e3f
582/808 documentimportnode14.xml
...
-TEST FAILED: The assertion (DOMTEST::EQUALSP DOMTEST-TESTS::|attrValue|
- #(104 116 116 112 58 47 47 119 119
- 119 46 110 105 115 116 46 103
- 111 118)
- 'DOMTEST::%EQUAL) failed.
2005-12-11 18:13:00 +00:00
31f4f22ede
keine version == egal
2005-12-10 20:06:02 +00:00
9eefd87e29
nicht spezifizierte importe sollen NOT_SUPPORTED_ERR geben
2005-12-04 23:26:47 +00:00
de09121dd7
attributknotennamespace beim klonen mitnehmen
2005-12-04 23:23:24 +00:00
194a220a35
auch qname "xmlns" hat einen namespace, falls sax:*sowieso* an ist.
...
und im dom-builder nicht den namen des doctypes pruefen
2005-12-04 23:20:22 +00:00
1b31540480
dom murmel dom
2005-12-04 22:57:30 +00:00
3dce1bffe5
MORE WRONG_DOCUMENT_ERR
2005-12-04 22:25:34 +00:00
31b32fc50e
praefix ohne uri ist verboten
2005-12-04 22:22:29 +00:00
7a9568b320
ohne prefix haben wir beim namespace-processing aber trotzdem einen lname
2005-12-04 22:18:33 +00:00
0ef0e0be0f
(import-node attribute)
2005-12-04 21:44:06 +00:00
a8cfbee393
uh oh. (rod nil) => "NIL"
2005-12-04 21:41:13 +00:00
0233822821
785/808 removeNamedItemNS03.xml
...
-TEST FAILED: expected exception NO_MODIFICATION_ALLOWED_ERR
2005-12-04 21:22:47 +00:00
a8d0f330a0
noch ne runde dom-fixes
2005-12-04 21:15:35 +00:00
8223cd02d4
(setf dom:prefix) korrigiert
2005-12-04 20:46:28 +00:00
9c92b2ba37
am dom rumgeschraubt und sax-defaults geaendert
...
vielleicht teilweise verkehrt
2005-12-04 20:35:13 +00:00
74cb5b7f8c
DOM 2 Core. Ungetestet, aber die 1er tests laufen wieder, daher rein damit.
2005-12-04 18:43:49 +00:00
938dca13b5
+ <li>Gilbert Baumann has clarified the license as Lisp-LGPL.</li>
2005-11-28 22:33:29 +00:00
241b24ac25
- use trivial-gray-streams
...
- replaced dep-* files, since most of them were identical
2005-11-26 21:48:15 +00:00
99546f169e
documents returned by (dom:create-document) don't a have dtd, so don't try to
...
default attribute values
2005-04-06 19:23:18 +00:00