Commit Graph

208 Commits

Author SHA1 Message Date
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
bd01a3cc02 need to :use trivial-gray-streams to fix the previous ci 2007-06-30 21:22:24 +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
ee394c591d XMLS compatibility is not <i>bug-for-bug</i>-compatible with
XMLS any more.  There is now a mode using pairs of local name
        and namespace URI, and a second mode using qualified names
        only.  The old behaviour using pairs of prefix and local names
        was removed.  (Thanks to Douglas Crosher.)
2007-06-16 11:07:58 +00:00
0d4ab8c766 DTC patch-xmlconf
o dribble-tests: 'run-all-tests require the parser function.
2007-06-16 10:03:11 +00:00
db31b727ca DTC patch-rune
o make-string-sink/utf8, make-character-stream-sink/utf8: these functions
  are not needed when compiling with the :rune-is-character feature.
2007-06-16 10:02:43 +00:00
65269e5ff3 DTC patch-dom
o translate-uri-equals: should work on all CL implementations, not
  just the Allegro CL because 'puri' is used for compatibility.
2007-06-16 09:52:15 +00:00
5c597c9bce <li>Serialization no longer defaults to canonical form.</li> 2007-06-16 09:42:06 +00:00
ccbfd1e747 do what the documentation says and allow an octets argument to make-source 2007-06-16 09:41:22 +00:00
e1736fbcd4 runes.asd 2007-05-26 22:05:13 +00:00
b0c212b75e runes.asd
neues release
2007-05-26 21:55:57 +00:00
f88950238f workaround for common-lisp-controller 2007-05-20 09:39:04 +00:00