[XML-SIG] More entity stuff
Dan Libby
danda@netscape.com
Wed, 23 Jun 1999 01:51:14 -0700
This is a multi-part message in MIME format.
--------------AD18C212066C00108106D028
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Okay, so I have a DTD with a bunch of entities copied from the html 3.2
dtd. They look like this:
<!ENTITY cent "¢">
When this is run through xmlproc (xmlval), the entities are ignored.
sort of. If I change "¢" to "hello", then hello gets spit out.
Further, if I change it to "&#162;" then "#162" gets spit out. This
is actually okay with me... I'm just trying to preserve the entity for a
browser's use anyway. However, it seems like a weird DTD.
So my question: Is this a bug in the dtd parser, or is this correct
behavior? If the latter, does my DTD hack seem like the right thing to
do?
thx.
-dan
Alessandro Bottoni wrote:
> unsubscribe
--------------AD18C212066C00108106D028
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:;;;Mountain View;CA;94043;USA
version:2.1
email;internet:danda@netscape.com
x-mozilla-cpt:;0
tel;home:650-964-5913
tel;work:650-937-2276
fn:Dan Libby
end:vcard
--------------AD18C212066C00108106D028--