IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Entities in Tamino

    Posted Wed March 28, 2001 08:33 AM

    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


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: Entities in Tamino

    Posted Thu March 29, 2001 10:52 AM

    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.


    #webMethods
    #API-Management
    #Tamino