You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Juan Miguel Bocanegra <ju...@satec.es> on 2000/07/04 17:29:30 UTC

entities: silly question

Hi all,

Forgive if this question has been answered somewhere else, but I cannot seem to write things like &iacute; into a xml file. I get a 'org.xml.sax.SAXParseException: The entity "iacute" was referenced, but not declared.' error. If I write 'í' then the output is wrong and if I try to declare <!ENTITY iacute "í" > in the preamble,  I get malformed xml.

Any hint? Thanks!
JM
_______________________________________
Juan Miguel Bocanegra <ju...@satec.es>
SATEC               http://www.satec.es
Marina 16, 9 D  08005 Barcelona (Spain)
Tlf ++34 93 2256920 Fax ++34 93 2251811


Re: entities: silly question

Posted by Juan Miguel Bocanegra <ju...@satec.es>.
Thanks, It worked. Someone else suggested declaring the entity with <!ENTITY iacute "&#237;"> in the preamble, which feels more comfortable. In case you didn't know.

Do I need these definitions in every document? Or else can I load them from a template?

Thanks again,
JM

*********** REPLY SEPARATOR  ***********

On 04/07/00 at 18:31 Jari Aarniala wrote:

>: The entity "iacute" was referenced, but not declared.
>
>Try &#237;
>
>    Jari
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: cocoon-users-help@xml.apache.org


_______________________________________
Juan Miguel Bocanegra <ju...@satec.es>
SATEC               http://www.satec.es
Marina 16, 9 D  08005 Barcelona (Spain)
Tlf ++34 93 2256920 Fax ++34 93 2251811


Re: entities: silly question

Posted by Jari Aarniala <ja...@ioboxgroup.com>.
: The entity "iacute" was referenced, but not declared.

Try &#237;

    Jari