W3C home > Mailing lists > Public > www-xsl-fo@w3.org > April 2005

Re: ouml was referenced but not declared

From: Jan Algermissen <jalgermissen@topicmapping.com>
Date: Wed, 20 Apr 2005 13:25:03 +0200
Message-ID: <42663C0F.80205@topicmapping.com>
To: torsten krohn | tsdb | the simpsons database <torsten@tsdb.de>
CC: www-xsl-fo@w3.org

torsten krohn | tsdb | the simpsons database wrote:

>Hi!
>
>I use test.xml and test.xsl to produce a pdf. Within xml it's:
>...
><Text>
>bla &amp; bla f&ouml;r bla
></Text>
>...
>
>Error message:
>; SystemID: file:///test.xml Line#: ...
>javax.xml.transform.TransformerException: The entity "ouml" was
>referenced, but not declared.
>
>How can I handle such html special characters? &amp; seems to be okay.
>  
>
Torsten,

&amp; (among some others) is 'built into' XML. All other entities must 
be defined. On way to do this is via an internal DTD subset or by
using an external DTD that defines the entity (in your case HTML).

HTH,

Jan

>Thank you!
>Torsten Krohn
>
>
>
>  
>


-- 
Jan Algermissen
Consultant & Programmer
http://jalgermissen.com
Received on Wednesday, 20 April 2005 11:25:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:13 GMT