[cxml-devel] Catalog problems
Adam C. Emerson
aemerson at acm.org
Sun Jan 8 21:35:49 UTC 2006
I've been trying to use the CXML catalog feature, but so far I haven't
had any success. Is there something that I am doing that is obviously
wrong?
Things such as:
(setf cxml:*catalog* (cxml:make-catalog))
(cxml:resolve-extid "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
cxml:*catalog*)
Return NIL, when using the Debian /etc/xml/catalog
I've checked and it's in there under a few lines of delegates, so I
tried making my own:
<?xml version='1.0'?>
<!DOCTYPE catalog PUBLIC "-//GlobalTransCorp//DTD XML Catalogs V1.0-Based Extension V1.0//EN"
"http://globaltranscorp.org/oasis/catalog/xml/tr9401.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
xmlns:soc="urn:oasis:names:tc:entity:xmlns:tr9401:catalog"
xmlns:unk="urn:oasis:names:tc:entity:xmlns:unknown"
>
<group prefer="public">
<public publicId="-//W3C//DTD XHTML 1.1//EN" uri="/usr/share/xml/xhtml/schema/dtd/1.1/xhtml11-flat.dtd"/>
<soc:dtddecl publicId="-//W3C//DTD XHTML 1.1//EN" uri="/usr/share/xml/xhtml/schema/dtd/1.1/xml1.dcl"/>
</group>
</catalog>
Passing that file to cxml:make-catalog and doing the same thing, but
resolve-extid still comes back with NIL.
Thank you very much
More information about the cxml-devel
mailing list