-xmltest/not-wf/sa/076.xml [not validating:] FAILED:

-  The value NIL is not of type CXML::DTD.
-[
-    Undefined ENTITY foo. ]
This commit is contained in:
dlichteblau
2005-11-27 13:03:01 +00:00
parent ce617349ca
commit 5106ced596
2 changed files with 4 additions and 5 deletions

View File

@ -888,6 +888,8 @@
(cons *markup-declaration-external-p* def)))))
(defun get-entity-definition (entity-name kind dtd)
(unless dtd
(wf-error "entity not defined: ~A" (rod-string entity-name)))
(destructuring-bind (extp &rest def)
(gethash entity-name
(ecase kind