Fix asd file for ASDF 3.3
Follow convention for secondary system names. Fix to find the DTD pathname the correct ASDF 2+ way.
This commit is contained in:
@ -226,14 +226,12 @@
|
||||
(warn "ignoring catalog error: ~A" c))))
|
||||
|
||||
(defparameter *catalog-dtd*
|
||||
(let* ((cxml
|
||||
(slot-value (asdf:find-system :cxml) 'asdf::relative-pathname))
|
||||
(dtd (merge-pathnames "catalog.dtd" cxml)))
|
||||
(with-open-file (s dtd :element-type '(unsigned-byte 8))
|
||||
(let ((bytes
|
||||
(make-array (file-length s) :element-type '(unsigned-byte 8))))
|
||||
(read-sequence bytes s)
|
||||
bytes))))
|
||||
(let ((dtd (asdf:system-relative-pathname :cxml "catalog.dtd")))
|
||||
(with-open-file (s dtd :element-type '(unsigned-byte 8))
|
||||
(let ((bytes
|
||||
(make-array (file-length s) :element-type '(unsigned-byte 8))))
|
||||
(read-sequence bytes s)
|
||||
bytes))))
|
||||
|
||||
(defun parse-catalog-file/strict (uri)
|
||||
(let* ((*catalog* nil)
|
||||
|
||||
Reference in New Issue
Block a user