Commit Graph

219 Commits

Author SHA1 Message Date
bef1a51b3c moved find-output-encoding to closure-common, thanks to Nathan Bird 2008-05-19 23:58:28 +02:00
1a3e364d94 new test case 2008-05-16 17:01:27 +02:00
77d915505e Fixed condition class in not-wellformed document with the STP builder 2008-04-26 17:01:18 +02:00
4c11d5b68a Output encoding support, using Babel 2008-04-13 16:48:24 +02:00
6a4a3be00f fixed sax:unescaped on the broadcast sink 2008-03-23 20:45:55 +00:00
c5dbf00ef6 documentation update 2008-03-02 17:03:11 +00:00
1080d8de10 add XPath support for xmls-compat 2008-02-24 19:03:48 +00:00
0f3e11cee9 fixed PARSE for non-file-streams 2008-02-19 18:53:06 +00:00
1cc473b918 represent base uris as strings, not puri objects 2008-02-08 21:43:12 +00:00
f0bbf4abf0 Use 21 bit characters on Lisp offering them. 2007-12-22 15:24:52 +00:00
491e293503 Fixed klacks-error export, thanks to Andreas Fuchs. 2007-12-22 15:24:36 +00:00
26bc6c356b a serialization test 2007-12-02 20:57:04 +00:00
4ffbc14670 new slot omit-xml-declaration-p on sink 2007-12-02 20:56:42 +00:00
bc8dbf6d51 fixed variable name in with-source 2007-12-02 20:56:23 +00:00
e36eb23a3c fixed the asdf-install workaround 2007-12-02 20:55:11 +00:00
37b4873ee4 fixed DTD serialization bugs, thanks to _3b for the report 2007-11-24 00:04:16 +00:00
77db951f12 cxml:unescaped, sax:unescaped 2007-11-18 18:43:10 +00:00
a50f1c7b64 fixed xmls compatibility for recent sax changes 2007-11-18 18:43:00 +00:00
336e067887 release 2007-10-21 18:39:40 +00:00
aee7890e8d hax:%want-strings-p 2007-10-21 17:07:23 +00:00
35847cb2de Another HAX fix:
* xml/sax-handler.lisp: Signal a warning in deprecated method,y
        not an error.
2007-10-21 14:43:20 +00:00
1c8b1a0ab8 More documentation bits and HAX fixes:
* xml/sax-handler.lisp: Remove namespace attributes in
	HAX-to-SAX conversion.  Signal a warning in deprecates methods,
	not an error.
2007-10-21 14:16:24 +00:00
cdbe1682b7 HAX namespace stuff
* xml/sax-handler.lisp (HAX:START-ELEMENT, HAX:END-ELEMENT):
	Declare and undeclare the xhtml namespace on elements called
	"HTML".
2007-10-14 20:19:35 +00:00
378af1f38a HAX integration buglet
* xml/sax-handler.lisp (HAX:START-DOCUMENT): Write a doctype only
	if a system ID was given.
2007-10-14 19:04:36 +00:00
df50f2547d Fixed (parse xstream ...).
* xml/xml-parse.lisp (PARSE): Call parse-xstream, not
        make-xstream.
2007-10-14 18:40:26 +00:00
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
3af12e21a0 removed runes.asd 2007-10-07 15:13:55 +00:00
1e1aac7b8e updated documentation for the closure-common split 2007-10-07 14:58:26 +00:00
a2f6478c42 Moved runes/ into its own cvs module under its new name, closure-common. 2007-10-07 14:45:07 +00:00
924382b139 web page update 2007-10-03 15:23:40 +00:00
4f731703de Minor klacks enhancements.
klacks/klacks.lisp (CONSUME-CHARACTERS): New function.

	klacks/package.lisp (KLACKS): Export dribble-handler and
	consume-characters.
2007-10-03 15:22:57 +00:00
319149507a Fixed time and space usage in cases where entity references
follow each other (thanks to Ivan Shvedunov for the report).

	* xml/xml-parse.lisp (P/CONTENT): Removed useless call to append.
	Use loop instead of tail recursion.
2007-10-03 15:21:56 +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
a2990d65ce fixed make-source :buffering nil, thanks to Magnus Henoch for the report 2007-08-29 12:11:17 +00:00
2e94373013 klacks octet array fix (thanks to emarsden for the bug report) 2007-08-23 23:16:00 +00:00
74b8f37b6c new release 2007-08-05 12:01:23 +00:00
0c4635bb07 fixed canonical output of processing instructions 2007-08-05 11:16:15 +00:00
3a37db3e9d fixed the DTD/SAX fix 2007-08-05 11:15:48 +00:00
5fcc11f244 UTF-8 fix, thanks to Francis Leboutte 2007-07-22 19:59:26 +00:00
b0ca8a12da DTD serialization fixes 2007-07-22 19:44:01 +00:00
5142cfe2b8 DTD/SAX fix 2007-07-22 19:43:27 +00:00
bc504276fd new release 2007-07-07 20:47:51 +00:00
95b3f65a4b new function cxml:parse 2007-07-07 20:47:38 +00:00
190f472657 Fixed build on non-Unicode lisps.
Fixed parsing on non-Unicode lisps.
Fixed Unicode detection on OpenMCL.
2007-07-05 20:58:15 +00:00
d9fe9dfd51 new function cxml:doctype 2007-07-01 18:52:26 +00:00
b9630fddfc hacks for stp tests 2007-07-01 17:26:12 +00:00
4e57491ebe removed out-of-date comment 2007-07-01 17:26:04 +00:00
07a604186a new function unparsed-internal-subset 2007-07-01 17:25:45 +00:00
dd08cc3711 escape % in internal entities
new function unparsed-internal-subset
use " to escape IDs containing '
2007-07-01 17:25:39 +00:00
d4658bc57f need to :depend-on trivial-gray-streams to fix the previous ci 2007-06-30 21:24:34 +00:00