Commit Graph

10 Commits

Author SHA1 Message Date
3aada6fb89 various docstrings; release 2008-11-30 14:10:56 +01:00
6a4a3be00f fixed sax:unescaped on the broadcast sink 2008-03-23 20:45:55 +00:00
aee7890e8d hax:%want-strings-p 2007-10-21 17:07:23 +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
7fa3307ec8 added sax-parser-mixin to broadcast-handler 2007-05-20 09:38:35 +00:00
b8ba07a919 + <li>New class <tt>broadcast-handler</tt> as a generalization
+      of the older <tt>sax-proxy</tt>.</li>

+      <li>New class <tt>tapping-source</tt>, a klacks source that
+      relays events from an upstream klacks source unchanged, while also
+      emitting them as SAX events to a user-specified handler at the
+      same time.</li>

+      Fixed serialize-event to generate
+      start-prefix-mapping and end-prefix-mapping events.  New function
+      map-current-namespace-declarations.</li>
2007-04-22 13:23:54 +00:00
b0615afdd9 whitespace normalizer 2005-12-29 00:31:30 +00:00
5363dadbb8 namespace normalization 2005-12-11 23:56:45 +00:00
938dca13b5 + <li>Gilbert Baumann has clarified the license as Lisp-LGPL.</li> 2005-11-28 22:33:29 +00:00
d6ca7664f4 Initial revision 2005-03-13 18:02:10 +00:00