[XML-SIG] 2 Qs: encoding & entities with xmlproc
Dan Libby
danda@netscape.com
Mon, 21 Jun 1999 07:09:51 +0000
This is a multi-part message in MIME format.
--------------8CA34653FD46448DBE65918D
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lars Marius Garshol wrote:
> * Dan Libby
> |
> | Is it possible to reference more than one external DTD? If so, how?
> | I'm hoping that it is possible to include an external DTD from
> | within the internal subset.
>
> It is. Or you could do it from the external subset.
>
Yeah, but how? I tried the following with xmlproc:
<?xml version="1.0"?>
<!DOCTYPE test SYSTEM "http://myhost/ver-1.0.dtd" [
<!ENTITY % otherdtd SYSTEM "http://myhost/other.dtd">
%otherdtd;
]>
This always gives me the error:
Illegal construct at 5:3
I tried other variations on the same theme of course, but with similar
results. Both files are in the correct path.
-dan
--------------8CA34653FD46448DBE65918D
Content-Type: text/x-vcard; charset=us-ascii;
name="danda.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Dan Libby
Content-Disposition: attachment;
filename="danda.vcf"
begin:vcard
n:Libby;Dan
x-mozilla-html:TRUE
org:Netscape Communications
adr:;;501 E Middlefield Rd;Mountain View;CA;94043;USA
version:2.1
email;internet:danda@netscape.com
title:Coder Surfer
x-mozilla-cpt:;0
fn:Dan Libby
end:vcard
--------------8CA34653FD46448DBE65918D--