23 Commits

Author SHA1 Message Date
4c11d5b68a Output encoding support, using Babel 2008-04-13 16:48:24 +02:00
4ffbc14670 new slot omit-xml-declaration-p on sink 2007-12-02 20:56:42 +00:00
77db951f12 cxml:unescaped, sax:unescaped 2007-11-18 18:43:10 +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
95b3f65a4b new function cxml:parse 2007-07-07 20:47:38 +00:00
d9fe9dfd51 new function cxml:doctype 2007-07-01 18:52:26 +00:00
fb9a2fa002 SCL support (thanks to Douglas Crosher). Includes support for
implementations where URIs are valid namestrings, and a mode
        where normal streams are used instead of xstreams and ystreams
        (albeit both SCL-specific at this point).
2007-06-16 11:27:18 +00:00
41ee5ae24d Added new functions attribute*, unparse-attribute, and macro with-element*,
with-namespace* to the SAX generation wrapper API.
2007-05-01 20:06:59 +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
0596a0e63d klacks parser 2007-02-11 18:21:20 +00:00
aac4cb719c - Define CXML:ATTRIBUTE as a generic function, and a method for integers.
- Define /UTF8 sinks even on Unicode-aware implementations for backward-
  compatibility.  (Undocumented feature.)
2006-12-02 13:21:36 +00:00
111b5db45a new function parse-empty-document 2006-08-20 13:58:30 +00:00
b0615afdd9 whitespace normalizer 2005-12-29 00:31:30 +00:00
4df5d1d054 parse-string in parse-rod umbenannt und exportiert 2005-12-28 23:18:04 +00:00
b5bd89f643 sink reorganization 2005-12-28 23:11:18 +00:00
dbb2732913 utf8-dom fixes.
recoding nach utf-8 jetzt der default.
2005-12-27 01:35:13 +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
ab0a676042 -ibm/not-wf/P32/ibm32n09.xml [not validating:] FAILED:
-  well-formedness violation not detected
-[
-    This is test violates WFC: Entity Declared in P68.
-    The standalone document declaration has the value yes, BUT there is an
-    external markup declaration of an entity (other than amp, lt, gt, apos,
-    quot), and references to this entity appear in the document.
-  ]
2005-11-27 18:41:06 +00:00
755ee198af So, und jetzt wollen wir auch noch die richtige Klasse von Fehler sehen.
"Von 0 auf 1005 in einem check-in."

-0/1786 tests failed; 376 tests were skipped
+1005/1786 tests failed; 376 tests were skipped
2005-11-27 00:51:32 +00:00
241b24ac25 - use trivial-gray-streams
- replaced dep-* files, since most of them were identical
2005-11-26 21:48:15 +00:00
c7610a4a3a LispWorks port (thanks to Edi Weitz) 2005-04-20 19:57:59 +00:00
d6ca7664f4 Initial revision 2005-03-13 18:02:10 +00:00