Entities in Tamino

Hello Taminos

Is it possible to store a DTD like that in Tamino (and when how?):

<?xml version="1.0" encoding="UTF-8"?>

The schema editor itself removes the Entity part!
The unsupported schema editor cannot load the dtd.

The only thing I want to store is the following XML-document:

<?xml version="1.0" encoding="UTF-8"?>
©

Thanks for any help
Reto Peter

Technical Consultant, SAG Software Systems AG

If a document contains an entity reference, eg. &copyright; and this document is stored into Tamino, it will be rejected with the error:

:mad: INOXPE8720 Document contains invalid entity reference

This is correct, so the workaround for that is to include an inline DTD into the document being stored that just contains the entity declaration:

<?xml version="1.0"?>
<!DOCTYPE Test [

]>
&copyright;

This works fine. Now another problem :mad: - when Tamino returns the document it does not return any internal DTD. This means the document is no longer well-formed because there is an entity reference that is not defined anywhere. This means that the returning document must be modified to include either an internal DTD or a reference to an external DTD to make it well-formed.