a serialization test
This commit is contained in:
@ -138,6 +138,12 @@
|
|||||||
pathname
|
pathname
|
||||||
(rune-dom:make-dom-builder)
|
(rune-dom:make-dom-builder)
|
||||||
args)))
|
args)))
|
||||||
|
;; If we got here, parsing worked. Let's try to serialize the same
|
||||||
|
;; document. (We do the same thing in canonical mode below to check the
|
||||||
|
;; content model of the output, but that doesn't even catch obvious
|
||||||
|
;; errors in DTD serialization, so even a simple here is an
|
||||||
|
;; improvement.)
|
||||||
|
(apply *parser-fn* pathname (cxml:make-rod-sink) args)
|
||||||
(cond
|
(cond
|
||||||
((null output)
|
((null output)
|
||||||
(format t " input"))
|
(format t " input"))
|
||||||
|
|||||||
Reference in New Issue
Block a user