Hi,

I'm trying to use the org.apache.xml.serializer.HTMLSerializer to output a particular flavour of HTML with the following doctype:
-//W3C//DTD Compact HTML 1.0 Draft //EN


The document I'm trying to render has no doctype defined on it and I'm specifying that DTD in the OutputFormat which I'm using to construct the serializer instance.

The serialized result has the correct doctype definition. However, the document content contains symbolic entity references that are not defined in that DTD. For example ’ which is defined for HTML 4.01

Does anybody have any idea what I might be doing wrong?

Cheers,
Geoff

--
===========================================================
Geoff Waggott <[EMAIL PROTECTED]>
ZergSoft
Tel:   (052) 930-7790
FAX:   (052) 930-7791
email: [EMAIL PROTECTED]
www.zergsoft.com
===========================================================


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to