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
Expand all | Collapse all

Problems with choice and sequence elements...

  • 1.  Problems with choice and sequence elements...

    Posted Tue April 09, 2002 05:08 PM

    X-Application Version: 3.1.2
    Tamino Version…: 3.1.1.3
    Platform…: SuSE Linux 7.1 kernel 2.4.0
    WebContainer…: Tomcat 3.3 (WebDAV’s)
    JDK Version…: 1.3.1_02
    encoding used…: iso-8859-1

    Hi gurus,

    I’ve tried to load a costumer xml document which was using choice element in its structure. I know that TSD has some problem with this kind of element, so I’ve changed to sequence.

    After that, I loaded this structure into Tamino and generated an X-Application from it. However, when I try to load its native data, Tamino stores it as nonXML. Even when I try to load the data included via X-Application with TII, the same error occurred.

    Please, take a look on the document below and on the attachment amd give me a hint.

    Thanks in advance,
    Ito



    <!ATTLIST rss
    version CDATA #REQUIRED>





























































































































    [This message was edited by Fernando Ito on 09 Apr 2002 at 15:46.]
    rss-0.91.xml (66.4 KB)


    #API-Management
    #Tamino
    #webMethods


  • 2.  RE: Problems with choice and sequence elements...

    Posted Tue April 09, 2002 11:11 PM

    If I change the TAGs name <channel> to <channe>, Tamino stores it.<BR>This change do not solve the problem, I do not understand what is happening.<P>Simplifying the document, I tried to store the following XML file in Tamino (without a defined Schema), but Tamino stores it as non-xml file.<P>XML document:<P><?xml version="1.0" encoding="ISO-8859-1" ?><BR><rss version="0.91"><BR><channel><BR> <title>Terra - basquete</title><BR> <link>http://www.terra.com.br/esportes/basquete/noticias.htm</link><BR> <description>Terra - basquete</description><BR> <publisher>Terra</publisher><BR> <language>pt-br</language><BR> <item><BR> <title>15h09 &#187; Filho de Oscar se despede do Fla nesta sexta</title><BR> <link>http://www.terra.com.br/esportes/2002/04/04/105.htm</link><BR> <description><BR>15h09 &#187; <a href="http://www.terra.com.br/esportes/2002/04/04/105.htm" class="texto1link">Filho de Oscar se despede do Fla nesta sexta</a><BR> </description><BR> </item><BR></channel><BR></rss><P>Tamino response:<P><BR> </ino:message><BR> <ino:object ino:collection="ino:etc" ino:doctype="ino:nonXML" ino:id="18" /> <BR> <ino:message ino:returnvalue="0"><BR> <BR> <BR>If I change the TAGs name to , Tamino stores it.

    XML document:

    <?xml version="1.0" encoding="ISO-8859-1" ?>


    Terra - basquete
    ESPORTES
    Terra - basquete
    Terra
    pt-br

    15h09 » Filho de Oscar se despede do Fla nesta sexta
    BASQUETE

    15h09 » Filho de Oscar se despede do Fla nesta sexta



    Tamino response:

    </ino:message>
    <ino:object ino:collection=“ino:etc” ino:doctype=“rss” ino:id=“12” />
    <ino:message ino:returnvalue=“0”>


    #webMethods
    #API-Management
    #Tamino


  • 3.  RE: Problems with choice and sequence elements...

    Posted Wed April 10, 2002 11:18 AM

    even stranger still if the document is modified thus:

    <?xml version="1.0" encoding="iso-8859-1" ?>
    <!DOCTYPE rss [
    <!ENTITY pound "


    #Tamino
    #webMethods
    #API-Management